Patch "libata: LITE-ON CX1-JB256-HP needs lower max_sectors" has been added to the 4.6-stable tree
From: <gregkh@linuxfoundation.org>
Date: 2016-08-08 14:23:39
This is a note to let you know that I've just added the patch titled
libata: LITE-ON CX1-JB256-HP needs lower max_sectors
to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
libata-lite-on-cx1-jb256-hp-needs-lower-max_sectors.patch
and it can be found in the queue-4.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let [off-list ref] know about it.
From 1488a1e3828d60d74c9b802a05e24c0487babe4e Mon Sep 17 00:00:00 2001
From: Tejun Heo <tj@kernel.org>
Date: Mon, 18 Jul 2016 18:40:00 -0400
Subject: libata: LITE-ON CX1-JB256-HP needs lower max_sectors
From: Tejun Heo <tj@kernel.org>
commit 1488a1e3828d60d74c9b802a05e24c0487babe4e upstream.
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
Fixes: 34b48db66e08 ("block: remove artifical max_hw_sectors cap")
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/ata/libata-core.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c@@ -4141,6 +4141,12 @@ static const struct ata_blacklist_entry */ { "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 */
Patches currently in stable-queue which might be from tj@kernel.org are queue-4.6/libata-lite-on-cx1-jb256-hp-needs-lower-max_sectors.patch queue-4.6/memcg-css_alloc-should-return-an-err_ptr-value-on-error.patch queue-4.6/memcg-mem_cgroup_migrate-may-be-called-with-irq-disabled.patch queue-4.6/cgroup-disable-irqs-while-holding-css_set_lock.patch queue-4.6/cgroup-set-css-id-to-1-during-init.patch queue-4.6/cgroup-remove-redundant-cleanup-in-css_create.patch queue-4.6/mm-memcontrol-fix-cgroup-creation-failure-after-many-small-jobs.patch