[PATCH v3 4/4] dma-mapping: remove unused mapping resource callbacks
Jason Gunthorpe
jgg at nvidia.com
Tue Sep 16 11:49:23 PDT 2025
On Tue, Sep 16, 2025 at 10:32:07AM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro at nvidia.com>
>
> After ARM conversion to use physical addresses for the mapping,
> there is no in-kernel users for map_resource/unmap_resource callbacks,
> so remove it.
>
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>
> ---
> include/linux/dma-map-ops.h | 6 ------
> kernel/dma/mapping.c | 16 ++++------------
> 2 files changed, 4 insertions(+), 18 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Looks like xen_swiotlb_dma_ops will be easy enough to fix..
Jason
More information about the linux-arm-kernel
mailing list