Skip to content
Commit 76d072fb authored by Alexander Graf's avatar Alexander Graf
Browse files

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: default avatarAlexander Graf <agraf@suse.de>
parent 0865a583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment