Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3337371imu; Sun, 11 Nov 2018 12:40:48 -0800 (PST) X-Google-Smtp-Source: AJdET5cpeOitmy0kCQx5TLFOQ6tydqTXUBky66DRQIdJKm1v9EpVjdlppinpgx9rKHKtCrz87Xwc X-Received: by 2002:a63:6150:: with SMTP id v77mr14860258pgb.266.1541968848442; Sun, 11 Nov 2018 12:40:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968848; cv=none; d=google.com; s=arc-20160816; b=DIc4GjumX7LFwvaIPFR6liEHWSnpXZnxoA/ji3vKt3E1jZJ7WuK9i+af2XZmllspCV D9OOlY6WH1WuUPYhb6Ub1En9mBKKMkHVyCSPwArVVKmUh6gR6lA6/DhK5RGfBq5/glrm X+/78qYpRTaPYNaG6JOtB2fs2LA9Sbnb/Kiq9SEIumJqFeO4UR5vNmicHH5KrfyqIYhu 3TGYID3CPSdTduwWFeTr6Yl0z/0amPYhIR0C3l6UM9CpfwaPome/nH0eOewxVHGLmZBw R1ZeWZwPsMBcyjKAjRhYaXOPcpax5KQT98CU0TZAoZPV2+vkNNeBw+qJK6K8BvS58Hyn IJMw== 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; bh=HM2VCRtIABcQGgYWK9Axm0iNXUrYz0ASL//Hu9o3dZQ=; b=fun0sj88oNb2GVhklT204L4owZPGZO2zuDX+yI3IgTda/Mmh0C7nvRklSW7/WpQ1Wf 9Y4gzIIFvguP3UUfeXa6rwbywHWq2aYU+9T/+PpYkg7wOp2y2pRdJH5PXJxDnpblW96j +FqcTNKse4tu54wjI0e3rDUJ86yyHl6trVh8ULBvQOkwWtbePrQAOOfrhXeCW7n5RnXf +AABFngSCR31b2kYOBhiZ/KF8Z5Geu5FFOb7p9se6rT8uN6EYuo1gg/e/tKtSRs4a1fE dep0an/oFUoKp7TD0PFeY1A4Yjg6n3vGmDek/ZVVO8t2TOvcEEmttsdT7S0NYVI9Zqwa 50Iw== 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 y35-v6si14051755pgl.14.2018.11.11.12.40.33; Sun, 11 Nov 2018 12:40:48 -0800 (PST) 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 S1730467AbeKLG3q (ORCPT + 99 others); Mon, 12 Nov 2018 01:29:46 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:49502 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729906AbeKLFsG (ORCPT ); Mon, 12 Nov 2018 00:48:06 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsT-0000lF-BF; Sun, 11 Nov 2018 19:58:37 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsQ-0001Ux-Os; Sun, 11 Nov 2018 19:58:34 +0000 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, "Lorenzo Dalrio" , "Richard W.M. Jones" , "Hans de Goede" , "Tejun Heo" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 102/366] libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 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.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 2cfce3a86b64b53f0a70e92a6a659c720c319b45 upstream. Commit 184add2ca23c ("libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs") disabled LPM for SanDisk SD7UB3Q*G1001 SSDs. This has lead to several reports of users of that SSD where LPM was working fine and who know have a significantly increased idle power consumption on their laptops. Likely there is another problem on the T450s from the original reporter which gets exposed by the uncore reaching deeper sleep states (higher PC-states) due to LPM being enabled. The problem as reported, a hardfreeze about once a day, already did not sound like it would be caused by LPM and the reports of the SSD working fine confirm this. The original reporter is ok with dropping the quirk. A X250 user has reported the same hard freeze problem and for him the problem went away after unrelated updates, I suspect some GPU driver stack changes fixed things. TL;DR: The original reporters problem were triggered by LPM but not an LPM issue, so drop the quirk for the SSD in question. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1583207 Cc: Richard W.M. Jones Cc: Lorenzo Dalrio Reported-by: Lorenzo Dalrio Signed-off-by: Hans de Goede Signed-off-by: Tejun Heo Acked-by: "Richard W.M. Jones" Signed-off-by: Ben Hutchings --- drivers/ata/libata-core.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4243,9 +4243,6 @@ static const struct ata_blacklist_entry { "Crucial_CT960M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_NOLPM, }, - /* Sandisk devices which are known to not handle LPM well */ - { "SanDisk SD7UB3Q*G1001", NULL, ATA_HORKAGE_NOLPM, }, - /* devices that don't properly handle queued TRIM commands */ { "Micron_M500IT_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM, }, { "Micron_M500_*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },