Re: [PATCH v3 09/11] swiotlb-xen: introduce phys_to_dma/dma_to_phys translations

2020-08-03 Thread Jürgen Groß
On 11.07.20 00:34, Stefano Stabellini wrote: From: Stefano Stabellini With some devices physical addresses are different than dma addresses. To be able to deal with these cases, we need to call phys_to_dma on physical addresses (including machine addresses in Xen terminology) before returning

[PATCH v3 09/11] swiotlb-xen: introduce phys_to_dma/dma_to_phys translations

2020-07-10 Thread Stefano Stabellini
From: Stefano Stabellini With some devices physical addresses are different than dma addresses. To be able to deal with these cases, we need to call phys_to_dma on physical addresses (including machine addresses in Xen terminology) before returning them from xen_swiotlb_alloc_coherent and