]> git.karo-electronics.de Git - mv-sheeva.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)
commitb104d06632d08957f384ff7403f609fb5dfb9cbd
treea9349425bf2c1c170dcaaa358bf5978c673cc5cf
parentc62e096dec032c82bae60545623c24743116f5dd
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