# \[PATCH v2 0/2\] arm64: Simplify gas LSE support detection

- From: Catalin Marinas \<catalin.marinas@arm.com\>
- Date: 2020-01-15 11:30:29 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/01/8790270
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/01/8790270/t.md

```text
Version two of the patch series moving the LSE assembler support
detection from Makefile to Kconfig.

Changes since v1 [1]:

- Re-introduce the Makefile warning if the .config contains
  CONFIG_ARM64_USE_LSE_ATOMICS but the assembler does not support the
  feature, disabling CONFIG_ARM64_LSE_ATOMICS.

[1] http://lkml.kernel.org/r/20200109174948.48211-1-catalin.marinas@arm.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                    |  5 +++++
 arch/arm64/Makefile                   | 11 ++++-------
 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, 19 insertions(+), 13 deletions(-)


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
