linux/arch/powerpc/kvm
Scott Wood ecee273fc4 KVM: PPC: booke: use shadow_msr
Keep the guest MSR and the guest-mode true MSR separate, rather than
modifying the guest MSR on each guest entry to produce a true MSR.

Any bits which should be modified based on guest MSR must be explicitly
propagated from vcpu->arch.shared->msr to vcpu->arch.shadow_msr in
kvmppc_set_msr().

While we're modifying the guest entry code, reorder a few instructions
to bury some load latencies.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-07-12 13:16:32 +03:00
..
44x_emulate.c KVM: PPC: fix exit accounting for SPRs, tlbwe, tlbsx 2011-05-22 08:47:47 -04:00
44x_tlb.c KVM: PPC: fix compilation of "dump tlbs" debug function 2010-10-24 10:52:17 +02:00
44x_tlb.h KVM: ppc: rename 44x MMU functions used in booke.c 2009-03-24 11:02:56 +02:00
44x.c KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04: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_mmu.c KVM: PPC: Put segment registers in shared page 2010-10-24 10:52:11 +02:00
book3s_32_sr.S KVM: PPC: Add SR swapping code 2010-05-17 12:18:17 +03:00
book3s_64_mmu_host.c KVM: PPC: Implement correct SID mapping on Book3s_32 2010-10-24 10:52:15 +02:00
book3s_64_mmu.c KVM: PPC: Magic Page Book3s support 2010-10-24 10:50:48 +02:00
book3s_64_slb.S KVM: PPC: Make SLB switching code the new segment framework 2010-05-17 12:18:38 +03:00
book3s_emulate.c KVM: PPC: Move BAT handling code into spr handler 2010-10-24 10:52:10 +02:00
book3s_exports.c KVM: PPC: Resolve real-mode handlers through function exports 2011-07-12 13:16:29 +03:00
book3s_interrupts.S KVM: PPC: Make Performance Counters work 2010-05-17 12:18:57 +03:00
book3s_mmu_hpte.c KVM: PPC: Make invalidation code more reliable 2010-10-24 10:52:06 +02:00
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 KVM: PPC: Resolve real-mode handlers through function exports 2011-07-12 13:16:29 +03:00
book3s_segment.S powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
book3s.c KVM: PPC: Resolve real-mode handlers through function exports 2011-07-12 13:16:29 +03:00
booke_emulate.c KVM: PPC: Convert SRR0 and SRR1 to shared page 2010-10-24 10:50:45 +02:00
booke_interrupts.S KVM: PPC: booke: use shadow_msr 2011-07-12 13:16:32 +03:00
booke.c KVM: PPC: booke: use shadow_msr 2011-07-12 13:16:32 +03:00
booke.h KVM: PPC: Implement level interrupts for BookE 2010-10-24 10:52:20 +02:00
e500_emulate.c KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04:00
e500_tlb.c KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04:00
e500_tlb.h KVM: PPC: Convert MSR to shared page 2010-10-24 10:50:43 +02:00
e500.c KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04:00
emulate.c KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04:00
fpu.S powerpc: Remove fpscr use from [kvm_]cvt_{fd,df} 2010-09-02 14:07:32 +10:00
Kconfig KVM: PPC: Enable Book3S_32 KVM building 2010-05-17 12:18:54 +03:00
Makefile powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
powerpc.c KVM: PPC: booke: add sregs support 2011-05-22 08:47:53 -04:00
timing.c KVM: PPC: fix partial application of "exit timing in ticks" 2011-07-12 13:16:28 +03:00
timing.h KVM: powerpc: Fix BUILD_BUG_ON condition 2009-12-03 09:32:22 +02:00
trace.h KVM: PPC: Move slb debugging to tracepoints 2010-10-24 10:52:07 +02:00