]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Enable MMIO to do 64 bits, fprs and qprs
authorAlexander Graf <agraf@suse.de>
Fri, 19 Feb 2010 10:00:29 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:41 +0000 (12:34 +0300)
commit84c14b8bb7b32957cca740ce4d3f96d3895b0978
treea9349425bf2c1c170dcaaa358bf5978c673cc5cf
parent0b773114c31b44e10e952104defd09fcbab2dbd1
KVM: PPC: Enable MMIO to do 64 bits, fprs and qprs

Right now MMIO access can only happen for GPRs and is at most 32 bit wide.
That's actually enough for almost all types of hardware out there.

Unfortunately, the guest I was using used FPU writes to MMIO regions, so
it ended up writing 64 bit MMIOs using FPRs and QPRs.

So let's add code to handle those odd cases too.

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