Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp174294imd; Wed, 31 Oct 2018 16:49:06 -0700 (PDT) X-Google-Smtp-Source: AJdET5caE7Q31oxkuOs/8o7W4AT5TScZmuHvLOZ+uPmu2rZx7dSpv0EL7Mp7pkMp9huaRClcCFtr X-Received: by 2002:a62:9015:: with SMTP id a21-v6mr5407379pfe.49.1541029746582; Wed, 31 Oct 2018 16:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541029746; cv=none; d=google.com; s=arc-20160816; b=ykVmIDgKA4vUGPs31LuD3FlEi/OidwjCLcbcwf2+KjpOGC0hp2GYmnjKvxZJxA0NaZ aN2YLWUu6l8Kq3FXs+HtSWpsmSTMw2a93wykTPNzNwat9yqff42kicfA14xZ3h7F37Px 4qHFA6Wt+GO60Me13nz1n1ntqamZKDZicm5XMectIS30nL/OgyJh8LihTCr7SvebY7rw rEzhrCCU5ulFSn4sRaL0o75VXJPDp9ipTKvQs/8oMJjRwoFIl+SLLv/H+znWQBEbO2A7 BjIpAe/WVC9ck639SZiqIXzpPcoJznBCa50GS4rUzdm9To+4KVlklW/XZoAs+nFgwm6K CYEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=4KXHsZFC8kGtj6/dxO9/xGNec49azsAsneAXIY0goog=; b=FbTH+yCKjGRji6g3Xilu5PzGUmq7J8yM+BvXoA2CViNYmupdA4EYi0V8e+GDYGEjwg XvGtQEV4QhUAV/LFMZqvF9UdZq8XG0sVfmkYCSk3TxNedKyjZPivwtnfB77pMkF9Tl2p CGNo5APm/G0n7VP7754vao3qIxMPqq4Emjwct3fsB8QbrDGk/k7k4TjCUlfMSH59KwI6 OaXvxrtA7JsAYFZv+VYS15tlzintzYt1mamBWX1AH9O4tOjDVpZvAYL7y2k2RC7bxPJb wZn0yDqgZLwBUi2YEVj3pLJJbFwPuj+Qu7EHsYLe8rB3Yht8klz/BHO9N0rmoSKdWh+C Iqbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ScxbsACd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y35-v6si24559658pgl.14.2018.10.31.16.48.51; Wed, 31 Oct 2018 16:49:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ScxbsACd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728861AbeKAIrh (ORCPT + 99 others); Thu, 1 Nov 2018 04:47:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:54620 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728533AbeKAIHH (ORCPT ); Thu, 1 Nov 2018 04:07:07 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BEF5B20821; Wed, 31 Oct 2018 23:06:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541027217; bh=K4avevg0oG8TjR/hr6vZIrprcQlMtSFVDcLBjvcaRNw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ScxbsACdvUCJF11jm0Ygsz/Mr5l0e8L/UGr4D4wzuVb/039yRQxmahh/P+pae0kKs 3CYJ41AE3zaCk8YOyqtWqQ1A50ul1UZZB0wHGGTOv/Opws574WzOYQ3nfPFh2RAS/O /NGqCNMC9QdDvp3hCqQkm1nHuW/IgWqGazgi8bU0= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Diego Viola , Jens Axboe , Sasha Levin Subject: [PATCH AUTOSEL 4.19 082/146] libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9 Date: Wed, 31 Oct 2018 19:04:37 -0400 Message-Id: <20181031230541.28822-82-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031230541.28822-1-sashal@kernel.org> References: <20181031230541.28822-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Diego Viola [ Upstream commit a435ab4f80f983c53b4ca4f8c12b3ddd3ca17670 ] med_power_with_dipm causes my T450 to freeze with a SAMSUNG MZ7TD256HAFV-000L9 SSD (firmware DXT02L5Q). Switching the LPM to max_performance fixes this issue. Acked-by: Hans de Goede Signed-off-by: Diego Viola Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index a9dd4ea7467d..6e594644cb1d 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4553,6 +4553,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { /* These specific Samsung models/firmware-revs do not handle LPM well */ { "SAMSUNG MZMPC128HBFU-000MV", "CXM14M1Q", ATA_HORKAGE_NOLPM, }, { "SAMSUNG SSD PM830 mSATA *", "CXM13D1Q", ATA_HORKAGE_NOLPM, }, + { "SAMSUNG MZ7TD256HAFV-000L9", "DXT02L5Q", ATA_HORKAGE_NOLPM, }, /* devices that don't properly handle queued TRIM commands */ { "Micron_M500IT_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM | -- 2.17.1