]> 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:53:21 +0000 (15:53 -0800)
commit92f8e00e6e8b1e80568defbf729001cf1ece2c6c
treed09d71127359defd09abd92fff2d7d2d75c05842
parentbbd12188fa94640717deb6b4e6e4abc0b90843e3
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