]> 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)
commitd0d24b0520e7ec2f6446b40aa187136b4cc22025
treeaea5488ddfca9c8b559a89052f821663adb612a5
parent2d40fa814c252fc038dc50301cbaf33c61bc4602
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