From 50974cecf43ad89b38a86d092cb8edf9d867f0d6 Mon Sep 17 00:00:00 2001 From: Michal Orzel Date: Sun, 30 Mar 2025 20:03:07 +0200 Subject: [PATCH] xen/arm32: Allow ARM_PA_BITS_40 only if !MPU ArmV8-R AArch32 does not support LPAE. The reason being PMSAv8-32 supports 32-bit physical address only. Signed-off-by: Michal Orzel Signed-off-by: Ayan Kumar Halder Acked-by: Julien Grall --- xen/arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig index ffdff1f0a3..466b7db63c 100644 --- a/xen/arch/arm/Kconfig +++ b/xen/arch/arm/Kconfig @@ -58,7 +58,7 @@ config ARM_PA_BITS_32 config ARM_PA_BITS_40 bool "40-bit" - depends on ARM_32 + depends on ARM_32 && !MPU endchoice config PADDR_BITS -- 2.39.5