Received: by 10.213.65.68 with SMTP id h4csp887246imn; Tue, 27 Mar 2018 10:36:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/FV5wfwRAiCi3HOKEoJe5kFb9+LcSrbpo72rhWuL35nMN5aUJGppx4uHW/Aw9nE62JJfa6 X-Received: by 2002:a17:902:d68d:: with SMTP id v13-v6mr211259ply.177.1522172185892; Tue, 27 Mar 2018 10:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522172185; cv=none; d=google.com; s=arc-20160816; b=bV0EYH9ITykmVIfQ5dlJ2YvnkzOD5q+BCvHNTAAZEbgLmmPzVCBfsZbZQor6qUlTWt qFO02MCyiPurYV9XaW4L6wR3nVtNeTFB4LwlknV3JF9yb+Tnnki3xffR+acO2y/+LpOH w2hvu6PL2M689A4eL+Ny6pLvUb6Y2UwTVrUJdjA9CJQEKX/EidwLZks9tSljKrPoj+/g +kxXgWfk2Uar53jzaVtNHlArA1iKZLx4CLJwti9DbzKmUoaeq3iUU5iuzzTVZtTZTiPS OsQ82GJQBnS8B8xoFFukZ7mb5DshN+Xz29SNANudGeSbWwoxAsT43KE8iKEQ3kDjfLIT TSVA== 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=oDHuCQa6m/qH8DxZoSwaWonoHfnN2/EAHarKF3tsrik=; b=DOpVDYIHNwgaiGCLbRUrYZU/7rv4fULCh7TY7bhn2xyRfs1yY8rL4ld6wN6qe9YEy4 PcJU2/Jb5hVY+7yyGE2OWDpd3nazXjF+4W2Htzv2GL5xkMybNgR0gC9N8dBMRa0oVeMh 1GOBdc91yMiJvsoLk1kULpdrWRrjvCGnsX+2kAZEO2uX/bE6lHj5YCAfuQNjSy+nPr40 kp06P3leaBc2fLqLxHWmNp58fUYuXwhqT8E2ZE8f8ChiAu4/7iPLtHGT5haUIhhWKAuK ZDS2G76S80XPzxeHu48df8pT6g9CnzF74kIwOGP7ByKW48Ldxzz5lzhiVIAM/h5QUStC Cl7w== 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 k2-v6si1661653plt.413.2018.03.27.10.36.11; Tue, 27 Mar 2018 10:36: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 S1754593AbeC0RdW (ORCPT + 99 others); Tue, 27 Mar 2018 13:33:22 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44752 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754433AbeC0QfO (ORCPT ); Tue, 27 Mar 2018 12:35:14 -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 0E04C1226; Tue, 27 Mar 2018 16:35:13 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Tejun Heo Subject: [PATCH 4.14 038/101] libata: disable LPM for Crucial BX100 SSD 500GB drive Date: Tue, 27 Mar 2018 18:27:10 +0200 Message-Id: <20180327162752.354614698@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162749.993880276@linuxfoundation.org> References: <20180327162749.993880276@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.14-stable 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 Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/ata/libata-core.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4520,6 +4520,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_ZERO_AFTER_TRIM |