lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z-s8x_YyGEYTz8BJ@bombadil.infradead.org>
Date: Mon, 31 Mar 2025 18:09:27 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Leon Romanovsky <leon@...nel.org>, Daniel Gomez <da.gomez@...sung.com>
Cc: Jason Gunthorpe <jgg@...pe.ca>, Robin Murphy <robin.murphy@....com>,
	Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
	Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
	Sagi Grimberg <sagi@...mberg.me>, Keith Busch <kbusch@...nel.org>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	Logan Gunthorpe <logang@...tatee.com>,
	Yishai Hadas <yishaih@...dia.com>,
	Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>,
	Kevin Tian <kevin.tian@...el.com>,
	Alex Williamson <alex.williamson@...hat.com>,
	Marek Szyprowski <m.szyprowski@...sung.com>,
	Jérôme Glisse <jglisse@...hat.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
	linux-rdma@...r.kernel.org, iommu@...ts.linux.dev,
	linux-nvme@...ts.infradead.org, linux-pci@...r.kernel.org,
	kvm@...r.kernel.org, linux-mm@...ck.org,
	Randy Dunlap <rdunlap@...radead.org>
Subject: Re: [PATCH v7 00/17] Provide a new two step DMA mapping API

On Tue, Mar 25, 2025 at 04:41:58PM +0200, Leon Romanovsky wrote:
> On Tue, Mar 25, 2025 at 09:36:37AM -0300, Jason Gunthorpe wrote:
> > On Fri, Mar 21, 2025 at 04:05:22PM +0000, Robin Murphy wrote:
> 
> <...>
> 
> > > So what is it now, a layering violation in a hat with still no clear path to
> > > support SWIOTLB?
> > 
> > I was under the impression Leon had been testing SWIOTLB?
> 
> Yes, SWIOTLB works

We will double check too.

> and Christoph said it more than once that he tested
> NVMe conversion patches and they worked.

We've taken this entire series and the NVMe patches and have built on
top of them. The nvme-pci driver does not have scatter list chaining
support, and we don't want to support that because it is backwards.
Instead, the two step DMA API lets us actually remove all that scatter
list cruft and provide a single solution for direct IO and io-uring
command passthrough to support large IOs [0] [1] and logical block sizes
up to 2 MiB.

We continue to plan to work on this and are happy to test this further.

Clearly, we don't want any regressions on NVMe.

[0] https://lore.kernel.org/all/20250320111328.2841690-1-mcgrof@kernel.org/
[1] https://lore.kernel.org/all/Z9v-1xjl7dD7Tr-H@bombadil.infradead.org/

  Luis

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ