From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5C7203A1BA; Sat, 26 Apr 2025 00:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745628725; cv=none; b=r2eySnQ8eUbprzHfUWRcYLUTUwO1D1osBdf0wzd3umA8o4rZPiHlEHMhCVzfQ78H1Xy5QPcSfIvZ/jYkI4zVkUCTJXk6ecDkka+r34L5qAvvWDPAY7BdcM5xTP63DhnouX/FgeaLkXqYC0SKMSV19YT4GjTeN8cYcyBMc37XgsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745628725; c=relaxed/simple; bh=vS960RN8eoznhuaOAbkLk3VNvo6fl9t3ybOtAhS+oxI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TpQw6gjCikd0xJPnUxeXBHQ6iXkRI9Gr5Da1DFTRSYVrI0N1z2ojWoKres1AI6LCVK+IDFIsJIcEgewyNN29AzSwCtdxLvay1ypeb2DYR3s6MLKC6OySV77LHoaNhphNoGyd0x0hJlGvFgaTAA33qNSRuiQIeusXFAByGyJWaNo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o0knlVac; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o0knlVac" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF217C4CEE4; Sat, 26 Apr 2025 00:52:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745628724; bh=vS960RN8eoznhuaOAbkLk3VNvo6fl9t3ybOtAhS+oxI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o0knlVacjd58fKaCv8W4WgMSAjurA8qjNdSrVkIqhnTxhCS2Xljmgu2cICXBDsYYr OfXyt6i600xsrD20SrzjLSVs+N4otmMZ84yBX4K/P6PYEbfRjJDtkPhxXLK0RgWJll 3CdpyOs1DtyoAmEHFuDJ6Qg34sSmxKxo3O6IiObCP8Zp4VQZ+Tjqw/E1IKwoBHhsIk Q2jkrzUFV5ZON9p1uYvMAV2yZO5y0BluyblQjBpeKYxVpi70Ty1ZWVNV6EB4MDnNj8 DqN8txJfMQy3COKXPJWUCYsvWcNg8LLurWldjBa586FP8IuXAYU+kVIBUCJqYa0N0f Gm2ccqz/e76xw== Date: Fri, 25 Apr 2025 17:52:02 -0700 From: Luis Chamberlain To: Leon Romanovsky Cc: Marek Szyprowski , Jens Axboe , Christoph Hellwig , Keith Busch , Jake Edge , Jonathan Corbet , Jason Gunthorpe , Zhu Yanjun , Robin Murphy , Joerg Roedel , Will Deacon , Sagi Grimberg , Bjorn Helgaas , Logan Gunthorpe , Yishai Hadas , Shameer Kolothum , Kevin Tian , Alex Williamson , =?iso-8859-1?B?Suly9G1l?= Glisse , Andrew Morton , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, Niklas Schnelle , Chuck Lever , Matthew Wilcox , Dan Williams , Kanchan Joshi , Chaitanya Kulkarni , Leon Romanovsky Subject: Re: [PATCH v9 03/24] iommu: generalize the batched sync after map interface Message-ID: References: <2ce6a74ddf5e13a7fdb731984aa781a15f17749d.1745394536.git.leon@kernel.org> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ce6a74ddf5e13a7fdb731984aa781a15f17749d.1745394536.git.leon@kernel.org> On Wed, Apr 23, 2025 at 11:12:54AM +0300, Leon Romanovsky wrote: > From: Christoph Hellwig > > For the upcoming IOVA-based DMA API we want to use the interface batch the > sync after mapping multiple entries from dma-iommu without having a > scatterlist. This reads odd, how about: For the upcoming IOVA-based DMA API, we want to batch the sync operation after mapping multiple entries from dma-iommu without requiring a scatterlist. Other than that: Reviewed-by: Luis Chamberlain Luis