]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: compat: Add condition code checks and IT advance
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 27 Sep 2018 16:15:30 +0000 (17:15 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Oct 2018 12:35:56 +0000 (13:35 +0100)
commit8537f1ada0814285191695cf1c6caf141301f57e
treeaea5488ddfca9c8b559a89052f821663adb612a5
parentcd2a78a58cc1c397ca0adb0a33c0c5131b787b44
arm64: compat: Add condition code checks and IT advance

Here's a /really nice/ part of the architecture: a CP15 access is
allowed to trap even if it fails its condition check, and SW must
handle it. This includes decoding the IT state if this happens in
am IT block. As a consequence, SW must also deal with advancing
the IT state machine.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/traps.c