From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= Date: Tue, 10 Jan 2012 20:35:36 +0000 Subject: Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config Message-Id: <4F0CA118.30203@suse.de> List-Id: References: <1326195311.23910.59.camel@pasglop> <5B504266-DFF3-48F8-AEA4-C947189CDB62@suse.de> In-Reply-To: <5B504266-DFF3-48F8-AEA4-C947189CDB62@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Alexander Graf Cc: Benjamin Herrenschmidt , kvm-ppc@vger.kernel.org, "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" , David Gibson Am 10.01.2012 21:30, schrieb Alexander Graf: > Maybe the RTAS callbacks really want you to return stuff in little endian? IIRC all RTAS callbacks need to be in the same bitness and endianness (MSR LE+SB) as when instantiating RTAS from OF. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnberg From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= Subject: Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config Date: Tue, 10 Jan 2012 21:35:36 +0100 Message-ID: <4F0CA118.30203@suse.de> References: <1326195311.23910.59.camel@pasglop> <5B504266-DFF3-48F8-AEA4-C947189CDB62@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Benjamin Herrenschmidt , kvm-ppc@vger.kernel.org, "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" , David Gibson To: Alexander Graf Return-path: In-Reply-To: <5B504266-DFF3-48F8-AEA4-C947189CDB62@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Am 10.01.2012 21:30, schrieb Alexander Graf: > Maybe the RTAS callbacks really want you to return stuff in little en= dian? IIRC all RTAS callbacks need to be in the same bitness and endianness (MSR LE+SB) as when instantiating RTAS from OF. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrn= berg From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkiRd-0001Cp-6C for qemu-devel@nongnu.org; Tue, 10 Jan 2012 15:37:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkiRc-0004VG-E2 for qemu-devel@nongnu.org; Tue, 10 Jan 2012 15:37:21 -0500 Received: from cantor2.suse.de ([195.135.220.15]:46712 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkiRc-0004Us-8d for qemu-devel@nongnu.org; Tue, 10 Jan 2012 15:37:20 -0500 Message-ID: <4F0CA118.30203@suse.de> Date: Tue, 10 Jan 2012 21:35:36 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1326195311.23910.59.camel@pasglop> <5B504266-DFF3-48F8-AEA4-C947189CDB62@suse.de> In-Reply-To: <5B504266-DFF3-48F8-AEA4-C947189CDB62@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] virtio-pci: Fix endianness of virtio config List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: David Gibson , "qemu-devel@nongnu.org" , kvm-ppc@vger.kernel.org, "kvm@vger.kernel.org" Am 10.01.2012 21:30, schrieb Alexander Graf: > Maybe the RTAS callbacks really want you to return stuff in little endi= an? IIRC all RTAS callbacks need to be in the same bitness and endianness (MSR LE+SB) as when instantiating RTAS from OF. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg