diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-07 19:23:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-07 19:23:17 +0100 |
commit | 8c2c8ed8b85d4012d26caf1c221c291c687d89f0 (patch) | |
tree | c28ac6bfc83c198b2a61515694d05ad22f2cc25a /arch | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi... (diff) | |
parent | swiotlb-xen: implement xen_swiotlb_get_sgtable callback (diff) | |
download | linux-8c2c8ed8b85d4012d26caf1c221c291c687d89f0.tar.xz linux-8c2c8ed8b85d4012d26caf1c221c291c687d89f0.zip |
Merge branch 'stable/for-linus-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb
Pull swiotlb updates from Konrad Rzeszutek Wilk:
"Two tiny implementations of the DMA API for callback in ARM (for Xen)"
* 'stable/for-linus-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
swiotlb-xen: implement xen_swiotlb_get_sgtable callback
swiotlb-xen: implement xen_swiotlb_dma_mmap callback
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/xen/mm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index ce18c91b50a1..f0325d96b97a 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -198,6 +198,8 @@ static const struct dma_map_ops xen_swiotlb_dma_ops = { .unmap_page = xen_swiotlb_unmap_page, .dma_supported = xen_swiotlb_dma_supported, .set_dma_mask = xen_swiotlb_set_dma_mask, + .mmap = xen_swiotlb_dma_mmap, + .get_sgtable = xen_swiotlb_get_sgtable, }; int __init xen_mm_init(void) |