[RFC PATCH v4 16/18] arm64: Drop BBML3 requirement for HVO
From: James Houghton
Date: Tue Dec 01 2026 - 10:09:38 EST
With PMD updates being done with the Access Flag trick, BBML3 is no
longer needed.
Dropping this requirement vastly widens the pool of systems this
optimization is valid for.
Signed-off-by: James Houghton <jthoughton@xxxxxxxxxx>
---
arch/arm64/kernel/cpufeature.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 5259c620c0ac..73b5f0130b38 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -2076,12 +2076,10 @@ static bool has_bbm_through_af(const struct arm64_cpu_capabilities *caps, int sc
}
/*
- * We need BBML3 to support Block -> Table transitions without taking
- * faults, and we need HW AF support to support changing the OA without
- * taking faults. Both are properties of the local CPU (BBML3 support
- * may only be known from its MIDR), so this is checked on every CPU.
+ * We need HW AF support to support changing the vmemmap mapping level
+ * and OA without taking faults. This is checked on every CPU.
*/
- return cpu_supports_bbml3() && has_cpuid_feature(caps, scope);
+ return has_cpuid_feature(caps, scope);
}
static void cpu_enable_pan(const struct arm64_cpu_capabilities *__unused)
--
2.56.1.839.g22a8290db9-goog