mbox series

[v2,0/4] compat vdso cleanups

Message ID 20211019223646.1146945-1-ndesaulniers@google.com (mailing list archive)
Headers show
Series compat vdso cleanups | expand

Message

Nick Desaulniers Oct. 19, 2021, 10:36 p.m. UTC
Four fixes for compat vdso, the first three are related, the fourth is
standalone.

The first three fix a warning observed for `mrproper` targets when
$(CROSS_COMPILE_COMPAT)gcc is not in the $PATH.

The fourth makes is so that CROSS_COMPILE_COMPAT is not necessary to
select COMPAT_VDSO when using clang+lld.

Based on arm64/linux.git/for-next/misc.

Changes v1 -> v2:
* Fix binutils version numbers in 1/4 as per Christian.
* Add new patch 2/4 as per Arnd.
* Rewrite 3/4 to use redirection of stderr to /dev/null, as per
  Masahiro.
* Add parens and update commit message of 4/4 as per Nathan.

Nick Desaulniers (4):
  arm64: vdso32: drop the test for dmb ishld
  arm64: vdso32: drop test for -march=armv8-a
  arm64: vdso32: suppress error message for 'make mrproper'
  arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd

 arch/arm64/Kconfig                           |  3 +-
 arch/arm64/include/asm/vdso/compat_barrier.h |  7 ----
 arch/arm64/kernel/vdso32/Makefile            | 36 +++++---------------
 3 files changed, 10 insertions(+), 36 deletions(-)


base-commit: de56379f21c70196ff18c48790e8e43865893869

Comments

Will Deacon Oct. 21, 2021, 10:05 a.m. UTC | #1
On Tue, 19 Oct 2021 15:36:42 -0700, Nick Desaulniers wrote:
> Four fixes for compat vdso, the first three are related, the fourth is
> standalone.
> 
> The first three fix a warning observed for `mrproper` targets when
> $(CROSS_COMPILE_COMPAT)gcc is not in the $PATH.
> 
> The fourth makes is so that CROSS_COMPILE_COMPAT is not necessary to
> select COMPAT_VDSO when using clang+lld.
> 
> [...]

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

[1/4] arm64: vdso32: drop the test for dmb ishld
      https://git.kernel.org/arm64/c/1907d3ff5a64
[2/4] arm64: vdso32: drop test for -march=armv8-a
      https://git.kernel.org/arm64/c/a517faa902b5
[3/4] arm64: vdso32: suppress error message for 'make mrproper'
      https://git.kernel.org/arm64/c/14831fad73f5
[4/4] arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd
      https://git.kernel.org/arm64/c/3e6f8d1fa184

Cheers,