Re: [PATCH RFC] PCI: Start the reset of WD PC SN730 NVMe controllers early

From: Christoph Hellwig

Date: Thu Nov 12 2026 - 18:15:34 EST


On Wed, Nov 11, 2026 at 05:31:43PM +0100, Paul Menzel wrote:
> devmem, works: the driver finds CSTS.RDY clear and continues, the reset
> completed within the first poll in 29 of 30 boots (35 polls once), and
> none of the 30 boots showed a slow reset, enable or read, against 8 of
> 90 without it. The difference is not yet significant (p = 0.1).
>
> So start the reset in a final fixup during enumeration, at 0.19 s on
> this machine, about 100 ms before nvme probes, which overlaps a slow
> reset with the remaining kernel initialization and the module loading,
> and costs nothing for fast ones.

Umm, no. PCI quirks are not a way to speed up slow device
initialization, which while annoying is not a bug per se.