OpenCloudOS-Kernel/drivers/nvme/host
Tatsuki Sugiura a3a9d63dcd NVMe: Add MAXIO 1602 to bogus nid list.
HIKSEMI FUTURE M.2 SSD uses the same dummy nguid and eui64.
I confirmed it with my two devices.

This patch marks the controller as NVME_QUIRK_BOGUS_NID.

---------------------------------------------------------
sugi@tempest:~% sudo nvme id-ctrl /dev/nvme0
NVME Identify Controller:
vid       : 0x1e4b
ssvid     : 0x1e4b
sn        : 30096022612
mn        : HS-SSD-FUTURE 2048G
fr        : SN10542
rab       : 0
ieee      : 000000
cmic      : 0
mdts      : 7
cntlid    : 0
ver       : 0x10400
rtd3r     : 0x7a120
rtd3e     : 0x1e8480
oaes      : 0x200
ctratt    : 0x2
rrls      : 0
cntrltype : 1
fguid     : 00000000-0000-0000-0000-000000000000
<snip...>
---------------------------------------------------------

---------------------------------------------------------
sugi@tempest:~% sudo nvme id-ns /dev/nvme0n1
NVME Identify Namespace 1:
<snip...>
nguid   : 00000000000000000000000000000000
eui64   : 0000000000000002
lbaf  0 : ms:0   lbads:9  rp:0 (in use)
---------------------------------------------------------

Signed-off-by: Tatsuki Sugiura <sugi@nemui.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2023-05-26 08:21:50 -07:00
..
Kconfig nvme-auth: Diffie-Hellman key exchange support 2022-08-02 17:14:49 -06:00
Makefile nvme: don't always build constants.o 2022-08-02 17:22:48 -06:00
apple.c nvme-apple: return directly instead of else 2023-04-13 08:55:06 +02:00
auth.c block-6.3-2023-03-03 2023-03-03 10:21:39 -08:00
constants.c nvme: add nvme_opcode_str function for all nvme cmd types 2023-02-01 14:22:00 +01:00
core.c Merge tag 'nvme-6.4-2023-05-18' of git://git.infradead.org/nvme into block-6.4 2023-05-18 19:46:42 -06:00
fabrics.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
fabrics.h nvme-fabrics: show well known discovery name 2023-02-28 06:14:44 -07:00
fault_inject.c block: remove the ->rq_disk field in struct request 2021-11-29 06:41:29 -07:00
fc.c drivers: remove struct module * setting from struct class 2023-03-17 15:16:27 +01:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme-pci: add quirk for missing secondary temperature thresholds 2023-05-03 18:11:43 +02:00
ioctl.c io_uring: Pass whole sqe to commands 2023-05-04 08:19:05 -06:00
multipath.c Merge tag 'nvme-6.4-2023-05-18' of git://git.infradead.org/nvme into block-6.4 2023-05-18 19:46:42 -06:00
nvme.h nvme-pci: add quirk for missing secondary temperature thresholds 2023-05-03 18:11:43 +02:00
pci.c NVMe: Add MAXIO 1602 to bogus nid list. 2023-05-26 08:21:50 -07:00
rdma.c blk-mq-rdma: remove queue mapping helper for rdma devices 2023-04-13 08:59:05 +02:00
tcp.c for-6.4/block-2023-04-21 2023-04-26 12:52:58 -07:00
trace.c nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c block: pass a gendisk to blk_queue_max_open_zones and blk_queue_max_active_zones 2022-07-06 06:46:26 -06:00