From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJyaB-0003YO-TO for qemu-devel@nongnu.org; Thu, 04 Oct 2012 23:28:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJya9-00015h-SG for qemu-devel@nongnu.org; Thu, 04 Oct 2012 23:28:11 -0400 Date: Fri, 5 Oct 2012 13:29:01 +1000 From: David Gibson Message-ID: <20121005032901.GU29302@truffula.fritz.box> References: <1349404606-24057-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1349404606-24057-1-git-send-email-agraf@suse.de> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] PPC: KVM: Fix BAT put List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "qemu-ppc@nongnu.org List" , qemu-devel qemu-devel 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 QEMU by swapping on put. > > Signed-off-by: Alexander Graf We should probably at least add warning comments to the kernel headers. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson