Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2292298imm; Thu, 7 Jun 2018 08:17:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJv2Sdym+m7aSTA/Lpd7Zu4Za0+ZGVOnsIoLKFjmDW4/izwCmNbGKpa+VWiHVKiU1+XpvU0 X-Received: by 2002:a63:3e83:: with SMTP id l125-v6mr1961209pga.355.1528384657510; Thu, 07 Jun 2018 08:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528384657; cv=none; d=google.com; s=arc-20160816; b=S22KAdbNwRNbTFnhBwv6X2oN+ehnNUh4/1sNXvtUrtfcAMaFXU+vu0hUqeRJMKaBIW zX45Fw3qcKq2gMefJwUPHAAw45+8YmgamhWButRmUbhUhsMRHmCD1p5103wLoEtnj9Mj m/ACC2eL0q6LFiw5YbnLTl9qBxgxNN89T83Zm59PDaMpRLckENd8Kbq06u7HDHJ1mz+M taQEpYJ+0H1ZRngLzhJsSQP1rYM0SInGPE+L8AehtPjhDGRnQeV9zYAqtkUvW79AzcC5 nJt4kgzAfF1cPdOfkT4YKDqZUH4LVDoYojAXie6dLbbIckIw8u5VoH9GlNxH1NFCSH+Q ivEQ== 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=TxMzlYPsof5JEIgpKBI2mmBTlIdw5EX4BkWMbwIICE8=; b=PP0+j6jBuFF7MruJdaZH1ratFxT5aNhIoXoMuEwFrKu5qRFn04B6/AKX87AeKr/lIO IK7JYXB0qK/ZxhySyZHkUMMnbkURC8illBKExSxGZfGjdkbQWiwUmYdMn2icqYUcoWZg wmhPZ979FQ2ma8Y0B6sB6Ki0o/XKysrmMPP2UpmNc3/Da48TERZoLuLNaExMLMqxucsT lBRIWdde6LINNzXPRpiGa5VmA6oB3vrgtD6l0JJrZPVOkbXDmJ9I2l47C7PFlMZnJzYp PdjMFSYKliH7AKDtw/5dg+CwxhOgALayIjrHprO1jmUq5IFjIfpsp4bQxBjqHdSHTSzh nhsA== 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 h26-v6si13420737pfd.253.2018.06.07.08.17.22; Thu, 07 Jun 2018 08:17:37 -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 S935851AbeFGPA7 (ORCPT + 99 others); Thu, 7 Jun 2018 11:00:59 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:41362 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935835AbeFGPA4 (ORCPT ); Thu, 7 Jun 2018 11:00:56 -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 1fQvbY-0005Zm-RB; Thu, 07 Jun 2018 15:09:32 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb9-00036h-Az; Thu, 07 Jun 2018 15:09:07 +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, "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 274/410] libata: disable LPM for Crucial BX100 SSD 500GB drive 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: Kai-Heng Feng commit b17e5729a630d8326a48ec34ef02e6b4464a6aef upstream. After Laptop Mode Tools starts to use min_power for LPM, a user found out Crucial BX100 SSD can't get mounted. Crucial BX100 SSD 500GB drive don't work well with min_power. This also happens to med_power_with_dipm. So let's disable LPM for Crucial BX100 SSD 500GB drive. BugLink: https://bugs.launchpad.net/bugs/1726930 Signed-off-by: Kai-Heng Feng Signed-off-by: Tejun Heo Signed-off-by: Ben Hutchings --- drivers/ata/libata-core.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4224,6 +4224,9 @@ static const struct ata_blacklist_entry { "PIONEER DVD-RW DVR-212D", NULL, ATA_HORKAGE_NOSETXFER }, { "PIONEER DVD-RW DVR-216D", NULL, ATA_HORKAGE_NOSETXFER }, + /* Crucial BX100 SSD 500GB has broken LPM support */ + { "CT500BX100SSD1", "MU02", ATA_HORKAGE_NOLPM }, + /* The 512GB version of the MX100 has both queued TRIM and LPM issues */ { "Crucial_CT512MX100*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_NOLPM, },