WSL2-Linux-Kernel/drivers/nvme/host
Jiawei Fu (iBug) e2ce8625c3 drivers/nvme: Add quirks for device 126f:2262
[ Upstream commit e89086c43f0500bc7c4ce225495b73b8ce234c1f ]

This commit adds NVME_QUIRK_NO_DEEPEST_PS and NVME_QUIRK_BOGUS_NID for
device [126f:2262], which appears to be a generic VID:PID pair used for
many SSDs based on the Silicon Motion SM2262/SM2262EN controller.

Two of my SSDs with this VID:PID pair exhibit the same behavior:

  * They frequently have trouble exiting the deepest power state (5),
    resulting in the entire disk unresponsive.
    Verified by setting nvme_core.default_ps_max_latency_us=10000 and
    observing them behaving normally.
  * They produce all-zero nguid and eui64 with `nvme id-ns` command.

The offending products are:

  * HP SSD EX950 1TB
  * HIKVISION C2000Pro 2TB

Signed-off-by: Jiawei Fu <i@ibugone.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 13:01:46 +02:00
..
Kconfig nvme: Have NVME_FABRICS select NVME_CORE instead of transport drivers 2021-08-16 21:03:18 +02:00
Makefile remove the lightnvm subsystem 2021-08-14 15:54:09 -06:00
core.c nvme: fix miss command type check 2024-04-10 16:19:43 +02:00
fabrics.c nvme-fabrics: remove superfluous nvmf_host_put in nvmf_parse_options 2021-08-16 14:42:23 +02:00
fabrics.h nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts() 2022-02-08 18:34:05 +01:00
fault_inject.c
fc.c nvme-fc: do not wait in vain when unloading module 2024-03-01 13:21:45 +01:00
fc.h
hwmon.c nvme-pci: add quirk for missing secondary temperature thresholds 2023-06-09 10:32:22 +02:00
ioctl.c nvme: restrict management ioctls to admin 2022-11-26 09:24:48 +01:00
multipath.c nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk 2023-06-09 10:32:26 +02:00
nvme.h nvme: introduce helper function to get ctrl state 2024-01-25 14:52:28 -08:00
pci.c drivers/nvme: Add quirks for device 126f:2262 2024-04-13 13:01:46 +02:00
rdma.c nvme-rdma: do not try to stop unallocated queues 2023-10-25 11:59:02 +02:00
tcp.c nvme-tcp: fix potential unbalanced freeze & unfreeze 2023-08-16 18:22:03 +02:00
trace.c nvme: add set feature tracing support 2021-08-16 14:42:23 +02:00
trace.h nvme: fix async event trace event 2023-05-11 23:00:28 +09:00
zns.c nvme: split nvme_report_zones 2021-06-03 10:29:26 +03:00