]> Gentwo Git Trees - linux/.git/commit
alpha: Convert mapping routine to rely on physical address
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 15 Oct 2025 09:12:53 +0000 (12:12 +0300)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 29 Oct 2025 09:27:30 +0000 (10:27 +0100)
commit6aaecdf0d8d452173bef66a287b9d5b686e5ffc8
tree891d3cd8ef455cb8fa192abc4073c01c3fabc28c
parent14cb413af00c5d3950d1a339dd2b6f01ce313fce
alpha: Convert mapping routine to rely on physical address

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.

Tested-by: Magnus Lindholm <linmag7@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20251015-remove-map-page-v5-7-3bbfe3a25cdf@kernel.org
arch/alpha/kernel/pci_iommu.c