[GIT PULL] arm64 fixes for 6.7-rc6
From: Catalin Marinas
Date: Fri Dec 15 2023 - 18:47:32 EST
Hi Linus,
Please pull the arm64 fixes below. Thanks.
The following changes since commit f5259997f3e8d6edfcc2daf5b2c0b34f074d7bc0:
arm64: Avoid enabling KPTI unnecessarily (2023-11-30 19:07:33 +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 3c0696076aad60a2f04c019761921954579e1b0e:
arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify (2023-12-12 16:25:26 +0000)
----------------------------------------------------------------
arm64 fixes:
- Arm CMN perf: fix the DTC allocation failure path which can end up
erroneously clearing live counters
- arm64/mm: fix hugetlb handling of the dirty page state leading to a
continuous fault loop in user on hardware without dirty bit management
(DBM). That's caused by the dirty+writeable information not being
properly preserved across a series of mprotect(PROT_NONE),
mprotect(PROT_READ|PROT_WRITE)
----------------------------------------------------------------
James Houghton (1):
arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
Robin Murphy (1):
perf/arm-cmn: Fail DTC counter allocation correctly
arch/arm64/include/asm/pgtable.h | 6 ++++++
drivers/perf/arm-cmn.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
--
Catalin