[PATCH v1 2/9] MIPS/jazzdma: Provide physical address directly
    Jason Gunthorpe 
    jgg at nvidia.com
       
    Sat Oct  4 00:48:49 AEST 2025
    
    
  
On Sun, Sep 28, 2025 at 06:02:22PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro at nvidia.com>
> 
> MIPS jazz uses physical addresses for mapping pages, so convert
> it to get them directly from DMA mapping routine.
> 
> Signed-off-by: Leon Romanovsky <leonro at nvidia.com>
> ---
>  arch/mips/jazz/jazzdma.c | 20 +++++++++++++-------
>  1 file changed, 13 insertions(+), 7 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> +	if (attrs & DMA_ATTR_MMIO)
If this has to be respun I'd put an unlikely() here and the {}
Jason
    
    
More information about the Linuxppc-dev
mailing list