From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyue6-0001CP-7w for qemu-devel@nongnu.org; Mon, 15 Jul 2013 22:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uyue4-0007Xl-4f for qemu-devel@nongnu.org; Mon, 15 Jul 2013 22:05:42 -0400 Received: from mail-ob0-f180.google.com ([209.85.214.180]:43191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyue3-0007XW-W7 for qemu-devel@nongnu.org; Mon, 15 Jul 2013 22:05:40 -0400 Received: by mail-ob0-f180.google.com with SMTP id eh20so143519obb.39 for ; Mon, 15 Jul 2013 19:05:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <51E4963B.3020201@ozlabs.ru> References: <1373614639-15523-1-git-send-email-aik@ozlabs.ru> <20130713080309.GA11522@voom.redhat.com> <51E2A614.5010402@ozlabs.ru> <87vc4bamst.fsf@codemonkey.ws> <51E48086.1040307@ozlabs.ru> <871u6ztkjr.fsf@codemonkey.ws> <51E4963B.3020201@ozlabs.ru> Date: Mon, 15 Jul 2013 21:05:39 -0500 Message-ID: From: Anthony Liguori Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [PATCH] spapr-pci: change endianness for io ports space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alexander Graf , qemu-ppc@nongnu.org, qemu-devel , David Gibson On Mon, Jul 15, 2013 at 7:39 PM, Alexey Kardashevskiy wrote: > On 07/16/2013 10:28 AM, Anthony Liguori wrote: >> Alexey Kardashevskiy writes: >> >> The right solution is to drop the additional IO region on sPAPR and >> remove the ISA devices marking themselves as "little endian". > > > No, this is not endianness, this is something different caused by a > difference in IO port registration (subpage? section? memoryregion? I am > going to draw a graph and try realize what is what here :) ). > > Even very first IO port access does not reach VGA, fails somehow in > address_space_translate_internal() but devices other than VGA (well, at > least network devices) work perfectly. Can you be more specific about what's failing? VGA works fine for me with TCG. Regards, Anthony Liguori > > >> But that requires careful testing and fixing the other platforms that >> also are relying on the doube byte lane swapping. > > > -- > Alexey