]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: powerpc: Fix mtsrin in book3s_64 mmu
authorAlexander Graf <agraf@suse.de>
Sat, 19 Dec 2009 17:07:39 +0000 (18:07 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 27 Dec 2009 15:36:34 +0000 (13:36 -0200)
commit0765fd00cfbc91e9f6dec68353bb9bb96ecb9dd5
tree592ca08805d9460064a1ab874a1a58e45d0f28c8
parent133c045366364c756c8904ec33577070670cd8fc
KVM: powerpc: Fix mtsrin in book3s_64 mmu

We were shifting the Ks/Kp/N bits one bit too far on mtsrin. It took
me some time to figure that out, so I also put in some debugging and a
comment explaining the conversion.

This fixes current OpenBIOS boot on PPC64 KVM.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_64_mmu.c