Received: from eggs.gnu.org ([208.118.235.92]:40941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TK4zo-0007cS-33 for qemu-devel@nongnu.org; Fri, 05 Oct 2012 06:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TK4zm-0001OI-Oz for qemu-devel@nongnu.org; Fri, 05 Oct 2012 06:19:04 -0400 References: <1349404606-24057-1-git-send-email-agraf@suse.de> <20121005032901.GU29302@truffula.fritz.box> In-Reply-To: <20121005032901.GU29302@truffula.fritz.box> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <837D13F4-AA64-4A1F-B48B-2ABF85A0F8B4@suse.de> From: Alexander Graf Date: Fri, 5 Oct 2012 12:19:20 +0200 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: David Gibson Cc: "qemu-ppc@nongnu.org List" , qemu-devel qemu-devel On 05.10.2012, at 05:29, David Gibson wrote: > 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. >>=20 >> Signed-off-by: Alexander Graf >=20 > We should probably at least add warning comments to the kernel > headers. I would prefer to switch all of the sregs mess to one_reg and declare it dep= recated then :). Alex >=20 > --=20 > David Gibson | I'll have my music baroque, and my code > david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _oth= er_ > | _way_ _around_! > http://www.ozlabs.org/~dgibson