[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] xen/arm32: Allow ARM_PA_BITS_40 only if !MPU



commit 50974cecf43ad89b38a86d092cb8edf9d867f0d6
Author:     Michal Orzel <michal.orzel@xxxxxxx>
AuthorDate: Sun Mar 30 20:03:07 2025 +0200
Commit:     Michal Orzel <michal.orzel@xxxxxxx>
CommitDate: Mon Mar 31 10:30:05 2025 +0200

    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 <michal.orzel@xxxxxxx>
    Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
    Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.