Received: by 10.192.165.148 with SMTP id m20csp822353imm; Fri, 27 Apr 2018 08:04:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqgF0YOgzAre4kgJZ5/YmD6f1tvU1UZQHo+g7XTGLnUtb4IHFQTExIWSJ0zg3rFgEF5ALdm X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr2621270plu.22.1524841455899; Fri, 27 Apr 2018 08:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524841455; cv=none; d=google.com; s=arc-20160816; b=xsPPDENytSY8bQmSAWbrIVvurDU6vs0/j1GsLKId55O1cHUR913EU4v11UxSgz7/sc vo9UgCbcI2ciCg0BLpqy5p/XTX267Fg3wCKAuXs5w1pEe1uPoZGW0Yn1w9e4HezT9PdB vIIFyxdkX4GGbRXpWAx373ObvHZHW1pgGllglSDyuz3QE1HVloekGaxgWdCUIg+E7vkW LT5AAGID+khvujtCkYcArOz0VttFviQdm5kpxf0giCrBXaBizl748oJmVVHQPgLxhF8q Hiap3UYh9jOQKzP5dqBMoAriFhSeUVzwpkzwuAO/8A+skyDq2JzHhTZnLcxnUDBkjK61 MvkA== 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=p9JPHIvKKjOoagMA97FhwPcSRko42ohfns/u0zZFYi0=; b=cTQGp54ZVvRuboPXE31pSsaN+vzKj8q8zOsskcy/D/twuL9qrlfU0gOttvnku4B+PG VlxGrUvDxum02x4vqvYm5+BaPiCpgHskdFZrdqNSubYFgyMDml1hgXO82SEvdvw0kpSK f1AL7sT+K8gAVbykvsziKZ7dT00zH8LROEBuUn1TjrXOX4a+9Uv9RKe/UwX0o6w2QDXh tIjsIKgdN4gig/mSAjiYZ9zXjSPwint9HXXwxZPG3+7T9G2sU4lr7BxlPdpwiBgVz4+3 PlPYJmkS5BhRuquEjCqSNwyF8axHzbZB0yAxmuaoVFWNRC/L6zhKobunIKyg3LLyFLvo w9HA== 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 v19-v6si1356743pgc.694.2018.04.27.08.04.01; Fri, 27 Apr 2018 08:04:15 -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 S934020AbeD0PCp (ORCPT + 99 others); Fri, 27 Apr 2018 11:02:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:51658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933904AbeD0OF0 (ORCPT ); Fri, 27 Apr 2018 10:05:26 -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 C0E1C21890; Fri, 27 Apr 2018 14:05:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0E1C21890 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.9 69/74] scsi: mptsas: Disable WRITE SAME Date: Fri, 27 Apr 2018 15:58:59 +0200 Message-Id: <20180427135712.807955900@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135709.899303463@linuxfoundation.org> References: <20180427135709.899303463@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.9-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 @@ -1994,6 +1994,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)