• Catalin Marinas's avatar
    Revert "arm64: Mark kernel page ranges contiguous" · 667c2759
    Catalin Marinas authored
    This reverts commit 348a65cd.
    
    Incorrect page table manipulation that does not respect the ARM ARM
    recommended break-before-make sequence may lead to TLB conflicts. The
    contiguous PTE patch makes the system even more susceptible to such
    errors by changing the mapping from a single page to a contiguous range
    of pages. An additional TLB invalidation would reduce the risk window,
    however, the correct fix is to switch to a temporary swapper_pg_dir.
    Once the correct workaround is done, the reverted commit will be
    re-applied.
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    Reported-by: default avatarJeremy Linton <jeremy.linton@arm.com>
    667c2759
mmu.c 17.4 KB