arm64/Kconfig: Sort the RCpc feature under the ARMv8.3 features menu
authorZeng Heng <zengheng4@huawei.com>
Thu, 27 Jul 2023 02:03:24 +0000 (10:03 +0800)
committerWill Deacon <will@kernel.org>
Thu, 27 Jul 2023 16:04:07 +0000 (17:04 +0100)
Moving LDAPR detective config under the ARMv8.3 menu would be more
reasonable than under ARMv8.1, since this feature was released together
with the ARMv8.3 features list.

Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20230727020324.2149960-1-zengheng4@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig

index a2511b30d0f676b5c70f4b98a78ea024ce79de19..29db061db9bb0260ba9c28ac15ad95e284ebeb03 100644 (file)
@@ -1793,9 +1793,6 @@ config ARM64_PAN
          The feature is detected at runtime, and will remain as a 'nop'
          instruction if the cpu does not implement the feature.
 
-config AS_HAS_LDAPR
-       def_bool $(as-instr,.arch_extension rcpc)
-
 config AS_HAS_LSE_ATOMICS
        def_bool $(as-instr,.arch_extension lse)
 
@@ -1933,6 +1930,9 @@ config AS_HAS_ARMV8_3
 config AS_HAS_CFI_NEGATE_RA_STATE
        def_bool $(as-instr,.cfi_startproc\n.cfi_negate_ra_state\n.cfi_endproc\n)
 
+config AS_HAS_LDAPR
+       def_bool $(as-instr,.arch_extension rcpc)
+
 endmenu # "ARMv8.3 architectural features"
 
 menu "ARMv8.4 architectural features"