projects
/
GitHub
/
LineageOS
/
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:
25a8a02
)
KVM: PPC: Fix HID5 setting code
author
Alexander Graf
<agraf@suse.de>
Fri, 8 Jan 2010 01:58:08 +0000
(
02:58
+0100)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:49 +0000
(12:35 -0300)
The code to unset HID5.dcbz32 is broken.
This patch makes it do the right rotate magic.
Signed-off-by: Alexander Graf <agraf@suse.de>
Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_64_interrupts.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/book3s_64_interrupts.S
b/arch/powerpc/kvm/book3s_64_interrupts.S
index 33aef5345f6b5cf2eaf5e0227127324930df4be3..2ff0b2137e6f338ebcbedf82fc9db12298428086 100644
(file)
--- a/
arch/powerpc/kvm/book3s_64_interrupts.S
+++ b/
arch/powerpc/kvm/book3s_64_interrupts.S
@@
-177,8
+177,9
@@
kvmppc_handler_highmem:
rldicl. r5, r5, 0, 63 /* CR = ((r5 & 1) == 0) */
beq no_dcbz32_off
+ li r4, 0
mfspr r5,SPRN_HID5
- rldimi r5,r
5
,6,56
+ rldimi r5,r
4
,6,56
mtspr SPRN_HID5,r5
no_dcbz32_off: