diff mbox series

[v2,RFC] parisc: sata_sil: Add quirk for Samsung SSD 850 drive

Message ID 20190713130854.GA6688@ls3530.dellerweb.de (mailing list archive)
State RFC, archived
Headers show
Series [v2,RFC] parisc: sata_sil: Add quirk for Samsung SSD 850 drive | expand

Commit Message

Helge Deller July 13, 2019, 1:08 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>

--------------
Changes in v2:
- Use full ATA identity string
diff mbox series

Patch

diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c
index 25b6a52be5ab..9e851534306d 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 EVO 250GB", SIL_QUIRK_MOD15WRITE },
 	{ "Maxtor 4D060H3",	SIL_QUIRK_UDMA5MAX },
 	{ }
 };