Received: by 10.213.65.68 with SMTP id h4csp827691imn; Tue, 27 Mar 2018 09:30:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+xmGp1kKQFlXG8i1BL61FmtTcJSeP8EKcmvGDAlAvXDEyT67YVT6doJo5KbLxQ21Se2Eal X-Received: by 2002:a17:902:207:: with SMTP id 7-v6mr116plc.261.1522168238743; Tue, 27 Mar 2018 09:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522168238; cv=none; d=google.com; s=arc-20160816; b=ApE01Dp3QbcWRkgY0RkASr03hSDge6YLSqVfZWtOc7gxeryN40kuy+9AifOiXxvmv/ DLcsUhi6kz+xtVycdx+91UpRbbeQmM2iPqIzvta04momgxWYEztWqhwV0YdesQ4Lj6o7 adQHNQhHIUNft17a3/KNdBDL+IEtzFgCao6/SFBDLOyl0aDff5lHoEX+UnFxDzS4h1Qq HeJ6jDCz6HvGb8L42uwggjXxSs3siqk6Op/IsNM0Vap5/a1QEcksKw91rf5SyFlf9xaN iXSwtat15CD5bkQiiUO4gLD2oqixwoBO0CN2DP0tl3Uz8OFeDRuGrfMjor6ugLK8eRCu RrOQ== 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=wocZPKC7WLggQmDIfn7fTcs5yvxmjaw+rULcD4sHkac=; b=pL69bTYatv1VxcJ+4sTVq4+4y4ybTRrO6N3+ZBdWDOfwvpGWuK93f9++c0cBzEZ8b4 l1WNeUeLvfSogNHU9Uj7244Tt5/Aj0gsuytFHU/Dn1W5XJUW43wBuO3LWHQSv0CChGBB 5GpDlvju87ekUojTsVQZCbb/RVHv2rmX06OwkA2/Jv5AVb1EEl0Ns2arDkWfGG6RUOfp kOsqFwcEKg6arxnXZED640vPUd7Trghruzv88rn7BcGe7hZvc3yDtd3MmHgErxahv9v3 Giw/4t1P3URjf0OQNRBtqyJzOlxe2wB6f2I9j2SCN6p0G3CZuiAItIj7djQcGFLuqnA7 iyIw== 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 n3-v6si3516plk.634.2018.03.27.09.30.21; Tue, 27 Mar 2018 09:30:38 -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 S1752510AbeC0Q3G (ORCPT + 99 others); Tue, 27 Mar 2018 12:29:06 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41074 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752425AbeC0Q3D (ORCPT ); Tue, 27 Mar 2018 12:29:03 -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 0702D1061; Tue, 27 Mar 2018 16:29:02 +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.4 18/43] libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions Date: Tue, 27 Mar 2018 18:27:22 +0200 Message-Id: <20180327162717.476952012@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162716.407986916@linuxfoundation.org> References: <20180327162716.407986916@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.4-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 @@ -4225,7 +4225,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 |