arm64: mm: allow enforcing of strict break-before-make for page tables
The ARM ARM strongly recommends using break-before-make when updating page table entries in the following circumstances: * A change of the memory type. * A change of the cacheability attributes. * A change of the output address (OA), if the OA of at least one of the old translation table entry and the new translation table entry is writable. This patch adds a debug option to the kernel so that we can detect break-before-make violations in set_pte and print a warning. Change-Id: I038fd175d880355419b0795bf9967efea767e681 Git-commit: 07eea9d556ab76995119f0d034cf5f8280be278f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git Signed-off-by:Will Deacon <will.deacon@arm.com> Signed-off-by:
Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Loading
Please register or sign in to comment