]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S_64 PR: Access shadow slb in big endian
authorAlexander Graf <agraf@suse.de>
Thu, 24 Apr 2014 10:57:11 +0000 (12:57 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:19 +0000 (14:26 +0200)
commit0a48e62c791cde7a6bd58f946145b6521c697b8f
tree0ece4b4b088110a1444a9ca2424aee4f783d7407
parent43cde9a7add6f6be503b385d9a78ddcd91eb8c26
KVM: PPC: Book3S_64 PR: Access shadow slb in big endian

The "shadow SLB" in the PACA is shared with the hypervisor, so it has to
be big endian. We access the shadow SLB during world switch, so let's make
sure we access it in big endian even when we're on a little endian host.

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