diff options
author | Roman Skakun <Roman_Skakun@epam.com> | 2021-07-16 11:39:34 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-07-16 11:30:26 +0200 |
commit | 40ac971eab89330d6153e7721e88acd2d98833f9 (patch) | |
tree | f1f13dcd951190dff748b3a929742e117c699913 /lib/mpi/mpi-inv.c | |
parent | d936eb23874433caa3e3d841cfa16f5434b85dcf (diff) |
dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
xen-swiotlb can use vmalloc backed addresses for dma coherent allocations
and uses the common helpers. Properly handle them to unbreak Xen on
ARM platforms.
Fixes: 1b65c4e5a9af ("swiotlb-xen: use xen_alloc/free_coherent_pages")
Signed-off-by: Roman Skakun <roman_skakun@epam.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
[hch: split the patch, renamed the helpers]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions