[GIT PULL] arm64 fixes/updates for 5.13-rc2
From: Catalin Marinas
Date: Fri May 14 2021 - 13:29:12 EST
Hi Linus,
Please pull the arm64 updates below. Thanks.
The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:
Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)
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 588a513d34257fdde95a9f0df0202e31998e85c6:
arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() (2021-05-14 17:11:16 +0100)
----------------------------------------------------------------
arm64 fixes and cpucaps.h automatic generation:
- Generate cpucaps.h at build time rather than carrying lots of
#defines. Merged at -rc1 to avoid some conflicts during the merging
window.
- Initialise RGSR_EL1.SEED in __cpu_setup() as it may be left as 0 out
of reset and the IRG instruction would not function as expected if
only the architected pseudorandom number generator is implemented.
- Fix potential race condition in __sync_icache_dcache() where the
PG_dcache_clean page flag is set before the actual cache maintenance.
- Fix header include in BTI kselftests.
----------------------------------------------------------------
Catalin Marinas (1):
arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache()
Mark Brown (3):
arm64: Generate cpucaps.h
kselftest/arm64: Add missing stddef.h include to BTI tests
arm64: tools: Add __ASM_CPUCAPS_H to the endif in cpucaps.h
Peter Collingbourne (1):
arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup
arch/arm64/Makefile | 3 ++
arch/arm64/include/asm/Kbuild | 2 +
arch/arm64/include/asm/cpucaps.h | 74 --------------------------------
arch/arm64/mm/flush.c | 4 +-
arch/arm64/mm/proc.S | 12 ++++++
arch/arm64/tools/Makefile | 22 ++++++++++
arch/arm64/tools/cpucaps | 65 ++++++++++++++++++++++++++++
arch/arm64/tools/gen-cpucaps.awk | 40 +++++++++++++++++
tools/testing/selftests/arm64/bti/test.c | 1 +
9 files changed, 148 insertions(+), 75 deletions(-)
delete mode 100644 arch/arm64/include/asm/cpucaps.h
create mode 100644 arch/arm64/tools/Makefile
create mode 100644 arch/arm64/tools/cpucaps
create mode 100755 arch/arm64/tools/gen-cpucaps.awk
--
Catalin