[GIT PULL] More arm64 updates for -rc1

From: Will Deacon
Date: Thu Oct 22 2020 - 12:19:56 EST


Hi Linus,

Please pull this small selection of arm64 fixes and updates for -rc1. Most
of these are fixes that came in during the merge window, with the exception
of the HAVE_MOVE_PMD mremap() speed-up which we discussed back in 2018 and
somehow forgot to enable upstream [1]. Anyway, usual summary in the tag.

Marc Zyngier managed to get his paws on a Falkor system and offered a
Tested-by on the Spectre-v2 mitigation patch, but it came in after I'd
applied the thing.

Please pull.

Thanks,

Will

[1] https://lore.kernel.org/kvmarm/20181108181201.88826-3-joelaf@xxxxxxxxxx/

--->8

The following changes since commit d13027bb35e089bc1bb9f19c4976decf32a09b97:

Revert "arm64: initialize per-cpu offsets earlier" (2020-10-09 11:24:17 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 66dd3474702aa98d5844367e1577cdad78ef7c65:

arm64: proton-pack: Update comment to reflect new function name (2020-10-21 11:07:27 +0100)

----------------------------------------------------------------
More arm64 updates for 5.10

- Improve performance of Spectre-v2 mitigation on Falkor CPUs (if you're lucky
enough to have one)

- Select HAVE_MOVE_PMD. This has been shown to improve mremap() performance,
which is used heavily by the Android runtime GC, and it seems we forgot to
enable this upstream back in 2018.

- Ensure linker flags are consistent between LLVM and BFD

- Fix stale comment in Spectre mitigation rework

- Fix broken copyright header

- Fix KASLR randomisation of the linear map

- Prevent arm64-specific prctl()s from compat tasks (return -EINVAL)

----------------------------------------------------------------
Ard Biesheuvel (1):
arm64: mm: use single quantity to represent the PA to VA translation

Kalesh Singh (1):
arm64: mremap speedup - Enable HAVE_MOVE_PMD

Nick Desaulniers (1):
arm64: link with -z norelro regardless of CONFIG_RELOCATABLE

Palmer Dabbelt (1):
arm64: Fix a broken copyright header in gen_vdso_offsets.sh

Peter Collingbourne (1):
arm64: reject prctl(PR_PAC_RESET_KEYS) on compat tasks

Stephen Boyd (1):
arm64: proton-pack: Update comment to reflect new function name

Will Deacon (1):
arm64: spectre-v2: Favour CPU-specific mitigation at EL2

arch/arm64/Kconfig | 1 +
arch/arm64/Makefile | 4 +--
arch/arm64/include/asm/memory.h | 5 ++--
arch/arm64/include/asm/pgtable.h | 4 +--
arch/arm64/kernel/fpsimd.c | 4 +--
arch/arm64/kernel/pointer_auth.c | 4 +++
arch/arm64/kernel/proton-pack.c | 40 ++++++++++++++----------------
arch/arm64/kernel/vdso/gen_vdso_offsets.sh | 2 +-
arch/arm64/mm/init.c | 30 ++++++++--------------
9 files changed, 43 insertions(+), 51 deletions(-)