From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoRA4-0001qv-9O for qemu-devel@nongnu.org; Tue, 02 Aug 2011 22:26:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoRA3-0000Ga-2W for qemu-devel@nongnu.org; Tue, 02 Aug 2011 22:26:20 -0400 Received: from mail-yi0-f45.google.com ([209.85.218.45]:46486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoRA2-0000GW-V9 for qemu-devel@nongnu.org; Tue, 02 Aug 2011 22:26:19 -0400 Received: by yia25 with SMTP id 25so272201yia.4 for ; Tue, 02 Aug 2011 19:26:18 -0700 (PDT) Message-ID: <4E38B1C8.8020404@codemonkey.ws> Date: Tue, 02 Aug 2011 21:26:16 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4E381EA7.2070809@redhat.com> <4E383C55.5050703@redhat.com> <4E38647F.3010509@codemonkey.ws> <4E3870A8.308@redhat.com> In-Reply-To: <4E3870A8.308@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] modelling omap_gpmc with the hierarchical memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Peter Maydell , QEMU Developers On 08/02/2011 04:48 PM, Avi Kivity wrote: > On 08/03/2011 12:28 AM, Peter Maydell wrote: >> On 2 August 2011 21:56, Anthony Liguori wrote: >> > Hrm, this looks like badness to me. >> > >> > You're effectively using MemoryRegions to implement an ad-hoc >> interface. >> >> As you'll see below, the hardware intreface is somewhat ad-hoc :-) >> > > IMO it fits perfectly into a qdev which contains 8 qbuses, each of which > is connected to another qdev. Do you mean a qdev that is a bus and accepts up to 8 devices as children? Regards, Anthony Liguori > The plan would be: > - fold sysbus into qdev > - improve qdev/qbus memory region support > - reimplement PCI BARs atop qdev regions >