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 768D04C6E; Sun, 21 Sep 2025 00:47:32 +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=1758415654; cv=none; b=EN6Ukh0pMeVxnOit3hlWjZpz8p3Gtb4rr8RorzF+n0fAM+HCXyat7umCMAl6e9gzoHM3tkS1/ROknF8LcGuspF4rpPinSzf7LXiwMbe2L3aNd69Us4isa2Qi/El88Klr8hWkdV+FhSX/3RqCiosUMJ8Xv9Ok3FhvrtJtJmp95QA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758415654; c=relaxed/simple; bh=aFgKZNQUQCaJ2vrroedLHD+DNPOlwj6GGUlnWjzhG5w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H8cqd+3rQJtjPfDYmvqGjvEijsYtdgcEF2RtqhYNYac69UuPNDlcjVvudazsMs1Q6b2LV5/0mvOBuDbYf3YKe9iJNiVk0qneYHxhs/MMgSCn24qYSUvSypwLSZNvPyypPXolDjNgk9lvR6/IC0KAkLtBciZcQSmRbBkuFCFye1s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fLUxwzDv; 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="fLUxwzDv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F266C4CEEB; Sun, 21 Sep 2025 00:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758415652; bh=aFgKZNQUQCaJ2vrroedLHD+DNPOlwj6GGUlnWjzhG5w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fLUxwzDvBQpVLTwxkVcEMGkM0isY6OG/nLB20SsNVXIRKxxZrAbNIPP/lH+JLvuUn Kib9NA0Qx8ucaR4Lud4LpP66fHzAfy4YMg/WGXGCNSBD/snmzPLJ/GJr5uZM4GRPA4 FmPuCrywKU63yNMwT+i1LUerAAz4LYMUpnupPis0tcH13QBvBt9TCQlrhzdIw9AGje 8PZjHxaN7jKNeL5CBfGmMNjS4nLwafvguDKC8M88c1TuvUDa7uTmWsQUU6EjD9ZRCh q7PhsUzYYnzKkPRC+D+A2gtlVl3c6gXMUqXDS+5w81SLBHHJjwyUZmv9q7TG8Bge2K OMtCSqZskSdHw== Date: Sat, 20 Sep 2025 18:47:27 -0600 From: Keith Busch To: Leon Romanovsky Cc: Marek Szyprowski , Jason Gunthorpe , Abdiel Janulgue , Alexander Potapenko , Alex Gaynor , Andrew Morton , Christoph Hellwig , Danilo Krummrich , David Hildenbrand , iommu@lists.linux.dev, Jason Wang , Jens Axboe , Joerg Roedel , Jonathan Corbet , Juergen Gross , kasan-dev@googlegroups.com, linux-block@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-nvme@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-trace-kernel@vger.kernel.org, Madhavan Srinivasan , Masami Hiramatsu , Michael Ellerman , "Michael S. Tsirkin" , Miguel Ojeda , Robin Murphy , rust-for-linux@vger.kernel.org, Sagi Grimberg , Stefano Stabellini , Steven Rostedt , virtualization@lists.linux.dev, Will Deacon , xen-devel@lists.xenproject.org Subject: Re: [PATCH v6 00/16] dma-mapping: migrate to physical address-based API Message-ID: References: <0db9bce5-40df-4cf5-85ab-f032c67d5c71@samsung.com> <20250912090327.GU341237@unreal> <20250920155352.GH10800@unreal> Precedence: bulk X-Mailing-List: rust-for-linux@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: <20250920155352.GH10800@unreal> On Sat, Sep 20, 2025 at 06:53:52PM +0300, Leon Romanovsky wrote: > On Fri, Sep 19, 2025 at 10:08:21AM -0600, Keith Busch wrote: > > On Fri, Sep 12, 2025 at 12:03:27PM +0300, Leon Romanovsky wrote: > > > On Fri, Sep 12, 2025 at 12:25:38AM +0200, Marek Szyprowski wrote: > > > > > > > > > > This series does the core code and modern flows. A followup series > > > > > will give the same treatment to the legacy dma_ops implementation. > > > > > > > > Applied patches 1-13 into dma-mapping-for-next branch. Let's check if it > > > > works fine in linux-next. > > > > > > Thanks a lot. > > > > Just fyi, when dma debug is enabled, we're seeing this new warning > > below. I have not had a chance to look into it yet, so I'm just > > reporting the observation. > > Did you apply all patches or only Marek's branch? > I don't get this warning when I run my NVMe tests on current dmabuf-vfio branch. This was the snapshot of linux-next from the 20250918 tag. It doesn't have the full patchset applied. One other thing to note, this was runing on arm64 platform using smmu configured with 64k pages. If your iommu granule is 4k instead, we wouldn't use the blk_dma_map_direct path.