From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoH7F-0006kz-OW for qemu-devel@nongnu.org; Tue, 02 Aug 2011 11:42:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoH7E-0001r1-0z for qemu-devel@nongnu.org; Tue, 02 Aug 2011 11:42:45 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:37441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoH7D-0001qx-SK for qemu-devel@nongnu.org; Tue, 02 Aug 2011 11:42:43 -0400 Received: by qyk10 with SMTP id 10so1750374qyk.4 for ; Tue, 02 Aug 2011 08:42:43 -0700 (PDT) Sender: Richard Henderson Message-ID: <4E381AF0.6090607@twiddle.net> Date: Tue, 02 Aug 2011 08:42:40 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1312135082-31985-1-git-send-email-avi@redhat.com> <4E37194C.4010802@twiddle.net> <4E37C21D.4050504@redhat.com> In-Reply-To: <4E37C21D.4050504@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Alpha system patchset updated for Memory API, batch 2: PCI devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org On 08/02/2011 02:23 AM, Avi Kivity wrote: >> +const MemoryRegionOps alpha_pci_bw_io_ops = { >> + .read = bw_io_read, >> + .write = bw_io_write, >> + .endianness = DEVICE_LITTLE_ENDIAN, >> + .impl = { >> + .min_access_size = 1, >> + .max_access_size = 4, >> + }, >> +}; >> + > > The plan for this (and all mmio-mapped PCI_ADDRESS_SPACE_IO regions) > is to map the I/O address space as a subregion of the PCI host > bridge, eliminating this thunk. Yep, I figured that. There's even a comment to that effect in alpha_typhoon.c, mentioning that such a change is waiting on the ISA devices to be converted. r~