From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgAou-00023R-PQ for qemu-devel@nongnu.org; Thu, 09 Apr 2015 07:40:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgAor-0004A7-1I for qemu-devel@nongnu.org; Thu, 09 Apr 2015 07:40:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgAoq-0004A2-Rn for qemu-devel@nongnu.org; Thu, 09 Apr 2015 07:40:24 -0400 Message-ID: <5526651F.7080908@redhat.com> Date: Thu, 09 Apr 2015 13:40:15 +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> <552652AA.5070701@redhat.com> 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 Cc: Peter Crosthwaite , Patch Tracking , QEMU Developers , Greg Bellows , "Edgar E. Iglesias" , =?UTF-8?B?QWxleCBCZW5uw6ll?= , Richard Henderson On 09/04/2015 12:43, Peter Maydell wrote: > > At this point, some memory barriers, basically. > > So what distinguishes a device that needs the memory barriers > and does its accesses via dma_* from a device that doesn't and > uses address_space_* or ld/st*_phys ? (Or for that matter a > non-device that does memory accesses...) I don't know exactly, I didn't follow the discussion very much back then. The memory barriers were fixing PPC bugs; PCI devices definitely need them. Paolo