kernel_samsung_a53x/drivers/nvme/host
Jiawei Fu (iBug) 119d263e25 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-11-19 09:23:15 +01:00
..
core.c nvme-core: check for too small lba shift 2024-11-18 12:12:12 +01:00
fabrics.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fabrics.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fault_inject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fc.c nvme-fc: do not wait in vain when unloading module 2024-11-18 22:25:33 +01:00
fc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lightnvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multipath.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvme.h nvme: introduce helper function to get ctrl state 2024-11-18 12:12:15 +01:00
pci.c drivers/nvme: Add quirks for device 126f:2262 2024-11-19 09:23:15 +01:00
rdma.c nvme-rdma: do not try to stop unallocated queues 2024-11-08 11:26:19 +01:00
tcp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Revert "nvme: use command_id instead of req->tag in trace_nvme_complete_rq()" 2024-11-18 12:12:11 +01:00
zns.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00