Re: [PATCH v1 2/9] MIPS/jazzdma: Provide physical address directly

From: Jason Gunthorpe
Date: Fri Oct 03 2025 - 10:49:12 EST


On Sun, Sep 28, 2025 at 06:02:22PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> ---
> arch/mips/jazz/jazzdma.c | 20 +++++++++++++-------
> 1 file changed, 13 insertions(+), 7 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

> + if (attrs & DMA_ATTR_MMIO)

If this has to be respun I'd put an unlikely() here and the {}

Jason