aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvme/host/pci.c
diff options
context:
space:
mode:
authorGravatar Jim.Lin <jim.chihjung.lin@gmail.com> 2023-11-28 10:57:37 +0800
committerGravatar Keith Busch <kbusch@kernel.org> 2024-01-05 13:15:41 -0800
commitbd029a02ce46e77e4d553140b039f93cf78ee8c1 (patch)
tree2811d6631759d0b302ae3cdc88900019795970c7 /drivers/nvme/host/pci.c
parentnvmet-fcloop: Remove remote port from list when unlinking (diff)
downloadlinux-bd029a02ce46e77e4d553140b039f93cf78ee8c1.tar.gz
linux-bd029a02ce46e77e4d553140b039f93cf78ee8c1.tar.bz2
linux-bd029a02ce46e77e4d553140b039f93cf78ee8c1.zip
nvme-pci: disable write zeroes for SK Hynix BC901
SK Hynix BC901 drive write zero will cause Chromebook takes more than 20 mins to switch to developer mode "disable write zeroes" can fix this issue and Sk Hynix has been verified. Signed-off-by: Jim.Lin <jim.lin@siliconmotion.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/pci.c')
-rw-r--r--drivers/nvme/host/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 507bc149046d..f27202680741 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3394,6 +3394,8 @@ static const struct pci_device_id nvme_id_table[] = {
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_DEVICE(0x1c5c, 0x174a), /* SK Hynix P31 SSD */
.driver_data = NVME_QUIRK_BOGUS_NID, },
+ { PCI_DEVICE(0x1c5c, 0x1D59), /* SK Hynix BC901 */
+ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_DEVICE(0x15b7, 0x2001), /* Sandisk Skyhawk */
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_DEVICE(0x1d97, 0x2263), /* SPCC */