[RFC] parisc: sata_sil: Add quirk for Samsung SSD 850 drive
diff mbox series

Message ID 20190711195957.GA26789@ls3530.dellerweb.de
State New
Headers show
Series
  • [RFC] parisc: sata_sil: Add quirk for Samsung SSD 850 drive
Related show

Commit Message

Helge Deller July 11, 2019, 7:59 p.m. UTC
The Samsung SSD 850 drive needs a quirk to limit ATA requests to 15
sectors, otherwise one will face lots of read/write errors.
Alternatively the "sata_sil.slow_down=1" kernel module option can be set
on the command line to limit all attached drives.

Tested on a HP C8000 PA-RISC workstation.

Signed-off-by: Helge Deller <deller@gmx.de>

Patch
diff mbox series

diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c
index 25b6a52be5ab..8b8522d9166c 100644
--- a/drivers/ata/sata_sil.c
+++ b/drivers/ata/sata_sil.c
@@ -141,6 +141,7 @@  static const struct sil_drivelist {
 	{ "ST3120022ASL",	SIL_QUIRK_MOD15WRITE },
 	{ "ST3160021ASL",	SIL_QUIRK_MOD15WRITE },
 	{ "TOSHIBA MK2561GSYN",	SIL_QUIRK_MOD15WRITE },
+	{ "Samsung SSD 850",	SIL_QUIRK_MOD15WRITE },
 	{ "Maxtor 4D060H3",	SIL_QUIRK_UDMA5MAX },
 	{ }
 };