commit | ecb6d6185b3ae40067330eb889977bf2a51f7429 | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Fri Mar 20 20:39:39 2015 +1100 |
committer | Alexander Graf <agraf@suse.de> | Fri Mar 20 11:42:08 2015 +0100 |
tree | 6eac4ed0d17496a2d9e0a01c6326591442e16b96 | |
parent | 8f902b005ece690f0f50b217975601b804905dc8 [diff] |
KVM: PPC: Book3S HV: Endian fix for accessing VPA yield count The VPA (virtual processor area) is defined by PAPR and is therefore big-endian, so we need a be32_to_cpu when reading it in kvmppc_get_yield_count(). Without this, H_CONFER always fails on a little-endian host, causing SMP guests to waste time spinning on spinlocks. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>