Skip to content

Commit 43047e0

Browse files
rasheedhsuehChristoph Hellwig
authored andcommitted
nvme-pci: disable write zeros support on UMIC and Samsung SSDs
Like commit 5611ec2 ("nvme-pci: prevent SK hynix PC400 from using Write Zeroes command"), UMIS and Samsung has the same issue: [ 6305.633887] blk_update_request: operation not supported error, dev nvme0n1, sector 340812032 op 0x9:(WRITE_ZEROES) flags 0x0 phys_seg 0 prio class 0 So also disable Write Zeroes command on UMIS and Samsung. Signed-off-by: rasheed.hsueh <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 6b961bc commit 43047e0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/nvme/host/pci.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3482,6 +3482,14 @@ static const struct pci_device_id nvme_id_table[] = {
34823482
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
34833483
{ PCI_DEVICE(0x1d97, 0x2263), /* SPCC */
34843484
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
3485+
{ PCI_DEVICE(0x144d, 0xa80b), /* Samsung PM9B1 256G and 512G */
3486+
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
3487+
{ PCI_DEVICE(0x144d, 0xa809), /* Samsung MZALQ256HBJD 256G */
3488+
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
3489+
{ PCI_DEVICE(0x1cc4, 0x6303), /* UMIS RPJTJ512MGE1QDY 512G */
3490+
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
3491+
{ PCI_DEVICE(0x1cc4, 0x6302), /* UMIS RPJTJ256MGE1QDY 256G */
3492+
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
34853493
{ PCI_DEVICE(0x2646, 0x2262), /* KINGSTON SKC2000 NVMe SSD */
34863494
.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
34873495
{ PCI_DEVICE(0x2646, 0x2263), /* KINGSTON A2000 NVMe SSD */

0 commit comments

Comments
 (0)