projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb59e97
)
KVM: PPC: BookE: Load the lower half of MSR
author
Scott Wood
<scottwood@freescale.com>
Thu, 30 Sep 2010 19:31:27 +0000
(14:31 -0500)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Fri, 5 Nov 2010 16:42:29 +0000
(14:42 -0200)
This was preventing the guest from setting any bits in the
hardware MSR which aren't forced on, such as MSR[SPE].
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke_interrupts.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/booke_interrupts.S
b/arch/powerpc/kvm/booke_interrupts.S
index
0498469
..
1cc471f
100644
(file)
--- a/
arch/powerpc/kvm/booke_interrupts.S
+++ b/
arch/powerpc/kvm/booke_interrupts.S
@@
-416,7
+416,7
@@
lightweight_exit:
lwz r3, VCPU_PC(r4)
mtsrr0 r3
lwz r3, VCPU_SHARED(r4)
- lwz r3,
VCPU_SHARED_MSR
(r3)
+ lwz r3,
(VCPU_SHARED_MSR + 4)
(r3)
oris r3, r3, KVMPPC_MSR_MASK@h
ori r3, r3, KVMPPC_MSR_MASK@l
mtsrr1 r3