[GIT PULL] arm64 fixes for -rc1

From: Will Deacon
Date: Thu May 23 2024 - 06:21:22 EST


Hi Linus,

Please pull these arm64 fixes for -rc1. The major fix here is for a
filesystem corruption issue reported on Apple M1 as a result of buggy
management of the floating point register state introduced in 6.8. I
initially reverted one of the offending patches, but in the end Ard
cooked a proper fix so there's a revert+reapply in the series.

Aside from that, we've got some CPU errata workarounds and the rest is
summarised in the tag.

Cheers,

Will

--->8

The following changes since commit 54e1a2aa61a7bf4af2799baf7ab2dc2712844245:

Merge branch 'for-next/tlbi' into for-next/core (2024-05-09 15:56:26 +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 e92bee9f861b466c676f0200be3e46af7bc4ac6b:

arm64/fpsimd: Avoid erroneous elide of user state reload (2024-05-22 12:46:39 +0100)

----------------------------------------------------------------
arm64 fixes for -rc1

- Fix broken FP register state tracking which resulted in filesystem
corruption when dm-crypt is used

- Workarounds for Arm CPU errata affecting the SSBS Spectre mitigation

- Fix lockdep assertion in DMC620 memory controller PMU driver

- Fix alignment of BUG table when CONFIG_DEBUG_BUGVERBOSE is disabled

----------------------------------------------------------------
Ard Biesheuvel (1):
arm64/fpsimd: Avoid erroneous elide of user state reload

Jiangfeng Xiao (1):
arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY

Mark Rutland (4):
arm64: barrier: Restore spec_bar() macro
arm64: cputype: Add Cortex-X4 definitions
arm64: cputype: Add Neoverse-V3 definitions
arm64: errata: Add workaround for Arm errata 3194386 and 3312417

Namhyung Kim (1):
perf/arm-dmc620: Fix lockdep assert in ->event_init()

Will Deacon (3):
Merge branch 'for-next/errata' into for-next/core
Revert "arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD"
Reapply "arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD"

Documentation/arch/arm64/silicon-errata.rst | 4 +++
arch/arm64/Kconfig | 42 +++++++++++++++++++++++++++
arch/arm64/include/asm/asm-bug.h | 1 +
arch/arm64/include/asm/barrier.h | 4 +++
arch/arm64/include/asm/cpucaps.h | 2 ++
arch/arm64/include/asm/cputype.h | 4 +++
arch/arm64/kernel/cpu_errata.c | 19 +++++++++++++
arch/arm64/kernel/cpufeature.c | 8 ++++++
arch/arm64/kernel/fpsimd.c | 44 ++++++++++++++---------------
arch/arm64/kernel/proton-pack.c | 12 ++++++++
arch/arm64/tools/cpucaps | 1 +
drivers/perf/arm_dmc620_pmu.c | 9 ++++--
12 files changed, 125 insertions(+), 25 deletions(-)