linux-stable/drivers/nvme/host
Jiawei Fu (iBug) 5e11bacff0 drivers/nvme: Add quirks for device 126f:2262
[ Upstream commit e89086c43f ]

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:07:39 +02:00
..
apple.c nvme-apple: return directly instead of else 2023-04-13 08:55:06 +02:00
auth.c nvme-auth: set explanation code for failure2 msgs 2023-12-20 17:01:57 +01:00
constants.c nvme fixes for Linux 6.5 2023-06-30 14:04:08 -06:00
core.c nvme: fix reconnection fail due to reserved tag allocation 2024-03-26 18:20:09 -04:00
fabrics.c nvme: blank out authentication fabrics options if not configured 2023-12-03 07:33:06 +01:00
fabrics.h nvme: fix reconnection fail due to reserved tag allocation 2024-03-26 18:20:09 -04:00
fault_inject.c nvme: fix parameter check in nvme_fault_inject_init() 2023-07-12 08:48:33 -07:00
fc.c nvme-fc: do not wait in vain when unloading module 2024-03-01 13:34:52 +01:00
fc.h
hwmon.c nvme: host: hwmon: constify pointers to hwmon_channel_info 2023-08-21 12:54:02 -07:00
ioctl.c nvme-ioctl: move capable() admin check to the end 2024-01-20 11:51:41 +01:00
Kconfig
Makefile SCSI misc on 20230629 2023-06-30 11:57:07 -07:00
multipath.c nvme fixes for Linux 6.5 2023-06-30 14:04:08 -06:00
nvme.h nvme: fix deadlock between reset and scan 2024-01-20 11:51:41 +01:00
pci.c drivers/nvme: Add quirks for device 126f:2262 2024-04-13 13:07:39 +02:00
pr.c nvme: Add pr_ops read_reservation support 2023-04-11 21:55:36 -04:00
rdma.c nvme: ensure reset state check ordering 2024-01-20 11:51:41 +01:00
sysfs.c nvme: warn only once for legacy uuid attribute 2023-07-12 08:48:19 -07:00
tcp.c nvme: ensure reset state check ordering 2024-01-20 11:51:41 +01:00
trace.c
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c scsi: nvme: zns: Set zone limits before revalidating zones 2023-07-05 21:58:10 -04:00