mirror-linux/arch/arm64/mm
Ard Biesheuvel 3648027de1 arm64: Fix 5-level paging support in kexec/hibernate trampoline
Add the missing code to allocate P4D level page tables when cloning the
the kernel page tables. This fixes a crash that may be observed when
attempting to resume from hibernation on an LPA2 capable system with 4k
pages, which therefore uses 5 levels of paging.

Presumably, kexec is equally affected.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250110175145.785702-2-ardb+git@google.com
Signed-off-by: Will Deacon <will@kernel.org>
2025-02-04 12:23:09 +00:00
..
Makefile arm64/gcs: Context switch GCS state for EL0 2024-10-04 12:04:38 +01:00
cache.S
context.c arm64: Ensure bits ASID[15:8] are masked out when the kernel uses 8-bit ASIDs 2024-12-05 11:24:38 +00:00
contpte.c mm: arm64: document why pte is not advanced in contpte_ptep_set_access_flags() 2024-09-06 12:28:33 +01:00
copypage.c arm64: mte: Fix copy_highpage() warning on hugetlb folios 2024-12-05 11:25:44 +00:00
dma-mapping.c arm64: Properly clean up iommu-dma remnants 2024-05-10 09:04:25 +02:00
extable.c
fault.c - The series "zram: optimal post-processing target selection" from 2024-11-23 09:58:07 -08:00
fixmap.c arm64: Add support for FEAT_HAFT 2024-11-05 13:18:35 +00:00
flush.c arm64: implement the new page table range API 2023-08-24 16:20:20 -07:00
gcs.c arm64/mm: Implement map_shadow_stack() 2024-10-04 12:04:40 +01:00
hugetlbpage.c arm64/mm: Ensure adequate HUGE_MAX_HSTATE 2024-12-10 11:34:25 +00:00
init.c arm64/mm: Override PARange for !LPA2 and use it consistently 2024-12-19 17:23:52 +00:00
ioremap.c arm64: mm: Add confidential computing hook to ioremap_prot() 2024-08-30 16:30:41 +01:00
kasan_init.c - Sumanth Korikkar has taught s390 to allocate hotplug-time page frames 2024-03-14 17:43:30 -07:00
mem_encrypt.c arm64: mm: Add top-level dispatcher for internal mem_encrypt API 2024-08-30 16:30:41 +01:00
mmap.c arm64/mm: Map pages for guarded control stack 2024-10-04 12:04:36 +01:00
mmu.c arm64: mm: Test for pmd_sect() in vmemmap_check_pmd() 2025-01-07 16:51:42 +00:00
mteswap.c arm64: mm: swap: support THP_SWAP on hardware with MTE 2024-04-25 20:56:07 -07:00
pageattr.c - The series "zram: optimal post-processing target selection" from 2024-11-23 09:58:07 -08:00
pgd.c asm-generic: pgalloc: provide generic __pgd_{alloc,free} 2025-01-25 20:22:24 -08:00
physaddr.c
proc.S arm64/sysreg: Get rid of the TCR2_EL1x SysregFields 2024-12-19 18:00:58 +00:00
ptdump.c arm64/ptdump: Test both PTE_TABLE_BIT and PTE_VALID for block mappings 2024-11-05 11:56:29 +00:00
ptdump_debugfs.c
trans_pgd-asm.S
trans_pgd.c arm64: Fix 5-level paging support in kexec/hibernate trampoline 2025-02-04 12:23:09 +00:00