diff options
author | Stefano Stabellini <[email protected]> | 2020-07-10 15:34:27 -0700 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2020-08-04 07:54:58 +0200 |
commit | d7b461caa6cc64dd190577b46b0ec892a8d5e7c0 (patch) | |
tree | 1935117b1aa0043017085b956acf461c56872a4b /fs/xfs/xfs_buf.c | |
parent | 63f0620cc552c4cd5bb2747f77efce407487cb12 (diff) |
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 <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Tested-by: Corey Minyard <[email protected]>
Tested-by: Roman Shaposhnik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
0 files changed, 0 insertions, 0 deletions