diff options
author | Pranavkumar Sawargaonkar <pranavkumar@linaro.org> | 2014-07-31 08:53:23 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-08-29 11:53:26 +0200 |
commit | f6edbbf36da3a27b298b66c7955fc84e1dcca305 (patch) | |
tree | b139fa1469a73dd1e7082aba203d08509101ca2c /Documentation/memory-devices | |
parent | virt/kvm/assigned-dev.c: Set 'dev->irq_source_id' to '-1' after free it (diff) | |
download | linux-f6edbbf36da3a27b298b66c7955fc84e1dcca305.tar.xz linux-f6edbbf36da3a27b298b66c7955fc84e1dcca305.zip |
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: <stable@vger.kernel.org>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'Documentation/memory-devices')
0 files changed, 0 insertions, 0 deletions