Skip to content

Commit bbba99c

Browse files
opsiffjfvogel
authored andcommitted
nvme-pci: add quirks for device 126f:1001
[ Upstream commit 5b960f92ac3e5b4d7f60a506a6b6735eead1da01 ] This commit adds NVME_QUIRK_NO_DEEPEST_PS and NVME_QUIRK_BOGUS_NID for device [126f:1001]. It is similar to commit e89086c ("drivers/nvme: Add quirks for device 126f:2262") Diff is according the dmesg, use NVME_QUIRK_IGNORE_DEV_SUBNQN. dmesg | grep -i nvme0: nvme nvme0: pci function 0000:01:00.0 nvme nvme0: missing or invalid SUBNQN field. nvme nvme0: 12/0/0 default/read/poll queues Link:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e89086c43f0500bc7c4ce225495b73b8ce234c1f Signed-off-by: Wentao Guan <[email protected]> Signed-off-by: WangYuli <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit ff214b079d55ed596b7e820d2a3a5a6116434f19) Signed-off-by: Jack Vogel <[email protected]>
1 parent c7a4cbb commit bbba99c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/nvme/host/pci.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3586,6 +3586,9 @@ static const struct pci_device_id nvme_id_table[] = {
35863586
.driver_data = NVME_QUIRK_BOGUS_NID, },
35873587
{ PCI_DEVICE(0x1217, 0x8760), /* O2 Micro 64GB Steam Deck */
35883588
.driver_data = NVME_QUIRK_DMAPOOL_ALIGN_512, },
3589+
{ PCI_DEVICE(0x126f, 0x1001), /* Silicon Motion generic */
3590+
.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
3591+
NVME_QUIRK_IGNORE_DEV_SUBNQN, },
35893592
{ PCI_DEVICE(0x126f, 0x2262), /* Silicon Motion generic */
35903593
.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
35913594
NVME_QUIRK_BOGUS_NID, },

0 commit comments

Comments
 (0)