Re: [Qemu-devel] [PATCH] PPC: KVM: Fix BAT put

2012-10-06 Thread Aurelien Jarno
On Fri, Oct 05, 2012 at 04:36:46AM +0200, Alexander Graf wrote: > In the sregs API, upper and lower 32bit segments of the BAT registers > are swapped when doing a set. Since we need to support old kernels out > there, don't bother to fix it in the kernel, but instead work around > the problem in QE

[Qemu-devel] [PATCH] PPC: KVM: Fix BAT put

2012-10-04 Thread Alexander Graf
In the sregs API, upper and lower 32bit segments of the BAT registers are swapped when doing a set. Since we need to support old kernels out there, don't bother to fix it in the kernel, but instead work around the problem in QEMU by swapping on put. Signed-off-by: Alexander Graf --- target-ppc/k