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

Sagi Grimberg sagi at grimberg.me
Mon Jan 15 06:28:36 PST 2024


>> 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

Strange. Not sure why it wouldn't work unless the vendor/device numbers
are off...

> 
> [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