[PATCH v1 0/3] Fix bugs for realm guest plus BBML2_NOABORT

From: Ryan Roberts

Date: Mon Mar 23 2026 - 09:12:38 EST


Hi All,

This fixes a couple of bugs in the "large block mappings for linear map when we
have BBML2_NOABORT" feature when used in conjunction with a CCA realm guest.
While investigating I found and fixed some more general issues too. See commit
logs for full explanations.

Applies on top of v7.0-rc4.

Thanks,
Ryan


Ryan Roberts (3):
arm64: mm: Fix rodata=full block mapping support for realm guests
arm64: mm: Handle invalid large leaf mappings correctly
arm64: mm: Remove pmd_sect() and pud_sect()

arch/arm64/include/asm/pgtable.h | 5 ---
arch/arm64/mm/init.c | 9 +++++-
arch/arm64/mm/mmu.c | 53 ++++++++++++++++++++++----------
arch/arm64/mm/pageattr.c | 50 +++++++++++++++++-------------
4 files changed, 72 insertions(+), 45 deletions(-)

--
2.43.0