summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-07-18 18:40:00 -0400
committerTejun Heo <tj@kernel.org>2016-07-18 18:40:00 -0400
commit1488a1e3828d60d74c9b802a05e24c0487babe4e (patch)
tree6ae3fe780fbd7523917ad6ceebadf4be0857de6b /drivers
parent76bf3441ad6584ddc3aea1501927f21b21ba3a3a (diff)
downloadlinux-rpi3-1488a1e3828d60d74c9b802a05e24c0487babe4e.tar.gz
linux-rpi3-1488a1e3828d60d74c9b802a05e24c0487babe4e.tar.bz2
linux-rpi3-1488a1e3828d60d74c9b802a05e24c0487babe4e.zip
libata: LITE-ON CX1-JB256-HP needs lower max_sectors
Since 34b48db66e08 ("block: remove artifical max_hw_sectors cap"), max_sectors is no longer limited to BLK_DEF_MAX_SECTORS and LITE-ON CX1-JB256-HP keeps timing out with higher max_sectors. Revert it to the previous value. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: dgerasimov@gmail.com Link: https://bugzilla.kernel.org/show_bug.cgi?id=121671 Cc: stable@vger.kernel.org # v3.19+ Fixes: 34b48db66e08 ("block: remove artifical max_hw_sectors cap") Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/libata-core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 6be7770f68e9..31c183aed368 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4314,6 +4314,12 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
*/
{ "ST380013AS", "3.20", ATA_HORKAGE_MAX_SEC_1024 },
+ /*
+ * Device times out with higher max sects.
+ * https://bugzilla.kernel.org/show_bug.cgi?id=121671
+ */
+ { "LITEON CX1-JB256-HP", NULL, ATA_HORKAGE_MAX_SEC_1024 },
+
/* Devices we expect to fail diagnostics */
/* Devices where NCQ should be avoided */