[PATCH v3 1/4] dma-mapping: prepare dma_map_ops to conversion to physical address

Jason Gunthorpe jgg at nvidia.com
Tue Sep 16 06:52:40 PDT 2025


On Tue, Sep 16, 2025 at 10:32:04AM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro at nvidia.com>
> 
> Add new .map_phys() and .unmap_phys() callbacks to dma_map_ops as a
> preparation to replace .map_page() and .unmap_page() respectively.
> 
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>
> ---
>  include/linux/dma-map-ops.h | 7 +++++++
>  kernel/dma/mapping.c        | 4 ++++
>  2 files changed, 11 insertions(+)

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

Jason



More information about the linux-arm-kernel mailing list