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

Re: [PATCH v1 1/9] alpha: Convert mapping routine to rely on physical address

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

On Sun, Sep 28, 2025 at 06:02:21PM +0300, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@nvidia.com>

Alpha doesn't need struct *page and can perform mapping based on
physical addresses. So convert it to implement new .map_phys callback.

As part of this change, remove useless BUG_ON() as DMA mapping layer
ensures that right direction is provided.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
 arch/alpha/kernel/pci_iommu.c | 48 +++++++++++++++--------------------
 1 file changed, 21 insertions(+), 27 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

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