[PATCH v1 1/9] alpha: Convert mapping routine to rely on physical address
Jason Gunthorpe
jgg at nvidia.com
Sat Oct 4 00:47:50 AEST 2025
On Sun, Sep 28, 2025 at 06:02:21PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro at 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 at nvidia.com>
> ---
> arch/alpha/kernel/pci_iommu.c | 48 +++++++++++++++--------------------
> 1 file changed, 21 insertions(+), 27 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the Linuxppc-dev
mailing list