summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@xilinx.com>2020-07-11 01:34:27 +0300
committerJuergen Gross <jgross@suse.com>2020-08-04 08:54:58 +0300
commitd7b461caa6cc64dd190577b46b0ec892a8d5e7c0 (patch)
tree1935117b1aa0043017085b956acf461c56872a4b /drivers/xen
parent63f0620cc552c4cd5bb2747f77efce407487cb12 (diff)
downloadlinux-d7b461caa6cc64dd190577b46b0ec892a8d5e7c0.tar.xz
xen/arm: call dma_to_phys on the dma_addr_t parameter of dma_cache_maint
dma_cache_maint is getting called passing a dma address which could be different from a physical address. Add a struct device* parameter to dma_cache_maint. Translate the dma_addr_t parameter of dma_cache_maint by calling dma_to_phys. Do it for the first page and all the following pages, in case of multipage handling. Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Tested-by: Corey Minyard <cminyard@mvista.com> Tested-by: Roman Shaposhnik <roman@zededa.com> Link: https://lore.kernel.org/r/20200710223427.6897-11-sstabellini@kernel.org Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions