Skip to contentSkip to conversation

Patch "libata: LITE-ON CX1-JB256-HP needs lower max_sectors" has been added to the 4.6-stable tree

PATCH [email protected] 1 participant 1 message Aug 8, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 <[email protected]> know about it.

Quoted 1 line

From 1488a1e3828d60d74c9b802a05e24c0487babe4e Mon Sep 17 00:00:00 2001

From: Tejun Heo <[email protected]>
Date: Mon, 18 Jul 2016 18:40:00 -0400
Subject: libata: LITE-ON CX1-JB256-HP needs lower max_sectors

From: Tejun Heo <[email protected]>

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.

Reported-by [email protected]
Fixes 34b48db66e08 ("block: remove artifical max_hw_sectors cap")
---
 drivers/ata/libata-core.c |    6 ++++++
 1 file changed, 6 insertions(+)
drivers/ata/libata-core.c +6 -0
@@ -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 [email protected] 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