]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ad7a3e4668a6f4d15fd9cd734abfa97427f543d
tree31c7925b3532fe99303ce1172547909803ee25a1
parent75eadbca46f1adaa1d5d8efc99ac8e8cc9dfd510
Revert "arm64: Mark kernel page ranges contiguous"

This reverts commit 6103d2f860c5c3877726c2059bfd6ef1eabdd68f.

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