diff options
author | 2015-03-20 20:39:39 +1100 | |
---|---|---|
committer | 2015-03-20 11:42:08 +0100 | |
commit | ecb6d6185b3ae40067330eb889977bf2a51f7429 (patch) | |
tree | 6eac4ed0d17496a2d9e0a01c6326591442e16b96 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: PPC: Book3S HV: Fix spinlock/mutex ordering issue in kvmppc_set_lpcr() (diff) | |
download | linux-dev-ecb6d6185b3ae40067330eb889977bf2a51f7429.tar.xz linux-dev-ecb6d6185b3ae40067330eb889977bf2a51f7429.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions