Skip to contentSkip to conversation

parisc: sata_sil: Add quirk for Samsung SSD 850 drive

RFC PATCH Superseded Helge Deller 1 participant 2 messages Jul 11, 2019 – Jul 13, 2019 libata

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 parisc: sata_sil: Add quirk for Samsung SSD 850 drive

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.

drivers/ata/sata_sil.c +1 -0
index 25b6a52be5ab..8b8522d9166c 100644
@@ -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 },
 	{ }
 };
#1 lore raw

RFC PATCH v2 1/1 parisc: sata_sil: Add quirk for Samsung SSD 850 drive

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.

--------------
Changes in v2:
- Use full ATA identity string

drivers/ata/sata_sil.c +1 -0
index 25b6a52be5ab..9e851534306d 100644
@@ -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 },
 	{ }
 };