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

[xen master] arm: fix Kconfig symbol dependency on arm features



commit 08c6f57cfebad4046dabc05092b4a27c61a39980
Author:     Luca Fancellu <luca.fancellu@xxxxxxx>
AuthorDate: Wed Nov 9 14:04:20 2022 +0000
Commit:     Julien Grall <jgrall@xxxxxxxxxx>
CommitDate: Thu Nov 10 19:04:40 2022 +0000

    arm: fix Kconfig symbol dependency on arm features
    
    The commit 3c2a14ea81c7 is introducing some unsupported arm features
    that by default are disabled and are used for the cpufeature.c code.
    
    As they are disabled by default, a typo in the Kconfig symbol they
    depend on has landed in the codebase unnoticed, instead of depending
    on ARM64 which does not exist, fix the code to depend on ARM_64 that
    is the intended symbol.
    
    Fixes: 3c2a14ea81c7 ("arm: Define kconfig symbols used by arm64 
cpufeatures")
    Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
    Release-acked-by: Henry Wang <Henry.Wang@xxxxxxx>
    Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
---
 xen/arch/arm/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 1fe5faf847..52a05f704d 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -105,28 +105,28 @@ config HARDEN_BRANCH_PREDICTOR
 
 config ARM64_PTR_AUTH
        def_bool n
-       depends on ARM64
+       depends on ARM_64
        help
          Pointer authentication support.
          This feature is not supported in Xen.
 
 config ARM64_SVE
        def_bool n
-       depends on ARM64
+       depends on ARM_64
        help
          Scalar Vector Extension support.
          This feature is not supported in Xen.
 
 config ARM64_MTE
        def_bool n
-       depends on ARM64
+       depends on ARM_64
        help
          Memory Tagging Extension support.
          This feature is not supported in Xen.
 
 config ARM64_BTI
        def_bool n
-       depends on ARM64
+       depends on ARM_64
        help
          Branch Target Identification support.
          This feature is not supported in Xen.
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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