]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d823be9fc856312a3ce12110c47a0225bbbd8d8
tree4f3c30bbb565ec0589f19b9a8f275733450724e8
parentc02c8228f39a35a18b7da5bed4327a96bdd1c782
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