Re: [RFC] virtio_ring: check dma_mem for xen_domain

2019-01-21 Thread Michael S. Tsirkin
On Mon, Jan 21, 2019 at 12:28:30AM -0800, h...@infradead.org wrote: > On Mon, Jan 21, 2019 at 04:51:57AM +, Peng Fan wrote: > > on i.MX8QM, M4_1 is communicating with DomU using rpmsg with a fixed > > address as the dma mem buffer which is predefined. > > > > Without this patch, the flow is: >

RE: [RFC] virtio_ring: check dma_mem for xen_domain

2019-01-21 Thread Peng Fan
@lists.xenproject.org; linux-kernel@vger.kernel.org; > linux-remotep...@vger.kernel.org > Subject: Re: [RFC] virtio_ring: check dma_mem for xen_domain > > On Mon, Jan 21, 2019 at 04:51:57AM +, Peng Fan wrote: > > on i.MX8QM, M4_1 is communicating with DomU using rpmsg with a

Re: [RFC] virtio_ring: check dma_mem for xen_domain

2019-01-21 Thread h...@infradead.org
On Mon, Jan 21, 2019 at 04:51:57AM +, Peng Fan wrote: > on i.MX8QM, M4_1 is communicating with DomU using rpmsg with a fixed > address as the dma mem buffer which is predefined. > > Without this patch, the flow is: > vring_map_one_sg -> vring_use_dma_api > -> dma_map_page >