[SRU][N:linux-azure-nvidia][PATCH 1/1] Revert "arm64: mm: Don't remap pgtables for allocate vs populate"
Vinicius Peixoto
vinicius.peixoto at canonical.com
Sat Nov 7 13:41:17 UTC 2026
BugLink: https://bugs.launchpad.net/bugs/2114218
This commit was backported as part of the Grace enablement efforts but
introduces a subtle issue that causes boot hangs on ARM64 instances on
Azure. The upstream 6.6.y tree has actually pulled this commit and then
reverted it in the past (88bdf35f09e2 "Revert "arm64: mm: Don't remap
pgtables for allocate vs populate"") due to the boot failure issue it
introduces.
Signed-off-by: Vinicius Peixoto <vinicius.peixoto at canonical.com>
---
arch/arm64/mm/mmu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c
index 0f5591404160..c86a2dd1adc0 100644
--- a/arch/arm64/mm/mmu.c
+++ b/arch/arm64/mm/mmu.c
@@ -213,6 +213,7 @@ static void alloc_init_cont_pte(pmd_t *pmdp, unsigned long addr,
}
BUG_ON(pmd_bad(pmd));
+ ptep = pte_set_fixmap_offset(pmdp, addr);
do {
pgprot_t __prot = prot;
@@ -296,6 +297,7 @@ static void alloc_init_cont_pmd(pud_t *pudp, unsigned long addr,
}
BUG_ON(pud_bad(pud));
+ pmdp = pmd_set_fixmap_offset(pudp, addr);
do {
pgprot_t __prot = prot;
--
2.53.0
More information about the kernel-team
mailing list