aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-09-22 07:10:17 +0000
committerChristoph Hellwig <[email protected]>2024-09-22 16:47:51 +0000
commitbb0e391975f8da826305cbaa3e3d34b03c47e2a6 (patch)
treea4ebb4149ed7fc7a663952e3689742eb1334cfd1 /lib/crypto/mpi/mpi-mul.c
parentMerge tag 'sched_ext-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-bb0e391975f8da826305cbaa3e3d34b03c47e2a6.tar.gz
kernel-bb0e391975f8da826305cbaa3e3d34b03c47e2a6.zip
dma-mapping: fix vmap and mmap of noncontiougs allocations
Commit b5c58b2fdc42 ("dma-mapping: direct calls for dma-iommu") switched to use direct calls to dma-iommu, but missed the dma_vmap_noncontiguous, dma_vunmap_noncontiguous and dma_mmap_noncontiguous behavior keyed off the presence of the alloc_noncontiguous method. Fix this by removing the now unused alloc_noncontiguous and free_noncontiguous methods and moving the vmapping and mmaping of the noncontiguous allocations into the iommu code, as it is the only provider of actually noncontiguous allocations. Fixes: b5c58b2fdc42 ("dma-mapping: direct calls for dma-iommu") Reported-by: Xi Ruoyao <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Tested-by: Xi Ruoyao <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions