]> www.infradead.org Git - users/hch/block.git/commit
dma-mapping: set and query DMA IOVA state
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 4 Apr 2024 12:08:40 +0000 (15:08 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 3 Oct 2024 16:05:52 +0000 (19:05 +0300)
commita3f49da23c837ad1099d8df0fcfa1490a3232b19
tree029290f8d4533d8912a924b3ec27811fb954b3a0
parent3a3a931ee872aa98c7311af27dc3073eb6abaf10
dma-mapping: set and query DMA IOVA state

Provide an option to query and set if IOMMU path can be taken.
Callers who supply range of pages can perform it only once as
the whole range is supposed to have same memory type.

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