Re: [LSF/MM/BPF TOPIC] [LSF/MM/BPF ATTEND] : Two stage IOMMU DMA mapping operations

Zhu Yanjun
2024-03-04T02:28:14Z

在 2024/3/3 17:43, Zhu Yanjun 写道:
> On 27.02.24 12:30, Leon Romanovsky wrote:
>> On Tue, Feb 27, 2024 at 08:17:27AM +0000, Chaitanya Kulkarni wrote:
>>> Hi,
>>
>> <...>
>>
>>> In order to create a good platform for a concrete and meaningful
>>> discussion at LSFMM 24, we plan to post an RFC within the next two
>>> weeks.
>>
>> The code can be found here
>> https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/log/?h=dma-split
>
> Thanks a lot. I will delve into it. An interesting topic.

The commits should be the followings. I am interested in them.

5d8f8f35859c (HEAD -> dma-split, origin/dma-split) cover-letter: Split
IOMMU DMA mapping operation to two steps
3beffcde0c12 vfio/mlx5: Convert vfio to use DMA link API
acdfef1ccbcb vfio/mlx5: Explicitly store page list
f16314362e66 vfio/mlx5: Rewrite create mkey flow to allow better code reuse
763e753cd6ed vfio/mlx5: Explicitly use number of pages instead of
allocated length
7f58ebf0cfc4 RDMA/umem: Prevent UMEM ODP creation with SWIOTLB
f1c687fde096 RDMA/core: Separate DMA mapping to caching IOVA and page
linkage
ffc81619c60d RDMA/umem: Store ODP access mask information in PFN
67038d9e24fd RDMA/umem: Preallocate and cache IOVA for UMEM ODP
ce141bccd409 iommu/dma: Implement link/unlink page callbacks
1dd12d4a44d1 iommu/dma: Prepare map/unmap page functions to receive IOVA
b9714667f54f iommu/dma: Provide an interface to allow preallocate IOVA
21dbfc7fc2f1 dma-mapping: provide callbacks to link/unlink pages to
specific IOVA
52689a26b87a dma-mapping: provide an interface to allocate IOVA
34f8a8baecaa mm/hmm: let users to tag specific PFNs

Zhu Yanjun

>
> Zhu Yanjun
>
>>
>> Thanks
>>
>>>
>>> Required Attendees list :-
>>>
>>> Christoph Hellwig
>>> Jason Gunthorpe
>>> Jens Axboe
>>> Chuck Lever
>>> David Howells
>>> Keith Busch
>>> Bart Van Assche
>>> Damien Le Moal
>>> Martin Petersen
>>>
>>> -ck
>>>
>>> [1]
>>> https://lore.kernel.org/all/169772852492.5232.17148564580779995849.stgit@klimt.1015granger.net
>>> [2] https://lore.kernel.org/linux-iommu/20200708065014.GA5694@lst.de/
>>>
>>>
>>>
>