From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxPPv-00041w-GS for qemu-devel@nongnu.org; Thu, 11 Jul 2013 18:32:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxPPu-00036B-NX for qemu-devel@nongnu.org; Thu, 11 Jul 2013 18:32:51 -0400 Message-ID: <1373581960.19894.109.camel@pasglop> From: Benjamin Herrenschmidt Date: Fri, 12 Jul 2013 08:32:40 +1000 In-Reply-To: <5D205309-1154-4730-902E-BF07F5D3B4EB@suse.de> References: <51C75FA6.6080903@reactos.org> <51C7E21A.9090005@web.de> <8A36D64D-0625-49E1-9E59-391DAEEBD1FC@suse.de> <51DEA91B.40903@suse.de> <3FAA7DE1-06A0-45C5-885C-0433BCC0CFE8@suse.de> <5D205309-1154-4730-902E-BF07F5D3B4EB@suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 11/14] ioport: Switch dispatching to memory core layer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Liu Ping Fan , qemu-devel Developers , "qemu-ppc@nongnu.org list:PowerPC" , Paolo Bonzini , Jan Kiszka , Andreas =?ISO-8859-1?Q?F=E4rber?= , =?ISO-8859-1?Q?Herv=E9?= Poussineau On Thu, 2013-07-11 at 15:28 +0200, Alexander Graf wrote: > > Semantically having your PCI host bridge do the endianness conversion > is the correct way of handling it, as that's where the conversion > happens. If it makes life easier to do it in the isa bridging code, > that's fine for me too though. But then we'll have to get rid of all > endianness swaps that already happen in PCI bridges. BTW. Why would IOs to a PCI VGA device go through an "ISA bridge" of any kind ? PCI IO space is PCI IO space... whether there is an ISA bridge or not is a separate thing and PCI VGA cards certainly don't sit behind one. Ben.