Received: by 10.192.165.148 with SMTP id m20csp801529imm; Fri, 27 Apr 2018 07:44:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp6A5vPafsi9bupW3lMdG1z0a+5sbPF2Rwcy1PW3umQUpc6ljCIPvm7YLWeZIt1U5lTEzkQ X-Received: by 2002:a63:5f0e:: with SMTP id t14-v6mr2306915pgb.94.1524840295963; Fri, 27 Apr 2018 07:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524840295; cv=none; d=google.com; s=arc-20160816; b=w0/GQE4Oc1tt28E5eSJRMX97p4ftVYHJJ+hvoyPk7Q15xE5JsuV4CYBZ6WIO/Bi0ih 1mvfWs3BroQoSA3XoDIMOHp9KPVQJJqRFTtFFiSu7syRINDl78Lrsqq3SAdKHhaxwmb8 Li4CX2hG8LX+wEAB2NtqBFQ3pcKoSqyvJTv4Sgs4zxBZyrogUKUupULAMSGecdlg7OM1 dYqZpscre4OK0GvvCf4U63Shir/RpTvGdhuG1dk4G81EiqdJQcGBJfVM7iUOIT0Unt1M rZT6d8obWnq39UO9W+NyhyPGLN/d3Oovenc41XgM8XrUCJtALhh7AsCdAHV5YD45IC3T Q6FQ== 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:dmarc-filter :arc-authentication-results; bh=/L24NZm9YjJJkqLn9Uo6XvPtm8Rov1Qv9AXFEco39AQ=; b=bbLqPYOsB5T0D5aGa82Fv6vxKp0QB4EuM7nA/5cxJAEXv5NRB2z7DzA0kZXT8zQGdN N+V7K6tD40k5f6jeoICJ6GhrpePq0kYWH/uLrg5974toRtME+VSCNOT6eVkjMwVEXElh 3fCvmeLehCI+D9qnTcecNp8CX9tY8TLK0fmfEf0nU+9Qg8eaP48CEHH2xhepahQ+YnoA xvXfLweo+c7vbwiu5xvgj3SaXGC0x6P9vWeJbZCN7C/xexID7p1+F8Zw3VYRXXjUTO6j Req/pv5BBwmRgdeD/0fpc9+sA7DwFiABCMSpaqthseGSOVaSSCZ2xIO35vC3PB/z1pof YAdg== 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 q4-v6si1327156plr.407.2018.04.27.07.44.41; Fri, 27 Apr 2018 07:44:55 -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 S934529AbeD0OIj (ORCPT + 99 others); Fri, 27 Apr 2018 10:08:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:54132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934455AbeD0OIe (ORCPT ); Fri, 27 Apr 2018 10:08:34 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 BDBF021892; Fri, 27 Apr 2018 14:08:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BDBF021892 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nikola Ciprich , "Martin K. Petersen" Subject: [PATCH 4.14 65/80] scsi: mptsas: Disable WRITE SAME Date: Fri, 27 Apr 2018 15:58:58 +0200 Message-Id: <20180427135736.257821684@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135732.928644313@linuxfoundation.org> References: <20180427135732.928644313@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: Martin K. Petersen commit 94e5395d2403c8bc2504a7cbe4c4caaacb7b8b84 upstream. First generation MPT Fusion controllers can not translate WRITE SAME when the attached device is a SATA drive. Disable WRITE SAME support. Reported-by: Nikola Ciprich Cc: Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/message/fusion/mptsas.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c @@ -1995,6 +1995,7 @@ static struct scsi_host_template mptsas_ .cmd_per_lun = 7, .use_clustering = ENABLE_CLUSTERING, .shost_attrs = mptscsih_host_attrs, + .no_write_same = 1, }; static int mptsas_get_linkerrors(struct sas_phy *phy)