]> 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)
commitee5f60cf1712c7e7643b5611ee11c41dee8e61f4
tree0ece4b4b088110a1444a9ca2424aee4f783d7407
parent98bd31d2475f814cca3844102f8c5b3c559f4921
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