Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3078674imm; Sun, 1 Jul 2018 11:46:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKsAvYLPk357KW8mJRJEBgu1tg70UcYzIWSSuXhhd5SNP9oIylNR7VcmWIyAGdNqxMLn7N9 X-Received: by 2002:a17:902:7c8b:: with SMTP id y11-v6mr22333904pll.222.1530470776746; Sun, 01 Jul 2018 11:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530470776; cv=none; d=google.com; s=arc-20160816; b=QqIz8OEDxJPBiQaHeiKxbyCXWycVeiSRwRoU4N1+yduS4+daexsZNyZUnAtn3FczkU amiwL0vx/C5R+qvkzByrxMMgABaAj1gSR5EKo9NXqctAkMyWWwgDHpa6mvMnw8pk8aCQ 4AopkBEeiDOaIGdGUdQfzlMc2lxae0YUFsXaLFxWsJynlRsRquDtWKfGu9NXOwP5+EPs wq76goWRr94WcoBmxQ7de2Cvr6pUlh8eJuC55fMVchZcjkH9oDIwHulma9lHhOZA9hnA FtdIf1XiHYu0Q+Uv6wxgWm1medjz4ou5LSPJco8exQP7EPmdAdeN72OMbVeg+YjBlC/S hSEg== 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=n9jyPJbpEfxTBrloWNINmJhy21hXyE+Dhpi+EL/ppWU=; b=XncJf/8KHDdA9s8D8YwJ5S15bMWYv18giSpBJkOo1jDYMmtnK+1JUl+iOqyl560YfY pi9qqbTXoJFlAMWMUlRlxiZaDKu7KlDSyukZtDVyo+Krbar4KqlGpAGaW9Xzx39JOyTD iipbUOgee54yoR1uA4bIQhk/9XUv1h2UYI+M0kjBOlgLnuXNMuXLB//fvbW6Uw/Wl617 BgYvzu4g/vGy8XUlcJgwf+wYTObcbtEMWKY1/Guwrbc4btUWpm8pRvuwIrXZbUVZBdYN jjL0rNjvHTYwkPFvGeSJ6jmJJJyHTVcm2xXz6Xl9yRe6BEhdhSiaa/1HGoNPTsw9yCNQ k6ag== 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 l20-v6si12974656pgo.471.2018.07.01.11.46.02; Sun, 01 Jul 2018 11:46:16 -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 S932361AbeGASpZ (ORCPT + 99 others); Sun, 1 Jul 2018 14:45:25 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60006 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932167AbeGAQMs (ORCPT ); Sun, 1 Jul 2018 12:12:48 -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 9C34A4A3; Sun, 1 Jul 2018 16:12:47 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Richard W.M. Jones" , Lorenzo Dalrio , Hans de Goede , Tejun Heo Subject: [PATCH 3.18 44/85] libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk Date: Sun, 1 Jul 2018 18:02:02 +0200 Message-Id: <20180701153124.114560940@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701153122.365061142@linuxfoundation.org> References: <20180701153122.365061142@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 3.18-stable 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: stable@vger.kernel.org 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: Greg Kroah-Hartman --- drivers/ata/libata-core.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4248,9 +4248,6 @@ static const struct ata_blacklist_entry ATA_HORKAGE_ZERO_AFTER_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_M500_*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, },