From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swxmv-0004vm-8F for qemu-devel@nongnu.org; Thu, 02 Aug 2012 11:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Swxmr-0008Kk-7t for qemu-devel@nongnu.org; Thu, 02 Aug 2012 11:58:13 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46209 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swxmr-0008Kg-1D for qemu-devel@nongnu.org; Thu, 02 Aug 2012 11:58:09 -0400 Message-ID: <501AA38D.4020709@suse.de> Date: Thu, 02 Aug 2012 17:58:05 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1343870169-16049-1-git-send-email-afaerber@suse.de> <501A9474.7070609@suse.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC for-1.2] arm: Move some ARM devices into libhw List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Blue Swirl , Paolo Bonzini , Anthony Liguori , qemu-devel@nongnu.org, Mark Langsdorf Am 02.08.2012 17:01, schrieb Peter Maydell: > On 2 August 2012 15:53, Andreas F=C3=A4rber wrote: >> In practice, it seemed that usage of these devices is rather fragmente= d >> (not all boards use all PLxxx devices) so that per-device config names >> as in master allow for fine-grained control of which devices get built >> if only armeb-softmmu were to be built; >> on the other hand if that seems too complicated the alternative questi= on >> to ask would be, are all PLxxx devices theoretically capable of being >> used for armeb as well? >=20 > They should in theory be OK on a big-endian system, but then in theory > just about any device should be OK on a big endian system: device/syste= m > endianness and CPU endianness are orthogonal. I was specifically thinking of whether the specified device endianness is correct, i.e. whether device code assumes Little Endian but might be marked DEVICE_NATIVE_ENDIAN (thus becoming Big Endian on armeb) or is marked DEVICE_LITTLE_ENDIAN but should be DEVICE_NATIVE_ENDIAN to adapt to armeb (e.g., double-swapping issues with IBM8514 card a while ago). Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg