summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-02-12 17:47:36 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-02-12 20:42:52 +0300
commit3673d01a2f555603cbf756874c7388b76bfbc967 (patch)
treec904aeb149d9cc4d1a574169abdafe8905d63849 /lib/memory-notifier-error-inject.c
parent87b8cf2387c5ee79576988b2e72b84eeb92c57ec (diff)
downloadlinux-3673d01a2f555603cbf756874c7388b76bfbc967.tar.xz
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> Link: https://lore.kernel.org/r/20240212144736.1933112-3-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions