From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 777E0181334; Thu, 12 Dec 2024 08:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733992506; cv=none; b=e3bBSZgcRlzsaiT3O+c6dSd0KVTkHIZh17ZrXBy1pFkGzz3HGRRPoPqNyHndxsKW8LVAA49U4AZrWVlOXHiFYS6PgXMnvj7eRblMrvYZnJu8Api33hHHfLA/5Fkz0oe2OsrWIUJ8qqaNdZB+Hen6NB0WzCJqhhA665782nebdhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733992506; c=relaxed/simple; bh=rrBYBkbHZcn5I1aF3U8lL3NmmSK4aCBmuavcvGmQk1k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y2wEGGQBSNYY54z64MEUblfnnLxnI6rARNViD04pk+x4xzmwlDJ2SYc67TdikV3Rsok+QjR4EKjGPDOhJI80Yn26QU3bBWoS9zjIuDcfZ1T3isEBDbh1rg+nnhLl8FD0eQzWPbeTi51j2AQPjW84gRznfp7MfcHo4p/zRz96qwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id AE9AF68D12; Thu, 12 Dec 2024 09:34:59 +0100 (CET) Date: Thu, 12 Dec 2024 09:34:59 +0100 From: Christoph Hellwig To: Leon Romanovsky Cc: Jens Axboe , Jason Gunthorpe , Robin Murphy , Joerg Roedel , Will Deacon , Christoph Hellwig , Sagi Grimberg , Leon Romanovsky , Keith Busch , Bjorn Helgaas , Logan Gunthorpe , Yishai Hadas , Shameer Kolothum , Kevin Tian , Alex Williamson , Marek Szyprowski , =?iso-8859-1?B?Suly9G1l?= Glisse , Andrew Morton , Jonathan Corbet , 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, Randy Dunlap Subject: Re: [PATCH v4 05/18] dma-mapping: Add check if IOVA can be used Message-ID: <20241212083459.GB9376@lst.de> References: Precedence: bulk X-Mailing-List: linux-kernel@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: User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Dec 05, 2024 at 03:21:04PM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky > > 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. While the content of the patch here looks fine, the super fine grained patch split look really odd and makes sensible review hard. Was this a request on one of the earlier versions?