KVM: PPC: Book3S HV: Access XICS in BE
authorAlexander Graf <agraf@suse.de>
Wed, 11 Jun 2014 08:37:52 +0000 (10:37 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:22:24 +0000 (15:22 +0200)
On the exit path from the guest we check what type of interrupt we received
if we received one. This means we're doing hardware access to the XICS interrupt
controller.

However, when running on a little endian system, this access is byte reversed.

So let's make sure to swizzle the bytes back again and virtually make XICS
accesses big endian.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv_rmhandlers.S