[PATCH] arm64: Revamp HCR_EL2.E2H RES1 detection
Marc Zyngier
maz at kernel.org
Tue Oct 14 01:49:20 PDT 2025
On Thu, 09 Oct 2025 13:12:39 +0100, Marc Zyngier wrote:
> We currently have two ways to identify CPUs that only implement FEAT_VHE
> and not FEAT_E2H0:
>
> - either they advertise it via ID_AA64MMFR4_EL1.E2H0,
> - or the HCR_EL2.E2H bit is RAO/WI
>
> However, there is a third category of "cpus" that fall between these
> two cases: on CPUs that do not implement FEAT_FGT, it is IMPDEF whether
> an access to ID_AA64MMFR4_EL1 can trap to EL2 when the register value
> is zero.
>
> [...]
Applied to fixes, thanks!
[1/1] arm64: Revamp HCR_EL2.E2H RES1 detection
commit: ca88ecdce5f51874a7c151809bd2c936ee0d3805
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list