[GIT PULL] arm64 fixes for -rc5

From: Will Deacon
Date: Sun Sep 11 2022 - 07:37:37 EST


Hi Linus,

When you get a moment, please can you pull these three small arm64 fixes?
They're all related to optional architecture extensions: BTI, SME and
52-bit virtual addressing.

Summary in the tag.

Cheers,

Will

--->8

The following changes since commit 5fbc49cef91916140a305f22f7430e9a7ea0c6b4:

arm64: mm: Reserve enough pages for the initial ID map (2022-09-01 12:02:39 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 3fe3fd5f30720b4afd3345cc186808125e7f5848:

arm64: mm: fix resume for 52-bit enabled builds (2022-09-10 14:46:28 +0100)

----------------------------------------------------------------
arm64 fixes for -rc5

- Disable in-kernel BTI when compiling with GCC, as it makes invalid
assumptions about the distance between functions which has led to
crashes when calling modules on a CPU with BTI support.

- Remove bogus TIF_SME flag management if memory allocation fails in the
ptrace code.

- Fix the resume path when configured for 52-bit virtual addressing.

----------------------------------------------------------------
Joey Gouly (1):
arm64: mm: fix resume for 52-bit enabled builds

Mark Brown (2):
arm64/bti: Disable in kernel BTI when cross section thunks are broken
arm64/ptrace: Don't clear calling process' TIF_SME on OOM

arch/arm64/Kconfig | 2 ++
arch/arm64/kernel/ptrace.c | 2 --
arch/arm64/kernel/sleep.S | 3 +++
3 files changed, 5 insertions(+), 2 deletions(-)