[GIT PULL] arm64 fixes for 5.7-rc1

From: Catalin Marinas
Date: Thu Apr 09 2020 - 12:50:56 EST


Hi Linus,

Please pull the arm64 fixes below (on top of the previous pull request
for 5.7-rc1). Thanks.

The following changes since commit b2a84de2a2deb76a6a51609845341f508c518c03:

mm/mremap: Add comment explaining the untagging behaviour of mremap() (2020-03-26 11:28:57 +0000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes

for you to fetch changes up to fc2266011accd5aeb8ebc335c381991f20e26e33:

arm64: armv8_deprecated: Fix undef_hook mask for thumb setend (2020-04-08 18:19:20 +0100)

----------------------------------------------------------------
arm64 fixes:

- Ensure that the compiler and linker versions are aligned so that ld
doesn't complain about not understanding a .note.gnu.property section
(emitted when pointer authentication is enabled).

- Force -mbranch-protection=none when the feature is not enabled, in
case a compiler may choose a different default value.

- Remove CONFIG_DEBUG_ALIGN_RODATA. It was never in defconfig and rarely
enabled.

- Fix checking 16-bit Thumb-2 instructions checking mask in the
emulation of the SETEND instruction (it could match the bottom half of
a 32-bit Thumb-2 instruction).

----------------------------------------------------------------
Amit Daniel Kachhap (2):
init/kconfig: Add LD_VERSION Kconfig
arm64: Kconfig: ptrauth: Add binutils version check to fix mismatch

Ard Biesheuvel (1):
arm64: remove CONFIG_DEBUG_ALIGN_RODATA feature

Fredrik Strupe (1):
arm64: armv8_deprecated: Fix undef_hook mask for thumb setend

Mark Brown (1):
arm64: Always force a branch protection mode when the compiler has one

arch/arm64/Kconfig | 5 ++++-
arch/arm64/Kconfig.debug | 13 -------------
arch/arm64/Makefile | 7 ++++++-
arch/arm64/include/asm/memory.h | 12 +-----------
arch/arm64/kernel/armv8_deprecated.c | 2 +-
drivers/firmware/efi/libstub/arm64-stub.c | 8 +++-----
init/Kconfig | 4 ++++
7 files changed, 19 insertions(+), 32 deletions(-)

--
Catalin