]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
xen/arm: p2m: Flush for every exit paths in apply_p2m_changes
authorJulien Grall <julien.grall@citrix.com>
Tue, 1 Dec 2015 17:52:09 +0000 (17:52 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 15 Dec 2015 11:58:54 +0000 (11:58 +0000)
commit1ec2fa626f71152031b620bfe2d4941b9016a688
tree4db0c03f3029a170dacedaae2e4da847b6a6e145
parente6f0e099d2c17de47fd86e817b1998db903cab61
xen/arm: p2m: Flush for every exit paths in apply_p2m_changes

Currently, the TLB is not flushed if an error occured while updating the
stage-2 p2m. However, the TLB will contain stale mappings for any entry
updated so far.

To avoid a such situation, flush on every exit path when the variable
"flush" is set.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c