Thread (34 messages) 34 messages, 7 authors, 2025-10-06

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

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2025-10-03 14:48:59
Also in: linux-alpha, linux-iommu, linux-mips, lkml, sparclinux, virtualization, xen-devel

On Sun, Sep 28, 2025 at 06:02:22PM +0300, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@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@nvidia.com>
---
 arch/mips/jazz/jazzdma.c | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
+	if (attrs & DMA_ATTR_MMIO)
If this has to be respun I'd put an unlikely() here and the {}

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help