Skip to contentSkip to conversation

arm64/cpufeature: Change description for ARM64_HAS_LPA2

PATCH Applied Anshuman Khandual 2 participants 2 messages Sep 16 – Sep 23 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64/cpufeature: Change description for ARM64_HAS_LPA2

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.

---
This patch applies on v7.2-rc3

 arch/arm64/kernel/cpufeature.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/cpufeature.c +1 -1
index 9a22df0c5120..c63c1050a32d 100644
@@ -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,
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Anshuman Khandual

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.

[...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/cpufeature: Change description for ARM64_HAS_LPA2

      https://git.kernel.org/arm64/c/9d9523b6cf42