hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Sat, 18 Jul 2020 12:32:10 +0000 (14:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:34:23 +0000 (09:34 +0200)
commit10a95be445ebf444116623f2134845ca3aa6a688
tree6fda2ef5b570b6847597f78503d1457df5ffd2fe
parent49482b9b39cd55146cb12c16bb7e484488b853d4
hwmon: (drivetemp) Avoid SCT usage on Toshiba DT01ACA family drives

commit c66ef39eb27fe123ee05082b90eb2985c33c7715 upstream.

It has been observed that Toshiba DT01ACA family drives have
WRITE FPDMA QUEUED command timeouts and sometimes just freeze until
power-cycled under heavy write loads when their temperature is getting
polled in SCT mode. The SMART mode seems to be fine, though.

Let's make sure we don't use SCT mode for these drives then.

While only the 3 TB model was actually caught exhibiting the problem let's
play safe here to avoid data corruption and extend the ban to the whole
family.

Fixes: 5b46903d8bf3 ("hwmon: Driver for disk and solid state drives with temperature sensors")
Cc: stable@vger.kernel.org
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Link: https://lore.kernel.org/r/0cb2e7022b66c6d21d3f189a12a97878d0e7511b.1595075458.git.mail@maciej.szmigiero.name
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/drivetemp.c