linux-stable/drivers/nvme/host
Jiawei Fu (iBug) de009f4612 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:10:10 +02:00
..
apple.c nvme: use ctrl state accessor 2024-01-29 07:02:50 -08:00
auth.c nvme: enable retries for authentication commands 2024-01-31 15:59:48 -08:00
constants.c nvme: remove redundant status mask 2024-01-31 16:06:12 -08:00
core.c nvme: fix reconnection fail due to reserved tag allocation 2024-03-26 18:17:33 -04:00
fabrics.c nvme-fabrics: fix I/O connect error handling 2024-02-13 08:16:10 -08:00
fabrics.h nvme: fix reconnection fail due to reserved tag allocation 2024-03-26 18:17:33 -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: show hostnqn when connecting to fc target 2024-02-01 07:44:52 -08: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: use ns->head->pi_size instead of t10_pi_tuple structure size 2024-02-07 15:49:36 -08:00
Kconfig nvme: improve NVME_HOST_AUTH and NVME_TARGET_AUTH config descriptions 2023-12-04 08:39:03 -08:00
Makefile nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
multipath.c nvme: use ctrl state accessor 2024-01-29 07:02:50 -08:00
nvme.h nvme: move passthrough logging attribute to head 2024-02-07 10:30:47 -08:00
pci.c drivers/nvme: Add quirks for device 126f:2262 2024-04-13 13:10:10 +02:00
pr.c nvme: introduce nvme_disk_is_ns_head helper 2024-01-05 13:15:41 -08:00
rdma.c nvme-rdma: show hostnqn when connecting to rdma target 2024-02-01 07:44:52 -08:00
sysfs.c nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse() 2024-03-26 18:16:29 -04:00
tcp.c nvme-tcp: show hostnqn when connecting to tcp target 2024-02-01 07:44:52 -08:00
trace.c
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c nvme udpates for Linux 6.8 2023-12-21 14:44:17 -07:00