Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2480918imm; Thu, 7 Jun 2018 11:18:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLlWlTVJ96ULVJjx7gEcLqxIUErgg3W3QgJLBUHugFNETfGy5fJVtTY4exR5dccVHSUUTI5 X-Received: by 2002:a63:b705:: with SMTP id t5-v6mr2429137pgf.343.1528395505288; Thu, 07 Jun 2018 11:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528395505; cv=none; d=google.com; s=arc-20160816; b=rnrySPvm7o/XG21Q54L2gc5Eh2cZJF7juxgQJ5lIy9ozEx8GvZNYMQoiDphTwFJiNA +BOZjwq0m6WmHa4tBjz1H389awy9VAc5BznJ8A0qnYQcHN3A8tJdynRafocGiLicnFVA lB0Tm8ysahH36OvUIeca3UUZYn5nIh9QlM3/8pS87sGa9Vqkloeunvao0z6Ki5eBNBa6 uFZAYVJJNu/r2fPooW+SqXIYtH4G+FyG+/LNl5bhI0ywzusbqIEvx3HldV1Gy65xLd9f cz7fhR7MFBvLgzmkJNXefV/N6+bbcyk/IXGWWpG/d8Ae8CKNjULA4MPVfiYTmPpRE1R0 6ZnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=gDqYh6iRINgPnr9hi7RvwdZB3o+og22BKy6MqNKjpGo=; b=0gwVU2l9lP29gpL6J49GEMkT3lDWiXYCAgVwKAlNmHuRFQ+R9POlDgPD0Q0aJ5WyRD 97WEYdAzZvSh3EMrxvxyd/ItNwFo4wq2qhZETWGOCUO5A+wrnizyhrhUsW2jvvioBlEc txZsk8ar0pbUTosL7LGys2D48CQfKx5di88x+HgTlGlM/Lf0Ehf5SwWZnHW8EgNBnwQI SqPL6Isn4L+U49KP3XaMcNMwpG+e8l5D3MctqMPBoKG5ILYBFo43u1q5gIes4HowI26j bZU6ou821o+LfLQzmhIIo2ggDxOzzeA/AYm6clqy7gerhMKf4ju/0JtNrwCRxu6tcish jnRg== 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 k17-v6si54376056pfj.310.2018.06.07.11.18.11; Thu, 07 Jun 2018 11:18: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 S935823AbeFGPAu (ORCPT + 99 others); Thu, 7 Jun 2018 11:00:50 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:41357 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932536AbeFGPAq (ORCPT ); Thu, 7 Jun 2018 11:00:46 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbN-0005Zq-34; Thu, 07 Jun 2018 15:09:21 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvbD-0003HH-Q6; Thu, 07 Jun 2018 15:09:11 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Hans de Goede" , "Kai-Heng Feng" , "Tejun Heo" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 379/410] libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 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: Kai-Heng Feng Signed-off-by: Hans de Goede Signed-off-by: Tejun Heo Signed-off-by: Ben Hutchings --- 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 |