commit | 5fcdb6eee7674fbc015afcfe8b912d960c817bcf | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Mon Feb 12 14:28:28 2024 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Mon Feb 12 14:39:49 2024 +0000 |
tree | badec336c1bbac867c7a0b447133a6ec48e9d4ba | |
parent | 91903ed9421281a247cca57ca30c46a12b714468 [diff] |
arm64: cpufeatures: Only check for NV1 if NV is present We handle ID_AA64MMFR4_EL1.E2H0 being 0 as NV1 being present. However, this is only true if FEAT_NV is implemented. Add the required check to has_nv1(), avoiding spuriously advertising NV1 on HW that doesn't have NV at all. Fixes: da9af5071b25 ("arm64: cpufeature: Detect HCR_EL2.NV1 being RES0") Signed-off-by: Marc Zyngier <maz@kernel.org>