From: Paul Mackerras Date: Fri, 20 Mar 2015 09:39:39 +0000 (+1100) Subject: KVM: PPC: Book3S HV: Endian fix for accessing VPA yield count X-Git-Tag: omap-for-v4.1/fixes-rc1~258^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecb6d6185b3ae40067330eb889977bf2a51f7429;p=pandora-kernel.git 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 Signed-off-by: Alexander Graf --- Reading git-diff-tree failed