Received: by 10.213.65.68 with SMTP id h4csp851217imn; Tue, 27 Mar 2018 09:57:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx483gUnatS2nVbuJYlpO+t27b0/go/2FoR0e2aziiS6gdO0MR6dG7gUdGT/L7H+PFCVP4Syp X-Received: by 10.99.60.6 with SMTP id j6mr64624pga.73.1522169846002; Tue, 27 Mar 2018 09:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522169845; cv=none; d=google.com; s=arc-20160816; b=grHzPxrUGtfFxYi1Wq1eeU3DScEu+QJv5HgS3DQG1GYV2FDSRRxLD+QWxxm/QfVBFN SfTDecPhilin3plrokuqQH283QxlQTTlQbwIDCkz7ucw53yFPNz4b+oGX5J3i7OuzZfS XE8TlHzXZ47dI7kXni1Gc14EWgZI0xFh8tfI6YxCD3NH5OE6wCFe8uUkfbMnF+PTxmV5 Wbm92AOz8lP1N4Hk+mNur85T2GB9GgMkzYi4EEKUUEMvQhbz+cj6mD9nVn1H1ebRU6K6 TtdI/tQig1Nc5bgIxwT8EEP7SwK1GW/AjI0l+nBsJ/CL6FWgg9EittvNcifSffTPLiE0 uuvw== 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=QnvwEf6vZtbdLCZskPQ7XwNcV2K+8N7Gazxg/mh6cjM=; b=THSHabvgM1xcfzXt4mZLSwGrqwsT9gXyLkxfANugTEmmjI6sFk5GiqNu4jjDHcFApq LPnDLnHeIMzEk3GRIQ7ROBuvdNkuGDoYY4V0C7W72rNjqnUNXB2KHh0RDvt5EPDPDmOL 4FC062UjJoDFkJGNSa3j8jQLbD6bZY4nJLy3VgPgxMkJ2RU6rUZuFS74TK0zDNE6vK6V V2G5LJGVokhB5hrFOSQNX9XoQotPD5VlV3VUZTT9nKbNMQ25Y4FiFG4jRWffTHed4yYr oKomg/da+yEzmhAlU5sGkzDt2NTgmMOWMw2rwVVWW+GbM6IhhAuNLY+Eb6RFIFqfGTSg 4dJA== 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 f5-v6si1492877plr.243.2018.03.27.09.57.11; Tue, 27 Mar 2018 09:57:25 -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 S1754110AbeC0Qzn (ORCPT + 99 others); Tue, 27 Mar 2018 12:55:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48856 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932098AbeC0Qlu (ORCPT ); Tue, 27 Mar 2018 12:41:50 -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 0BD77F47; Tue, 27 Mar 2018 16:41:49 +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.15 041/105] libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions Date: Tue, 27 Mar 2018 18:27:21 +0200 Message-Id: <20180327162759.788597655@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162757.813009222@linuxfoundation.org> References: <20180327162757.813009222@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.15-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 @@ -4531,7 +4531,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 |