linux/arch/powerpc/kvm
Alexander Graf 0737279427 KVM: PPC: Add generic segment switching code
This is the code that will later be used instead of book3s_64_slb.S. It
does the last step of guest entry and the first generic steps of guest
exiting, once we have determined the interrupt is a KVM interrupt.

It also reads the last used instruction from the guest virtual address
space if necessary, to speed up that path.

The new thing about this file is that it makes use of generic long load
and store functions and calls a macro to fill in the actual segment
switching code. That still needs to be done differently for book3s_32 and
book3s_64.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-05-17 12:18:18 +03:00
..
44x.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
44x_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
44x_tlb.c KVM: PPC: Add helpers for CR, XER 2010-03-01 12:35:47 -03:00
44x_tlb.h KVM: ppc: rename 44x MMU functions used in booke.c 2009-03-24 11:02:56 +02:00
Kconfig Merge branch 'kvm-updates/2.6.34' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-03-05 13:12:34 -08:00
Makefile KVM: PPC: Name generic 64-bit code generic 2010-05-17 12:18:14 +03:00
book3s.c KVM: PPC: Disable MSR_FEx for Cell hosts 2010-05-17 12:17:21 +03:00
book3s_32_mmu.c KVM: PPC: Book3S_32 guest MMU fixes 2010-05-17 12:16:54 +03:00
book3s_32_mmu_host.c KVM: PPC: Add host MMU Support 2010-05-17 12:18:15 +03:00
book3s_32_sr.S KVM: PPC: Add SR swapping code 2010-05-17 12:18:17 +03:00
book3s_64_mmu.c KVM: PPC: Make large pages work 2010-03-01 12:35:50 -03:00
book3s_64_mmu_host.c KVM: PPC: Add check if pte was mapped secondary 2010-05-17 12:17:17 +03:00
book3s_64_slb.S KVM: PPC: Make XER load 32 bit 2010-05-17 12:17:04 +03:00
book3s_emulate.c KVM: PPC: Name generic 64-bit code generic 2010-05-17 12:18:14 +03:00
book3s_exports.c KVM: PPC: Name generic 64-bit code generic 2010-05-17 12:18:14 +03:00
book3s_interrupts.S KVM: PPC: Name generic 64-bit code generic 2010-05-17 12:18:14 +03:00
book3s_paired_singles.c KVM: PPC: Implement Paired Single emulation 2010-04-25 12:35:27 +03:00
book3s_rmhandlers.S KVM: PPC: Name generic 64-bit code generic 2010-05-17 12:18:14 +03:00
book3s_segment.S KVM: PPC: Add generic segment switching code 2010-05-17 12:18:18 +03:00
booke.c KVM: PPC: Add dequeue for external on BookE 2010-05-17 12:17:32 +03:00
booke.h KVM: ppc: Add extra E500 exceptions 2009-03-24 11:02:59 +02:00
booke_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
booke_interrupts.S powerpc: Use names rather than numbers for SPRGs (v2) 2009-08-20 10:12:27 +10:00
e500.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
e500_emulate.c KVM: PPC E500: fix tlbcfg emulation 2010-03-01 12:36:06 -03:00
e500_tlb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
e500_tlb.h KVM: ppc: e500: Move to Book-3e MMU definitions 2009-09-10 08:32:47 +03:00
emulate.c KVM: PPC: Implement emulation for lbzux and lhax 2010-05-17 12:17:06 +03:00
fpu.S KVM: PPC: Add helpers to call FPU instructions 2010-04-25 12:35:15 +03:00
powerpc.c KVM: PPC: Only use QPRs when available 2010-05-17 12:17:24 +03:00
timing.c powerpc/kvm: Fix non-modular build 2009-11-05 17:17:12 +11:00
timing.h KVM: powerpc: Fix BUILD_BUG_ON condition 2009-12-03 09:32:22 +02:00
trace.h Fix trace.h 2009-11-05 16:50:27 +11:00