Commit bd029a02 authored by Jim.Lin's avatar Jim.Lin Committed by Keith Busch
Browse files

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: default avatarJim.Lin <jim.lin@siliconmotion.com>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent f644d21b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 */