From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5C2F138A for ; Mon, 4 Mar 2024 02:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709519287; cv=none; b=bFd3wR0DCp0ugv3tfAAf7F5I51UixjYL8rLpyAuPNLW/XRCBEW2OTBARTfvzsuWMO/rDkAIIxY0SkWkloHiCE+SshH9nkk1fIPPKVxnIx3iYjEQlUsO1WxvStMwxeE2LqNgtjKDTRakY8+9xa/h+gwjC5WEApR1YPuH/YHCEUc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709519287; c=relaxed/simple; bh=Lxi/GwcyHffRZyDkM6ZiyzHoAvkPz9PAdQ08ZI1MKn4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eX1xV0fjsH0w7k2u8Q3g6GeZ48IjanEy8IhbY+l8l5T65Bgs9dvZbhQ3OE86v0tm4XyLWqrBBLnPQu50KgYslvXnVrPORUGkYiqBg4jMG4v8aX7x+z82LHvYxbQIuJOsFbfuHvPbRQOUAHoKv3pzQT+lmBw6e0hLmtXFFCsKf5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=GFbyjr7F; arc=none smtp.client-ip=95.215.58.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="GFbyjr7F" Message-ID: <22df55f8-cf64-4aa8-8c0b-b556c867b926@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709519282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AwmaRBK9f4xeTr2KKIZaEkYuoxsnConkJ3QY8WkxaG4=; b=GFbyjr7FhhwloIRGYJbvYR2kjPjcVdcWEeIEFJysy6dwcV7/jHlDBt/GAmHusvPsiaRlNZ UB7rrqP99IQeHRy17j5j5Kx45ucggNjfStR4c5A4+uGW1Gcy07R2jku2TzogQkWFWGB+PJ j/QAT+SkCeRTAFVbxsPeNebm/D8kfjk= Date: Mon, 4 Mar 2024 03:27:52 +0100 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [LSF/MM/BPF TOPIC] [LSF/MM/BPF ATTEND] : Two stage IOMMU DMA mapping operations To: Zhu Yanjun , Leon Romanovsky , Chaitanya Kulkarni Cc: "lsf-pc@lists.linux-foundation.org" , "linux-block@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "iommu@lists.linux.dev" , linux-rdma , "linux-mm@kvack.org" , Jens Axboe , Bart Van Assche , "kbusch@kernel.org" , Damien Le Moal , Amir Goldstein , "josef@toxicpanda.com" , "Martin K. Petersen" , "daniel@iogearbox.net" , Christoph Hellwig , Dan Williams , "jack@suse.com" , Jason Gunthorpe , Chuck Lever References: <97f385db-42c9-4c04-8fba-9b1ba8ffc525@nvidia.com> <20240227113007.GD1842804@unreal> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 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/ >>> >>> >>> >