arm64: Expand ESR_ELx_WFx_ISS_TI to match its ARMv8.7 definition
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 18:27:46 +0000 (19:27 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 20 Apr 2022 12:00:34 +0000 (13:00 +0100)
commit6a437208cb942a2dd98f7e1c3fd347ed3d425ffc
tree4f3c30bbb565ec0589f19b9a8f275733450724e8
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
arm64: Expand ESR_ELx_WFx_ISS_TI to match its ARMv8.7 definition

Starting with FEAT_WFXT in ARMv8.7, the TI field in the ISS
that is reported on a WFx trap is expanded by one bit to
allow the description of WFET and WFIT.

Special care is taken to exclude the WFxT bit from the mask
used to match WFI so that it also matches WFIT when trapped from
EL0.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220419182755.601427-2-maz@kernel.org
arch/arm64/include/asm/esr.h