]> www.infradead.org Git - users/hch/misc.git/commit
dma-mapping: Add check if IOVA can be used
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 18 Jul 2024 18:16:04 +0000 (21:16 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Oct 2024 16:43:12 +0000 (18:43 +0200)
commit1df34b2912fff31de66ccd8b34e5dbf45ab6cea3
tree0f8328ea2081ccc0773273924184fc44b4a6b45a
parent17e455648f34c1dbc68c70afb538d2eb30a22551
dma-mapping: Add check if IOVA can be used

This patch adds a check if IOVA can be used for the specific
transaction.

In the new API a DMA mapping transaction is identified by a
struct dma_iova_state, which holds some recomputed information
for the transaction which does not change for each page being
mapped.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
include/linux/dma-mapping.h