]> git.openfabrics.org - ~emulex/infiniband.git/commit
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)
commit76d072fb05f646eb180f161bbe06ab185af52f38
tree37a10d4517eb43dfd8f76286c9488118fa26c882
parent0865a583a4881975cc4b621f4886c02f01600302
KVM: PPC: Book3S HV: Access XICS in BE

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