Re: [RFC PATCH V1 11/12] libxl: Insert "dma-coherent" property into virtio-mmio device node

2020-08-05 Thread Oleksandr
On 05.08.20 02:23, Stefano Stabellini wrote: Hi Stefano On Mon, 3 Aug 2020, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Without "dma-coherent" property present in virtio-mmio device node, guest assumes it is non-coherent and making non-cacheable accesses to the vring when the

Re: [RFC PATCH V1 11/12] libxl: Insert "dma-coherent" property into virtio-mmio device node

2020-08-04 Thread Stefano Stabellini
On Mon, 3 Aug 2020, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > Without "dma-coherent" property present in virtio-mmio device node, > guest assumes it is non-coherent and making non-cacheable accesses > to the vring when the DMA API is used for vring operations. > But

[RFC PATCH V1 11/12] libxl: Insert "dma-coherent" property into virtio-mmio device node

2020-08-03 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko Without "dma-coherent" property present in virtio-mmio device node, guest assumes it is non-coherent and making non-cacheable accesses to the vring when the DMA API is used for vring operations. But virtio-mmio device which runs at the host size is making cacheable