Received: by 10.192.165.148 with SMTP id m20csp780892imm; Fri, 27 Apr 2018 07:25:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpm/RND5d2Mubi3YWKcRzN6MP5YUP7aD0GXXzHEaedff13k14DQUI9OGY382cfuxRJrpKEF X-Received: by 2002:a17:902:f44:: with SMTP id 62-v6mr2537084ply.318.1524839135901; Fri, 27 Apr 2018 07:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524839135; cv=none; d=google.com; s=arc-20160816; b=QN05ShXhw7fHxf0hHZRubUa/7NXMK4EKQtIAiV786lMUbvCzOXqfp21LcVfy/4g+4f gOiqZ2z79y7gl4TE2CjjRZDgNw1U5EiVnaBeSjLTPvFcFXhlVL+dJPOiu/6GWUcfqb6n eOomNkF8hxPZDZTUoWZ2OhoDiWupOq64NNdzNBuqFctd8ZoYtFOSt0Wxe9WR4wzXXJ5a 29oqNgj6dha1sLlBupKW1qsYw66O/slXfhgPvef429hDz8hhQvqLM/RAmVVcj5ZZuG3S K84ea4N1KLLGEFbBJbnHuIh9p+Nq23QtEZ6Qm71KFFYYl8MQlkzwYujs9msNRdiCgoEZ 5e5w== 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=xW7GQyWDMEKacUR/0C8oFrSYE7HP/IPeNljD+4IC/Lw=; b=HRSdEiBYvgE9gpmx3H7TyNB7lqX44w32Yl/uSoQOYdHD9MakRaJ2LyefnNOvjhlWwm i5ZAaxv6rfOTBII4YpInhw9wHBjw0h6Ws7YTdNKoTuN3TuSUlx77Byh9pNM4yG7p8h8q 6S2EE1AiRzFXLzVGuFtgiAkvgOyh/eB8jmNyjtYd/y/2QlNGLydaJyE9tnwAIFbCkVuP 8s+4tx7KUzzq7GPjw/kvzePGvUUsmZSW62Zd1vyeAxJx49+/gbiLYThg51umkl175GFz kKEKUKMICWSJugEqixyHgVtzkq9PDdWLrBUmJlTH5frQKLVsZgMsgWL/JPNMg/pXb+QW PDkw== 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 b65-v6si1328375plb.162.2018.04.27.07.25.21; Fri, 27 Apr 2018 07:25:35 -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 S935187AbeD0OYW (ORCPT + 99 others); Fri, 27 Apr 2018 10:24:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:56720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935108AbeD0OME (ORCPT ); Fri, 27 Apr 2018 10:12:04 -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 53CA02189E; Fri, 27 Apr 2018 14:12:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53CA02189E 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.16 62/81] scsi: mptsas: Disable WRITE SAME Date: Fri, 27 Apr 2018 15:59:04 +0200 Message-Id: <20180427135746.957806631@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135743.216853156@linuxfoundation.org> References: <20180427135743.216853156@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.16-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)