[PATCH] nvme: Add quirk to fix hang issue on SanDisk SSD

Saúl Valdelvira saul at saulv.es
Mon Jan 15 05:44:49 PST 2024


On Mon, Jan 15, 2024 at 02:48:11PM +0200, Sagi Grimberg wrote:
> Is this specific to a certain fw version? otherwise this should perhaps
> live in the device ids table in pci.c ?

I'm not sure. I'm trying to check if there's a newer firmware version
for this drive, but the manufacturer's page [1] says "Firmware updates
are automatically handled by the Western Digital SSD Dashboard app and
apply to Windows exclusive systems", so I don't know if I'll be able to
update the firmware to check that.

About pci.c, I also tried adding an entry there like this:
    { PCI_DEVICE(0x15b7,0x5003),
              .driver_data = NVME_QUIRK_NO_DEEPEST_PS },

However, it didn't fix the problem. The only way I've managed it to work is
by adding the entry to the core_quirks table in core.c

[1] https://support-es.wd.com/app/answers/detailweb/a_id/47188/~/p%C3%A1gina-de-soporte-e-informaci%C3%B3n-de-western-digital-pc-sn520-nvme-ssd



More information about the Linux-nvme mailing list