2023-07-27 02:22:49

by Zeng Heng

[permalink] [raw]
Subject: [PATCH] arm64/Kconfig: Sort the RCpc feature under the ARMv8.3 features menu

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 <[email protected]>
---
arch/arm64/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 343e1e1cae10..601602add6d3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1765,9 +1765,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)

@@ -1905,6 +1902,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"
--
2.25.1



2023-07-27 16:38:39

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] arm64/Kconfig: Sort the RCpc feature under the ARMv8.3 features menu

On Thu, 27 Jul 2023 10:03:24 +0800, Zeng Heng wrote:
> 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.
>
>

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/Kconfig: Sort the RCpc feature under the ARMv8.3 features menu
https://git.kernel.org/arm64/c/64a0b90a3c1e

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev