[GIT PULL] arm64 fixes for 6.1-rc5

From: Catalin Marinas
Date: Fri Nov 11 2022 - 18:08:56 EST


Hi Linus,

Please pull the arm64 fixes below. Thanks.

The following changes since commit 85f1506337f0c79a4955edfeee86a18628e3735f:

arm64: cpufeature: Fix the visibility of compat hwcaps (2022-11-03 18:04:56 +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 acfc35cfcee5df419391671ef1a631f43feee4e3:

arm64/syscall: Include asm/ptrace.h in syscall_wrapper header. (2022-11-09 09:52:25 +0000)

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

- Another fix for rodata=full. Since rodata= is not a simple boolean on
arm64 (accepting 'full' as well), it got inadvertently broken by
changes in the core code. If rodata=on is the default and rodata=off
is passed on the kernel command line, rodata_full is never disabled.

- Fix gcc compiler warning of shifting 0xc0 into bits 31:24 without an
explicit conversion to u32 (triggered by the AMPERE1 MIDR definition).

- Include asm/ptrace.h in asm/syscall_wrapper.h to fix an incomplete
struct pt_regs type causing the BPF verifier to refuse to load a
tracing program which accesses pt_regs.

----------------------------------------------------------------
Ard Biesheuvel (1):
arm64: fix rodata=full again

D Scott Phillips (1):
arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro

Kuniyuki Iwashima (1):
arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.

arch/arm64/include/asm/cputype.h | 2 +-
arch/arm64/include/asm/syscall_wrapper.h | 2 +-
arch/arm64/mm/pageattr.c | 5 +++--
3 files changed, 5 insertions(+), 4 deletions(-)

--
Catalin