Revert "arm64: Mark kernel page ranges contiguous"
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 26 Nov 2015 15:42:41 +0000 (15:42 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 26 Nov 2015 15:42:41 +0000 (15:42 +0000)
commit667c27597ca823f20c524bbd486c6709f905673b
tree31c7925b3532fe99303ce1172547909803ee25a1
parent0ebea8088095f1c18c1d1de284ccc4c479ca21c1
Revert "arm64: Mark kernel page ranges contiguous"

This reverts commit 348a65cdcbbf243073ee39d1f7d4413081ad7eab.

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: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Jeremy Linton <jeremy.linton@arm.com>
arch/arm64/mm/mmu.c