alistair23-linux/arch/arm/kvm
Christoffer Dall 94f8e6418d KVM: ARM: Handle guest faults in KVM
Handles the guest faults in KVM by mapping in corresponding user pages
in the 2nd stage page tables.

We invalidate the instruction cache by MVA whenever we map a page to the
guest (no, we cannot only do it when we have an iabt because the guest
may happily read/write a page before hitting the icache) if the hardware
uses VIPT or PIPT.  In the latter case, we can invalidate only that
physical page.  In the first case, all bets are off and we simply must
invalidate the whole affair.  Not that VIVT icaches are tagged with
vmids, and we are out of the woods on that one.  Alexander Graf was nice
enough to remind us of this massive pain.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
2013-01-23 13:29:16 -05:00
..
arm.c KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
coproc.c KVM: ARM: VFP userspace interface 2013-01-23 13:29:15 -05:00
coproc.h KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
coproc_a15.c KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
emulate.c KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
guest.c KVM: ARM: User space API for getting/setting co-proc registers 2013-01-23 13:29:14 -05:00
init.S
interrupts.S KVM: ARM: World-switch implementation 2013-01-23 13:29:12 -05:00
interrupts_head.S KVM: ARM: World-switch implementation 2013-01-23 13:29:12 -05:00
Kconfig KVM: ARM: Memory virtualization setup 2013-01-23 13:29:11 -05:00
Makefile KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
mmu.c KVM: ARM: Handle guest faults in KVM 2013-01-23 13:29:16 -05:00
reset.c
trace.h KVM: ARM: Handle guest faults in KVM 2013-01-23 13:29:16 -05:00