From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:51741 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752265AbcHHOXj (ORCPT ); Mon, 8 Aug 2016 10:23:39 -0400 Subject: Patch "libata: LITE-ON CX1-JB256-HP needs lower max_sectors" has been added to the 4.6-stable tree To: tj@kernel.org, gregkh@linuxfoundation.org Cc: , From: Date: Mon, 08 Aug 2016 16:23:31 +0200 Message-ID: <1470666211149231@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From 1488a1e3828d60d74c9b802a05e24c0487babe4e Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 18 Jul 2016 18:40:00 -0400 Subject: libata: LITE-ON CX1-JB256-HP needs lower max_sectors From: Tejun Heo 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 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 Signed-off-by: Greg Kroah-Hartman --- 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