[GIT PULL] arm64 fixes for -rc7

From: Will Deacon
Date: Fri Mar 14 2025 - 12:05:09 EST


Hi Linus,

Please pull this pair of arm64 mm fixes for -rc7.

Summary in the tag, but the main one is a horrible macro fix for our
TLB flushing code which resulted in over-invalidation on the MMU
notifier path.

Cheers,

Will

--->8

The following changes since commit eed6bfa8b28230382b797a88569f2c7569a1a419:

arm64: hugetlb: Fix flush_hugetlb_tlb_range() invalidation level (2025-02-27 17:40:58 +0000)

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 f7edb07ad7c66eab3dce57384f33b9799d579133:

Fix mmu notifiers for range-based invalidates (2025-03-11 11:37:43 +0000)

----------------------------------------------------------------
arm64 fixes for -rc7

- Fix population of the vmemmap for regions of memory that are smaller
than a section (128 MiB)

- Fix range-based TLB over-invalidation when invoked via a MMU notifier

----------------------------------------------------------------
Piotr Jaroszynski (1):
Fix mmu notifiers for range-based invalidates

Zhenhua Huang (1):
arm64: mm: Populate vmemmap at the page level if not section aligned

arch/arm64/include/asm/tlbflush.h | 22 ++++++++++++----------
arch/arm64/mm/mmu.c | 5 ++++-
2 files changed, 16 insertions(+), 11 deletions(-)