Received: by 10.213.65.68 with SMTP id h4csp886832imn; Tue, 27 Mar 2018 10:35:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/lyuKIThmSYe9XMhzS7/wOyiAHvjlkdGpAfQo20f7bTqG2j6BEWBqdZt2aX9mIrBOI8tWe X-Received: by 10.98.201.70 with SMTP id k67mr175107pfg.141.1522172157626; Tue, 27 Mar 2018 10:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522172157; cv=none; d=google.com; s=arc-20160816; b=b61ltkeXD/Dd2gWiZdW8XugKsY9i3orn3A1z5w1ksmMORr3xKGF0ErYy38G4XHwEwU mUBw/P2BGR1lXePwwR7B6YFhJEtJYjj84wRKu9Ayb+S9Pvql133lK1P5nAOJ2ipeiuuo sKgZqQEFnFPqY0KZ9HoSnHo6hWnElYPMQi9LiTcf5rWq3w4gvkSIdR6gLsDi3Ixx1/pZ h3icJ5j8numELfXD1wjJUvETj1tr+ypfiTBKzZz051P9Dk+rME4SxpE6bzvMsA5suHKQ x0h0qArkeYzXEiZkSPXFtCoWwQTX4WAfKj8OVJm9xq4tQkUXrU92opqRmW2gr98BXf9u BUFQ== 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=71+IO32UZaK18iDQ7DJhcrd1QoCHWkXU316KsepQJng=; b=iFyQxOBRi/6rLxhLpyuz/+VKs+cKBvZUarVYW4VfGBkHRlmmEwmbM4QNLzowEAOmU3 gqey31aXMKyWaszK3RBxe4CwL5Cdo6AYq5UeaBIOstcPHyXwtBOmETZMDamMVsXiaR+w abpMSmi9auQJglu7QBrq7CJMJo4lA9xXm1MzqZwr+yZIHIyxisEM1jnRBkPgrqzzdJoi iYGk4UTj3EqWrGYnhuQw8IIjNzUFNAbVPg9K2XIuG4zD0ztl3aa6t2yK60WJ0lxXDdmE vOMTX24dfTqB9NO+Z+7zpCy1++CSF6FqkwI04FPSxvSd0p9fQPz0LtvlLb1hLTFi0Zzv o+Aw== 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 w18-v6si823308pll.406.2018.03.27.10.35.43; Tue, 27 Mar 2018 10:35:57 -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 S1754458AbeC0QfT (ORCPT + 99 others); Tue, 27 Mar 2018 12:35:19 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44758 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754426AbeC0QfR (ORCPT ); Tue, 27 Mar 2018 12:35:17 -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 B7831122E; Tue, 27 Mar 2018 16:35:16 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Park Ju Hyung , "Martin K. Petersen" , Tejun Heo Subject: [PATCH 4.14 039/101] libata: Enable queued TRIM for Samsung SSD 860 Date: Tue, 27 Mar 2018 18:27:11 +0200 Message-Id: <20180327162752.410671057@linuxfoundation.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180327162749.993880276@linuxfoundation.org> References: <20180327162749.993880276@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.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ju Hyung Park commit ca6bfcb2f6d9deab3924bf901e73622a94900473 upstream. Samsung explicitly states that queued TRIM is supported for Linux with 860 PRO and 860 EVO. Make the previous blacklist to cover only 840 and 850 series. Signed-off-by: Park Ju Hyung Reviewed-by: Martin K. Petersen Signed-off-by: Tejun Heo Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/ata/libata-core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4539,7 +4539,9 @@ static const struct ata_blacklist_entry ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Crucial_CT*MX100*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, - { "Samsung SSD 8*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | + { "Samsung SSD 840*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | + ATA_HORKAGE_ZERO_AFTER_TRIM, }, + { "Samsung SSD 850*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "FCCT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, },