diff options
author | Pranavkumar Sawargaonkar <[email protected]> | 2014-07-31 12:23:23 +0530 |
---|---|---|
committer | Christoffer Dall <[email protected]> | 2014-08-29 11:53:26 +0200 |
commit | f6edbbf36da3a27b298b66c7955fc84e1dcca305 (patch) | |
tree | b139fa1469a73dd1e7082aba203d08509101ca2c /net/lapb/lapb_subr.c | |
parent | 30d1e0e806e5b2fadc297ba78f2d7afd6ba309cf (diff) |
ARM/ARM64: KVM: Nuke Hyp-mode tlbs before enabling MMU
X-Gene u-boot runs in EL2 mode with MMU enabled hence we might
have stale EL2 tlb enteris when we enable EL2 MMU on each host CPU.
This can happen on any ARM/ARM64 board running bootloader in
Hyp-mode (or EL2-mode) with MMU enabled.
This patch ensures that we flush all Hyp-mode (or EL2-mode) TLBs
on each host CPU before enabling Hyp-mode (or EL2-mode) MMU.
Cc: <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Signed-off-by: Pranavkumar Sawargaonkar <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions