[PATCH] arm64/cpufeature: Change description for ARM64_HAS_LPA2

Anshuman Khandual posted 1 patch 1 week, 1 day ago
arch/arm64/kernel/cpufeature.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] arm64/cpufeature: Change description for ARM64_HAS_LPA2
Posted by Anshuman Khandual 1 week, 1 day ago
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@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@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
Re: [PATCH] arm64/cpufeature: Change description for ARM64_HAS_LPA2
Posted by Catalin Marinas 1 day, 11 hours ago
On Wed, 16 Sep 2026 11:21:41 +0530, Anshuman Khandual wrote:
> 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