Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: mm: ensure that the zero page is visible to the page table walker
In paging_init, we allocate the zero page, memset it to zero and then point TTBR0 to it in order to avoid speculative fetches through the identity mapping. In order to guarantee that the freshly zeroed page is indeed visible to the page table walker, we need to execute a dsb instruction prior to writing the TTBR. Cc: <[email protected]> # v3.14+, for older kernels need to drop the 'ishst' Signed-off-by: Will Deacon <[email protected]>
- Loading branch information