From: Pranavkumar Sawargaonkar Date: Thu, 31 Jul 2014 06:53:23 +0000 (+0530) Subject: ARM/ARM64: KVM: Nuke Hyp-mode tlbs before enabling MMU X-Git-Tag: fixes-v3.17-rc4~13^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6edbbf36da3a27b298b66c7955fc84e1dcca305;p=pandora-kernel.git 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: Tested-by: Mark Rutland Reviewed-by: Marc Zyngier Signed-off-by: Pranavkumar Sawargaonkar Signed-off-by: Anup Patel Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed