Received: from eggs.gnu.org ([2001:4830:134:3::10]:59700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8qcr-0004AK-5U for qemu-devel@nongnu.org; Fri, 03 Jun 2016 11:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8qcm-0003cp-AA for qemu-devel@nongnu.org; Fri, 03 Jun 2016 11:03:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 03 Jun 2016 17:02:50 +0200 From: agraf In-Reply-To: References: <1464870382-385-1-git-send-email-bogdan.purcareata@nxp.com> <1464870382-385-3-git-send-email-bogdan.purcareata@nxp.com> Message-ID: Subject: Re: [Qemu-devel] [PATCH 2/2] arm/virt: Mark pcie controller node as dma-coherent List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Mihai Claudiu Caraman , Bogdan Purcareata , QEMU Developers , Peter Crosthwaite , qemu-arm , Eric Auger On 2016-06-03 16:37, Peter Maydell wrote: > On 3 June 2016 at 15:22, Mihai Claudiu Caraman > wrote: >> In particular for virtual and emulated devices the host CPU behaves >> as a DMA coherent 'device'. This should have been stated in patch >> description. > > Wouldn't that imply that we should just always have the "dma-coherent" > property set, and we don't need to do any of the messing around looking > at the host sysfs ? What happens with VFIO targets that don't have coherent DMA on their PCI bus then? I think eventually we'll need to be able to spawn a second bus with explicit coherency setting. Alex