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 4EC9A1EDA27; Sun, 20 Apr 2025 07:09:51 +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=1745132992; cv=none; b=Wq+dCA2qI5tTq5LkoU1VgacLUtKSHJ5d25cgtvsZ5uIo5icHH9cKdmyjqCCAdlX16XGc9qYnhWAI3lVjJfymyg3uxXSSUmGFH3GXSQPxNNGf5K2XOi6i88+wVxoT2ivpEUCZ9Xww0Ij6yT3EHEW2YdwhplMnih3fPwY93DysTv4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745132992; c=relaxed/simple; bh=DnPJAtQCAT1601If/hRz83wTZ4UHqcQsShHrfo6H7rM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hNT2VaoMwH/yFx+hEwwhHAISx952WB6Zkjmh2hXQXi2d0kw5+qSM0Pb+sJUAvqZWu9rQcOlvCMgWxJvrofwfu4gdfCEwir364NAX3G3/a8V9FKWrJyKNtjsAjzIgtaCxEr2vQhf1c37dOkoAGpa7h0TulajmXKwaRuuMV0P8kPM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RDz9qVfp; 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="RDz9qVfp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 858A7C4CEE2; Sun, 20 Apr 2025 07:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745132991; bh=DnPJAtQCAT1601If/hRz83wTZ4UHqcQsShHrfo6H7rM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RDz9qVfpkRY4EAI36WaskxJdBPEHUlHFbAqFkCaVljTQw2lc/CZWqFZnCOm8MUu+u UrnadqItcqjJX8psssUB220xLgoCNkTErsCMMfM+LcQNv/lN9+7iyBAixDzSSYRERs 9QvymfQ6DxqnBDFAPnDfrK3vcmVwiHkXZQebyeCwLRbHisYArdA1/1Ng8W7pTvxGdN ExFInLH9/9MK/zmr0slhL5h+cLRxxF3IiVZqx3CiPDDOuIqmNXHF3wJ8GD6rscX14G v8WEpFME6iQdRojmcM1vpWqjFnfXt8wLrQZoE00EvORp7GOiurN3OrarLMgd6b2C6G j2uwfP3dJ++Dg== Date: Sun, 20 Apr 2025 10:09:46 +0300 From: Leon Romanovsky To: ALOK TIWARI 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 , Luis Chamberlain , Matthew Wilcox , Dan Williams , Kanchan Joshi , Chaitanya Kulkarni Subject: Re: [PATCH v8 20/24] blk-mq: add scatterlist-less DMA mapping helpers Message-ID: <20250420070946.GA10635@unreal> References: <87b151a3791d71e58ec6f1b42bcf5fe06304cf80.1744825142.git.leon@kernel.org> <65b0070e-3386-4725-8e8a-15b0409b8368@oracle.com> Precedence: bulk X-Mailing-List: linux-pci@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: <65b0070e-3386-4725-8e8a-15b0409b8368@oracle.com> On Fri, Apr 18, 2025 at 11:33:09PM +0530, ALOK TIWARI wrote: > > > > + * Start DMA mapping @req to @dma_dev. @state and @iter are provided by the > > + * caller and don't need to be initialized. @state needs to be stored for use > > + * at unmap time, @iter is only needed at map time. > > + * > > + * Returns %false if there is no segment to map, including due to an error, or > > + * %true it it did map a segment. > > typo - it it -> if it Thanks, will fix all types on my dma-split-wip branch.