Re: [PATCH v3 10/11] xen/arm: introduce phys/dma translations in xen_dma_sync_for_*

2020-08-03 Thread Jürgen Groß
On 11.07.20 00:34, Stefano Stabellini wrote: From: Stefano Stabellini xen_dma_sync_for_cpu, xen_dma_sync_for_device, xen_arch_need_swiotlb are getting called passing dma addresses. On some platforms dma addresses could be different from physical addresses. Before doing any operations on these a

[PATCH v3 10/11] xen/arm: introduce phys/dma translations in xen_dma_sync_for_*

2020-07-10 Thread Stefano Stabellini
From: Stefano Stabellini xen_dma_sync_for_cpu, xen_dma_sync_for_device, xen_arch_need_swiotlb are getting called passing dma addresses. On some platforms dma addresses could be different from physical addresses. Before doing any operations on these addresses we need to convert them back to physic