[PATCH] arm64/cpufeature: Change description for ARM64_HAS_LPA2

Anshuman Khandual anshuman.khandual at arm.com
Tue Sep 15 22:51:41 PDT 2026


ARM64_HAS_LPA2 represents CPU capability detection for FEAT_LPA2 both in S1
and S2, regardless whether KVM gets enabled and uses the same subsequently.
ARM64_HAS_LPA2 in itself is not really anything KVM specific, although the
description suggests otherwise. Drop 'KVM' from the description and update
it appropriately.

Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Ryan Roberts <ryan.roberts at arm.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual at arm.com>
---
This patch applies on v7.2-rc3

 arch/arm64/kernel/cpufeature.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 9a22df0c5120..c63c1050a32d 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -3068,7 +3068,7 @@ static const struct arm64_cpu_capabilities arm64_features[] = {
 		.matches = has_bbml2_noabort,
 	},
 	{
-		.desc = "52-bit Virtual Addressing for KVM (LPA2)",
+		.desc = "52-bit Virtual-Physical Addressing in S1 and S2 (LPA2)",
 		.capability = ARM64_HAS_LPA2,
 		.type = ARM64_CPUCAP_SYSTEM_FEATURE,
 		.matches = has_lpa2,
-- 
2.43.0




More information about the linux-arm-kernel mailing list