Received: by 10.213.65.68 with SMTP id h4csp901945imn; Tue, 27 Mar 2018 10:52:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/U+tyldhRSYz/+J2dJoET9wclbJ5fr1SRMnwLIEck9hBfRvWvIPTPHxA6ZzAqwnsXSJQRR X-Received: by 10.101.93.82 with SMTP id e18mr166639pgt.371.1522173147295; Tue, 27 Mar 2018 10:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522173147; cv=none; d=google.com; s=arc-20160816; b=ghpCA46omqzAJ3kP9E3kdlorsk+vM/nxrZr47uvYsFBtdVfajqNx/R2TdibcSyYI3N UR7RHHJnruYxMqzZw3kEQVbyxtp2OaTn+RBimNZjD59tZ5OqJdGwJKrUJAy+T4IfFY/I g4tL5sq8rf/7kKpk1s9SySFaaNuUIGw+9QJCZX0olYh5ms7qdXjoz7H9umNxrI5QXsGt yDU7WtSQvrVOIRSDZ5AKd7lLZZtPTAhLu41YDo0k1e8epMa32XZZRpRv4S5KBQpZHMSr eIXdBWn2lUWLHWXDmtxt8rmV1SAG5qnasbBRGLVo1bfmM6Gb7rjAM1Z5sS+s5i6o170s nHPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=CvNfIiGkF3I4wkbiMNJaK1YEKKidTw5SCMN/GKbilX0=; b=gJX4mctI9uHihE43XwBKdtyT+bhUnRSrBLoAkBcr3w5evsT1+o//kklvSUtwVNJJeB Oemxdr64oAds2ZesIVBqta1rjVMf9KX4lrNtKVoHB2Yp5g13HRgQhAazzRzzBZRALoHH TxGvuZ5xucZ0ERUOhYIolzgVgxXjNXGBIBRTR+XaPrrG4YUMK4q75OTEovg8zRqxxBrS 5k+MSQ4YatV/27oaMCYv2RAiCvz+ocBnWh7vhtMT6jiEHM3eR66DsnBewi+8a2irKq5O TMNcGh1l2vxblarAS0dExvW/2Waj8wQRpwskvn13XrR60xzQ4KgVK3EuTUerioqq9UBd y8YA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si1119887pgf.541.2018.03.27.10.52.12; Tue, 27 Mar 2018 10:52:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753857AbeC0Ru1 (ORCPT + 99 others); Tue, 27 Mar 2018 13:50:27 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43318 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752653AbeC0QcX (ORCPT ); Tue, 27 Mar 2018 12:32:23 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 1D971F0A; Tue, 27 Mar 2018 16:32:22 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Hans de Goede , Tejun Heo Subject: [PATCH 4.9 21/67] libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions Date: Tue, 27 Mar 2018 18:27:13 +0200 Message-Id: <20180327162728.067105133@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162726.702411083@linuxfoundation.org> References: <20180327162726.702411083@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 3bf7b5d6d017c27e0d3b160aafb35a8e7cfeda1f upstream. Commit b17e5729a630 ("libata: disable LPM for Crucial BX100 SSD 500GB drive"), introduced a ATA_HORKAGE_NOLPM quirk for Crucial BX100 500GB SSDs but limited this to the MU02 firmware version, according to: http://www.crucial.com/usa/en/support-ssd-firmware MU02 is the last version, so there are no newer possibly fixed versions and if the MU02 version has broken LPM then the MU01 almost certainly also has broken LPM, so this commit changes the quirk to apply to all firmware versions. Fixes: b17e5729a630 ("libata: disable LPM for Crucial BX100 SSD 500GB...") Cc: stable@vger.kernel.org Cc: Kai-Heng Feng Signed-off-by: Hans de Goede Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- drivers/ata/libata-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4404,7 +4404,7 @@ static const struct ata_blacklist_entry { "PIONEER DVD-RW DVR-216D", NULL, ATA_HORKAGE_NOSETXFER }, /* Crucial BX100 SSD 500GB has broken LPM support */ - { "CT500BX100SSD1", "MU02", ATA_HORKAGE_NOLPM }, + { "CT500BX100SSD1", NULL, ATA_HORKAGE_NOLPM }, /* The 512GB version of the MX100 has both queued TRIM and LPM issues */ { "Crucial_CT512MX100*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |