]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: Restrict Kconfig configuration for LLC coloring
authorLuca Fancellu <luca.fancellu@arm.com>
Wed, 12 Mar 2025 13:52:50 +0000 (13:52 +0000)
committerMichal Orzel <michal.orzel@amd.com>
Thu, 13 Mar 2025 07:29:12 +0000 (08:29 +0100)
Xen LLC coloring feature can be used only on the MMU subsystem,
move the code that selects it from ARM_64 to MMU and add the
ARM_64 dependency.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
xen/arch/arm/Kconfig

index a26d3e11827cfe030d36400e322aa9b65502674c..ffdff1f0a36c302826bb05f83d3eb6b5acfa841e 100644 (file)
@@ -8,7 +8,6 @@ config ARM_64
        depends on !ARM_32
        select 64BIT
        select HAS_FAST_MULTIPLY
-       select HAS_LLC_COLORING if !NUMA
 
 config ARM
        def_bool y
@@ -76,6 +75,7 @@ choice
 
 config MMU
        bool "MMU"
+       select HAS_LLC_COLORING if !NUMA && ARM_64
        select HAS_PMAP
        select HAS_VMAP
        select HAS_PASSTHROUGH