[PATCH v4 11/16] dma-mapping: export new dma_*map_phys() interface
Jason Gunthorpe
jgg at nvidia.com
Fri Aug 29 02:01:10 AEST 2025
On Tue, Aug 19, 2025 at 08:36:55PM +0300, Leon Romanovsky wrote:
> The old page-based API is preserved in mapping.c to ensure that existing
> code won't be affected by changing EXPORT_SYMBOL to EXPORT_SYMBOL_GPL
> variant for dma_*map_phys().
>
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>
> ---
> drivers/iommu/dma-iommu.c | 14 --------
> include/linux/dma-direct.h | 2 --
> include/linux/dma-mapping.h | 13 +++++++
> include/linux/iommu-dma.h | 4 ---
> include/trace/events/dma.h | 2 --
> kernel/dma/debug.c | 43 -----------------------
> kernel/dma/debug.h | 21 -----------
> kernel/dma/direct.c | 16 ---------
> kernel/dma/mapping.c | 69 ++++++++++++++++++++-----------------
> 9 files changed, 50 insertions(+), 134 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the Linuxppc-dev
mailing list