[PATCH v4 3/6] ARM: dma-mapping: Reduce struct page exposure in arch_sync_dma*()
Jason Gunthorpe
jgg at nvidia.com
Mon Sep 29 10:37:55 PDT 2025
On Thu, Sep 18, 2025 at 05:09:26PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro at nvidia.com>
>
> As a preparation to changing from .map_page to use .map_phys DMA
> callbacks, convert arch_sync_dma*() functions to use physical addresses
> instead of struct page.
>
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>
> ---
> arch/arm/mm/dma-mapping.c | 82 +++++++++++++++------------------------
> 1 file changed, 31 insertions(+), 51 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the linux-arm-kernel
mailing list