From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se67R-0003cr-SQ for qemu-devel@nongnu.org; Mon, 11 Jun 2012 11:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se67I-0002vk-2v for qemu-devel@nongnu.org; Mon, 11 Jun 2012 11:01:25 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:62580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se67H-0002vT-Sy for qemu-devel@nongnu.org; Mon, 11 Jun 2012 11:01:16 -0400 Received: by dadv2 with SMTP id v2so6080632dad.4 for ; Mon, 11 Jun 2012 08:01:13 -0700 (PDT) Message-ID: <4FD60834.2020208@codemonkey.ws> Date: Mon, 11 Jun 2012 10:01:08 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4FD208F6.3020307@codemonkey.ws> <4FD5EF75.7060707@us.ibm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] QOMification of AXI stream List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Anthony Liguori , Michal Simek , "qemu-devel@nongnu.org Developers" , Peter Crosthwaite , Paul Brook , "Edgar E. Iglesias" , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , John Williams , Avi Kivity On 06/11/2012 08:39 AM, Peter Maydell wrote: > On 11 June 2012 14:15, Anthony Liguori wrote: >> From what you said earlier, it's basically: >> >> 'write data to this address' >> 'read data from this address' >> >> An interface that implements this is DMAContext. Forget about the fact that >> 'DMA' is in the name. It's really the symmetric version of a MemoryRegion. > > ...so can we fix the name? Perhaps we should just make MemoryRegion work in both directions? Ben/Avi, what do you guys think? Regards, Anthony Liguori > > Ideally the interface used by DMA controllers should be identical to > the interface used by CPUs to talk to the rest of the system: it's > exactly the same bus interface in hardware, after all. > > -- PMM