projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f85411
)
KVM: PPC: E500: Ignore L1CSR1_ICFI,ICLFR
author
Alexander Graf
<agraf@suse.de>
Thu, 17 Apr 2014 10:53:13 +0000
(12:53 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 30 May 2014 12:26:17 +0000
(14:26 +0200)
The L1 instruction cache control register contains bits that indicate
that we're still handling a request. Mask those out when we set the SPR
so that a read doesn't assume we're still doing something.
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/e500_emulate.c
b/arch/powerpc/kvm/e500_emulate.c
index 89b7f821f6c41d84acfd997215b907047b0cd0a1..95d886f461fb37e5f79c2c507626c8ce2faf4429 100644
(file)
--- a/
arch/powerpc/kvm/e500_emulate.c
+++ b/
arch/powerpc/kvm/e500_emulate.c
@@
-222,6
+222,7
@@
int kvmppc_core_emulate_mtspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong spr_va
break;
case SPRN_L1CSR1:
vcpu_e500->l1csr1 = spr_val;
+ vcpu_e500->l1csr1 &= ~(L1CSR1_ICFI | L1CSR1_ICLFR);
break;
case SPRN_HID0:
vcpu_e500->hid0 = spr_val;