linux/arch/powerpc/kvm
Paul Mackerras 673b189a2e powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode
This uses feature sections to arrange that we always use HSPRG1
as the scratch register in the interrupt entry code rather than
SPRG2 when we're running in hypervisor mode on POWER7.  This will
ensure that we don't trash the guest's SPRG2 when we are running
KVM guests.  To simplify the code, we define GET_SCRATCH0() and
SET_SCRATCH0() macros like the GET_PACA/SET_PACA macros.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-04-20 11:03:23 +10:00
..
44x.c KVM: PPC: allow ppc440gp to pass the compatibility check 2010-10-24 10:52:18 +02:00
44x_emulate.c
44x_tlb.c KVM: PPC: fix compilation of "dump tlbs" debug function 2010-10-24 10:52:17 +02:00
44x_tlb.h
book3s.c KVM: PPC: Fix SPRG get/set for Book3S and BookE 2011-03-17 13:08:25 -03:00
book3s_32_mmu.c KVM: PPC: Put segment registers in shared page 2010-10-24 10:52:11 +02:00
book3s_32_mmu_host.c KVM: PPC: Implement correct SID mapping on Book3s_32 2010-10-24 10:52:15 +02:00
book3s_32_sr.S
book3s_64_mmu.c
book3s_64_mmu_host.c KVM: PPC: Implement correct SID mapping on Book3s_32 2010-10-24 10:52:15 +02:00
book3s_64_slb.S
book3s_emulate.c KVM: PPC: Move BAT handling code into spr handler 2010-10-24 10:52:10 +02:00
book3s_exports.c
book3s_interrupts.S
book3s_mmu_hpte.c
book3s_paired_singles.c Merge branch 'kvm-updates/2.6.37' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-10-24 12:47:25 -07:00
book3s_rmhandlers.S powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
book3s_segment.S powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
booke.c KVM: PPC: Fix SPRG get/set for Book3S and BookE 2011-03-17 13:08:25 -03:00
booke.h KVM: PPC: Implement level interrupts for BookE 2010-10-24 10:52:20 +02:00
booke_emulate.c
booke_interrupts.S KVM: PPC: BookE: Load the lower half of MSR 2010-11-05 14:42:29 -02:00
e500.c KVM: PPC: e500: Call kvm_vcpu_uninit() before kvmppc_e500_tlb_uninit(). 2010-11-05 14:42:28 -02:00
e500_emulate.c
e500_tlb.c KVM: PPC: Fix compile error in e500_tlb.c 2010-10-24 10:52:22 +02:00
e500_tlb.h
emulate.c Merge branch 'kvm-updates/2.6.37' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-10-24 12:47:25 -07:00
fpu.S
Kconfig
Makefile
powerpc.c KVM: Clean up vm creation and release 2011-01-12 11:29:09 +02:00
timing.c KVM: PPC: BookE: fix sleep with interrupts disabled 2010-11-05 14:42:28 -02:00
timing.h
trace.h KVM: PPC: Move slb debugging to tracepoints 2010-10-24 10:52:07 +02:00