Skip to content

Commit a8eebf9

Browse files
BobBeckettkeithbusch
authored andcommitted
nvme-pci: add NVME_QUIRK_DISABLE_WRITE_ZEROES for Kingston OM3SGP4
The Kingston OM3SGP42048K2-A00 (PCI ID 2646:502f) firmware has a race condition when processing concurrent write zeroes and DSM (discard) commands, causing spurious "LBA Out of Range" errors and IOMMU page faults at address 0x0. The issue is reliably triggered by running two concurrent mkfs commands on different partitions of the same drive, which generates interleaved write zeroes and discard operations. Disable write zeroes for this device, matching the pattern used for other Kingston OM* drives that have similar firmware issues. Cc: [email protected] Signed-off-by: Robert Beckett <[email protected]> Assisted-by: claude-opus-4-6-v1 Signed-off-by: Keith Busch <[email protected]>
1 parent 40f0496 commit a8eebf9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/nvme/host/pci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4176,6 +4176,8 @@ static const struct pci_device_id nvme_id_table[] = {
41764176
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
41774177
{ PCI_DEVICE(0x2646, 0x501E), /* KINGSTON OM3PGP4xxxxQ OS21011 NVMe SSD */
41784178
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
4179+
{ PCI_DEVICE(0x2646, 0x502F), /* KINGSTON OM3SGP4xxxxK NVMe SSD */
4180+
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
41794181
{ PCI_DEVICE(0x1f40, 0x1202), /* Netac Technologies Co. NV3000 NVMe SSD */
41804182
.driver_data = NVME_QUIRK_BOGUS_NID, },
41814183
{ PCI_DEVICE(0x1f40, 0x5236), /* Netac Technologies Co. NV7000 NVMe SSD */

0 commit comments

Comments
 (0)