mbox series

[0/2] arm64: Simplify gas LSE support detection

Message ID 20200109174948.48211-1-catalin.marinas@arm.com (mailing list archive)
Headers show
Series arm64: Simplify gas LSE support detection | expand

Message

Catalin Marinas Jan. 9, 2020, 5:49 p.m. UTC
The first patch was developed as part the of the MTE support [1] and
acked by the kbuild maintainers [2].

The second patch removes the Makefile logic to define CONFIG_AS_LSE
since the $(as-instr) check can now be handled in Kconfig.

[1] https://lore.kernel.org/linux-arm-kernel/20191211184027.20130-3-catalin.marinas@arm.com/
[2] https://lore.kernel.org/linux-arm-kernel/CAK7LNARR=DjdnZdu=L+0H8ALr4XJNpVbcRTOz_sVZdZpcM0pdQ@mail.gmail.com/

Catalin Marinas (2):
  kbuild: Add support for 'as-instr' to be used in Kconfig files
  arm64: Move the LSE gas support detection to Kconfig

 arch/arm64/Kconfig                    |  4 ++++
 arch/arm64/Makefile                   | 13 ++-----------
 arch/arm64/include/asm/atomic_ll_sc.h |  2 +-
 arch/arm64/include/asm/lse.h          |  6 +++---
 arch/arm64/kernel/cpufeature.c        |  4 ++--
 scripts/Kconfig.include               |  4 ++++
 6 files changed, 16 insertions(+), 17 deletions(-)