OSDN Git Service

KVM: PPC: Book3S HV: Access host lppaca and shadow slb in BE
authorAlexander Graf <agraf@suse.de>
Wed, 11 Jun 2014 08:36:17 +0000 (10:36 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:22:23 +0000 (15:22 +0200)
commit0865a583a4881975cc4b621f4886c02f01600302
tree01393be08c4fb9b791f1f2b8cd3c63a1d99c2052
parent02407552256111479fbfd23a3e01218b399aaa35
KVM: PPC: Book3S HV: Access host lppaca and shadow slb in BE

Some data structures are always stored in big endian. Among those are the LPPACA
fields as well as the shadow slb. These structures might be shared with a
hypervisor.

So whenever we access those fields, make sure we do so in big endian byte order.

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