projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c32498e
)
kvm/ppc: don't call complete_mmio_load when it's a store
author
Scott Wood
<scottwood@freescale.com>
Mon, 15 Apr 2013 15:07:11 +0000
(15:07 +0000)
committer
Alexander Graf
<agraf@suse.de>
Wed, 17 Apr 2013 13:21:16 +0000
(15:21 +0200)
complete_mmio_load writes back the mmio result into the
destination register. Doing this on a store results in
register corruption.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/powerpc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/powerpc.c
b/arch/powerpc/kvm/powerpc.c
index 16b45954511c708c29e0d6b94c584ea41b8e96ca..a822659db50aaf61d7c686c4386ad1c734161c76 100644
(file)
--- a/
arch/powerpc/kvm/powerpc.c
+++ b/
arch/powerpc/kvm/powerpc.c
@@
-683,7
+683,6
@@
int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
if (!kvm_io_bus_write(vcpu->kvm, KVM_MMIO_BUS, run->mmio.phys_addr,
bytes, &run->mmio.data)) {
- kvmppc_complete_mmio_load(vcpu, run);
vcpu->mmio_needed = 0;
return EMULATE_DONE;
}