On 2016-06-03 16:37, Peter Maydell wrote:
On 3 June 2016 at 15:22, Mihai Claudiu Caraman <mike.cara...@nxp.com>
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