Received: by 10.213.65.68 with SMTP id h4csp851565imn; Tue, 27 Mar 2018 09:57:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/iTTPxLKeMAlAKPIeBOfK8zIVYMzmax8MpzkhAlV3O3JtYfAT8rSNV0QbnsrahGwvfb1kV X-Received: by 2002:a17:902:c81:: with SMTP id 1-v6mr88654plt.205.1522169870512; Tue, 27 Mar 2018 09:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522169870; cv=none; d=google.com; s=arc-20160816; b=FIrDyCcffsVCmOJqOXFvs/eMUzx76ZOixSrpzYPCRoNriPZ2GM+CpxjtfPq9YbE2zZ N60CcA3DtlVgDeyHqWqSFPzJS6W9I0OjqLjJXvqlUwQn7FGyacaqE3NGINFqVAvAxW7f sUDuwicPppaZi+qPphRyrYi+Ueud+eiZN/Q2jys3e387SOZyPVRswLRiO9cgMCl9qwZ0 +TK++VpN0THhJAUnaEhHfYg3bGFOHT+5gzPadxItLrUubZmquCcZi6XmfSQHXlWHcDlA Snf0f8Ny1YlfpawoQAqD98sFdddXHM9JBW9t9blVh3SSV+qUGLgQLNxF6qqi9gqSWHgm JJYQ== 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=IyOKGwAS4wFFb2ZwD4OB6rcluinxqzlDhKnszMdb+dI=; b=TuQ9u7CI9vIi+AwSTXKKe4fQNlNNPxXwgNx3sR5IJhU0e+G0pu7ULnQ8HeZhvsMbPa p2rxi9vAb/pBJ0dHV4H7QanTY1u4PkNQ4K1AmOgcB7xNSe79EfTuHWEES8lL8Lf3nuLP UDxX8Ku78V7xGcDVGJGJ8wuwJLcMS3LyxmZdrQcuyJYKmRiZqUhdGQ+zd0WCVA40r6iH fSPh+v3LD0AfQPzdxRw4HIrpJMFsQKsNqtrRQomo094Algt07Zswh3kczEicE65pAul7 YeTSlr8SLlHGv4lemXt4Fl7M2X0YQFsVyoPhSCtdbs+D8ZsUfGAhhxbOHdSvIo/UmQh5 aesg== 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 34-v6si1668250pln.473.2018.03.27.09.57.36; Tue, 27 Mar 2018 09:57:50 -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 S932595AbeC0Qlq (ORCPT + 99 others); Tue, 27 Mar 2018 12:41:46 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48794 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932576AbeC0Qlm (ORCPT ); Tue, 27 Mar 2018 12:41:42 -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 E22DCF51; Tue, 27 Mar 2018 16:41:41 +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.15 038/105] libata: disable LPM for Crucial BX100 SSD 500GB drive Date: Tue, 27 Mar 2018 18:27:18 +0200 Message-Id: <20180327162759.643400334@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: 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 @@ -4530,6 +4530,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 |