Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp712066imj; Wed, 13 Feb 2019 16:17:49 -0800 (PST) X-Google-Smtp-Source: AHgI3IaNh1AMhM4tJU9bLSm4M0Opsvu5mAxfzZSQaQc9k5aSBk+LbjkjyFOVQTksfFJLejOe5OX8 X-Received: by 2002:a17:902:2a89:: with SMTP id j9mr1004485plb.296.1550103469622; Wed, 13 Feb 2019 16:17:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550103469; cv=none; d=google.com; s=arc-20160816; b=RKrSGwS7BYUJgsU8b6jDIwsxIG52VzdZGg/ELvDbgt3VzDPw64PCtE/qhs2NQGnXHd DQSZ5GlvD09YhfD5zKrJD8dHDZ/LAMjrE3VJg5nDxbF0v98S6KiNhdQErohg5HrBB/ng l9tvky5lMqjytN3urOqofm62nQhuHUWiOFq8aOUm1OOvuqeTy4O/cWSdYzpUVHy/dmSZ 15SazYj2+XX9HYoUEnx7SG0BpO/+BEKFhrFAbzQd+hfSAgZxB1oHxJ76XMH+9aIDKaAM /79iHiKMlCVs6JfwzuONNlwcSHJLfKUzC2kvRz1+1x7eohY1W/JawbarETIf9rxXKj7G tzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2pmHiwdVHg0xrepe81ZO74mfGnVwXwmppgtrnp9Z3Vc=; b=V8vpPdAu/eVBliscM2khFthNQyBaNCFK3Nuavcru1HSwIdWT+wU5DCVRSFpaYqatgz XLZv9HJWeEFqmaV7GOa+xsfSV0kiVkGsSCPnZzYrQXqG1d9qhKforEFHFv001KZGu04c PVd5PGsugConUGBxgsd/nPDMj8w0KgM4VZz7rQ7yEbPiucGhd7sD+49osEM786BbgkoV 2g/UW/PmlwZT+5FdQjzQ+Fp6GlI03IABRY2WOOwAZJE8kOUSRcBLpMSwsxl5nh6Q8wBE vqbwFfpTfai2rXADlIk/sSjjCZNCchUCACpHv8DL+wQJNMM2PPT3PILPHAXemShsj9/S lmKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=00vZt+FZ; 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 a8si731419pff.153.2019.02.13.16.17.33; Wed, 13 Feb 2019 16:17:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=00vZt+FZ; 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 S2406189AbfBMSpM (ORCPT + 99 others); Wed, 13 Feb 2019 13:45:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:43846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406177AbfBMSpK (ORCPT ); Wed, 13 Feb 2019 13:45:10 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 186F820835; Wed, 13 Feb 2019 18:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550083509; bh=rJJRjkkpRnFG2Ud/hKQtaIl+W+6/FhsqxTBOfCIyliM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=00vZt+FZFE4FCtRayBxUuO39iGeyJ/fbqPlIW9XlIsImk7YcvzwbPpIOvw1O366R6 I+yiAwQ/53diGbWKA4keNyVFW0Q0pjPLETPWxTp6xeV9rPXUePAdg7PN+A2Iroav1F BXYM1MOA7OxGsZ2lcgsOu9L1Sjzz88+iSgzrQ3GU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Jens Axboe Subject: [PATCH 4.20 05/50] libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD Date: Wed, 13 Feb 2019 19:38:10 +0100 Message-Id: <20190213183656.219196604@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213183655.747168774@linuxfoundation.org> References: <20190213183655.747168774@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit dd957493baa586f1431490f97f9c7c45eaf8ab10 upstream. We've received a bugreport that using LPM with a SAMSUNG MZ7TE512HMHP-000L1 SSD leads to system instability, we already have a quirk for the MZ7TD256HAFV-000L9, which is also a Samsun EVO 840 / PM851 OEM model, so it seems some of these models have a LPM issue. This commits adds a NOLPM quirk for the model string from the new bugeport, to avoid the reported stability issues. Cc: stable@vger.kernel.org BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1571330 Signed-off-by: Hans de Goede Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4554,6 +4554,7 @@ static const struct ata_blacklist_entry { "SAMSUNG MZMPC128HBFU-000MV", "CXM14M1Q", ATA_HORKAGE_NOLPM, }, { "SAMSUNG SSD PM830 mSATA *", "CXM13D1Q", ATA_HORKAGE_NOLPM, }, { "SAMSUNG MZ7TD256HAFV-000L9", NULL, ATA_HORKAGE_NOLPM, }, + { "SAMSUNG MZ7TE512HMHP-000L1", "EXT06L0Q", ATA_HORKAGE_NOLPM, }, /* devices that don't properly handle queued TRIM commands */ { "Micron_M500IT_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM |