From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg9ai-0004KT-0f for qemu-devel@nongnu.org; Thu, 09 Apr 2015 06:21:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yg9ae-0002Bs-JY for qemu-devel@nongnu.org; Thu, 09 Apr 2015 06:21:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg9ae-0002Be-C4 for qemu-devel@nongnu.org; Thu, 09 Apr 2015 06:21:40 -0400 Message-ID: <552652AA.5070701@redhat.com> Date: Thu, 09 Apr 2015 12:21:30 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1428437400-8474-1-git-send-email-peter.maydell@linaro.org> <1428437400-8474-7-git-send-email-peter.maydell@linaro.org> <20150409095904.GH30629@toto> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 06/14] exec.c: Make address_space_rw take transaction attributes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , "Edgar E. Iglesias" Cc: Peter Crosthwaite , Patch Tracking , QEMU Developers , Greg Bellows , =?UTF-8?B?QWxleCBCZW5u?= =?UTF-8?B?w6ll?= , Richard Henderson On 09/04/2015 12:14, Peter Maydell wrote: > On 9 April 2015 at 10:59, Edgar E. Iglesias wrote: >> > On Tue, Apr 07, 2015 at 09:09:52PM +0100, Peter Maydell wrote: >>> >> Make address_space_rw take transaction attributes, rather >>> >> than always using the 'unspecified' attributes. >> > >> > Reviewed-by: Edgar E. Iglesias >> > >> > I guess that we eventually will need to convert the dma_ >> > functions? > Probably, though I'm not clear what they bring to the party > that the basic address_space_* functions don't (part of why > I left them alone). At this point, some memory barriers, basically. Initially the IOMMU implementation was done in the dma_* functions (using something called IIRC a DMAContext), but now they just take an AddressSpace. Paolo