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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250821083824.GC29224@lst.de>
Date: Thu, 21 Aug 2025 10:38:24 +0200
From: Christoph Hellwig <hch@....de>
To: Keith Busch <kbusch@...nel.org>
Cc: John Garry <john.g.garry@...cle.com>, axboe@...nel.dk, hch@....de,
	sagi@...mberg.me, linux-nvme@...ts.infradead.org,
	linux-kernel@...r.kernel.org, tytso@....edu, nilay@...ux.ibm.com,
	martin.petersen@...cle.com, djwong@...nel.org, mcgrof@...radead.org
Subject: Re: [RFC PATCH] nvme: add an opt-in to use AWUPF

On Wed, Aug 20, 2025 at 03:51:02PM -0600, Keith Busch wrote:
> On Wed, Aug 20, 2025 at 03:02:20PM +0000, John Garry wrote:
> > It would be preferred to stop honouring AWUPF altogether, but this may
> > needlessly disable atomic write support for many "good" devices which
> > only specify AWUPF. Currently all validation of controller-related
> > atomics limits is dropped.
> 
> These "good" devices that only report AWUPF, is there some set of
> characteristics that generally applies to all of them? I tried to list
> out conditions for when I think the value could be counted on here:
> 
>   https://lore.kernel.org/linux-nvme/aGvuRS8VmC0JXAR3@kbusch-mbp/
> 
> I just don't know if you know of any devices where that criteria doesn't
> git. If not, maybe we can work with that without introducing more user
> knobs.

Given how broken the field is I'd rather not make any general exception.
If you want to use a device claiming that you use the override and you
are responsible.  NAWUPF has been added in Linux 1.2, and the brokenness
of AWUPF should have been obvious to firmware engineers ever since they
had to deal with multiple LBA formats.  There's really no excuse for not
supporting the sane version that is a trivial firmware addition.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ