]> xenbits.xensource.com Git - xen.git/commit
xen/arm: Flush TLBs before turning on the MMU to avoid stale entries
authorJulien Grall <julien.grall@arm.com>
Tue, 27 Feb 2018 11:15:57 +0000 (11:15 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 2 Mar 2018 23:56:40 +0000 (15:56 -0800)
commitcf03d32726e4bca7b6160f920b4218d330c4fc2b
treed8b4486f875f696f719d1cf8dcbf1ff9dc6c60dc
parent525c3816e244700d459ee0aad8cb79ce13c64f26
xen/arm: Flush TLBs before turning on the MMU to avoid stale entries

We don't know what is the state of the TLBs when booting Xen. To avoid
stale entries, it is necessary to flush the TLBs before turning on the
MMU.

Reported-by: Iain Hunter <iain@hunterembedded.co.uk>
Signed-off-by: Julien Grall <julien.gralL@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 1c473c42199a8f4d70533c202e1c57ecd1dad35b)
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S