]> www.infradead.org Git - users/hch/misc.git/commit
iommu/dma: Add check if IOVA can be used
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 18 Jul 2024 18:16:04 +0000 (21:16 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 9 Oct 2024 16:55:24 +0000 (19:55 +0300)
commit63f0b4fe5be23d85fbb9832064d05c5d4e46189e
tree3ad980c34a66e839c8d0e504612ad2d9a2a16be8
parenta5bd430f641e27cb4e293fe81375961d12e1dce1
iommu/dma: Add check if IOVA can be used

This patch adds a check if IOVA can be used for the page and size.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/iommu/dma-iommu.c
drivers/pci/p2pdma.c
include/linux/dma-map-ops.h
include/linux/iommu-dma.h