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
commit 32d6397 upstream. 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. Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information