mirror of
https://github.com/torvalds/linux.git
synced 2026-10-11 21:07:03 +02:00
arm64: Add FEAT_NV2p1 detection
Add the necessary NV2p1 probing to the cpufeature infrastructure. Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://patch.msgid.link/20260730071022.296811-13-maz@kernel.org Signed-off-by: Oliver Upton <oupton@kernel.org>
This commit is contained in:
parent
4eb776d0b9
commit
1f4177ea49
|
|
@ -2620,6 +2620,13 @@ static const struct arm64_cpu_capabilities arm64_features[] = {
|
|||
{ /* Sentinel */ }
|
||||
},
|
||||
},
|
||||
{
|
||||
.desc = "FEAT_NV2p1",
|
||||
.capability = ARM64_HAS_NV2P1,
|
||||
.type = ARM64_CPUCAP_SYSTEM_FEATURE,
|
||||
.matches = has_cpuid_feature,
|
||||
ARM64_CPUID_FIELDS(ID_AA64MMFR4_EL1, NV_frac, NV2P1)
|
||||
},
|
||||
{
|
||||
.capability = ARM64_HAS_32BIT_EL0_DO_NOT_USE,
|
||||
.type = ARM64_CPUCAP_SYSTEM_FEATURE,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user