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

[xen staging] xen/mmu: enable SMMU subsystem only in MMU



commit d39a92aefe54c557b964bdf91b39e54e8409ccf2
Author:     Penny Zheng <Penny.Zheng@xxxxxxx>
AuthorDate: Wed Dec 4 17:22:43 2024 +0000
Commit:     Julien Grall <jgrall@xxxxxxxxxx>
CommitDate: Fri Dec 6 19:06:27 2024 +0000

    xen/mmu: enable SMMU subsystem only in MMU
    
    In Xen, SMMU subsystem is supported for MMU system only. The reason being 
SMMU
    driver uses the same page tables as MMU.
    Thus, we make it dependent on CONFIG_MMU.
    
    Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
    Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
    Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
---
 xen/arch/arm/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 23bbc91aad..604aba4996 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -15,9 +15,7 @@ config ARM
        select GENERIC_UART_INIT
        select HAS_ALTERNATIVE if HAS_VMAP
        select HAS_DEVICE_TREE
-       select HAS_PASSTHROUGH
        select HAS_UBSAN
-       select IOMMU_FORCE_PT_SHARE
 
 config ARCH_DEFCONFIG
        string
@@ -79,6 +77,8 @@ config MMU
        bool "MMU"
        select HAS_PMAP
        select HAS_VMAP
+       select HAS_PASSTHROUGH
+       select IOMMU_FORCE_PT_SHARE
        help
          Select it if you plan to run Xen on A-profile Armv7+
 
--
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®.