Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6068014imd; Wed, 31 Oct 2018 06:25:50 -0700 (PDT) X-Google-Smtp-Source: AJdET5c1f8XIS2UBXZuyT8wGyi20h36D/an09l6ja/CUgwqzSv4ozJd8HeoQdi74rSNfK8QX3Wpl X-Received: by 2002:a62:764e:: with SMTP id r75-v6mr3447137pfc.230.1540992350417; Wed, 31 Oct 2018 06:25:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540992350; cv=none; d=google.com; s=arc-20160816; b=bxZ8NIiVwLJ38TPh+DUsBB03Ud3whCt8onozOenFiXd/6XCn6iCXHVrZSNJwRk3xaJ 4fIBahxQY1270nQQ68BdUTxBp+T3ldnnrJ4LkQdwyNT8gCj/X9GYzSDrY5mfbhlQLALi 2h676ej4uqv9wgY+6Qoo3zV50TuXA0YR5YdpJCPK+kUF/JoHGMp6kL/S1GrLECum6BBy mbnQmYlW5cGhZJ4hiGJo/PDDWw/YWi6eKTq5eA5mHkttPgYPK2dwIY2TEs/TxmhBb/do QoqFqRByteBuLik4k6xMijHbIOAC6hZxBaXCBAbmKmGDRMeb0ENlJ5JCxldJZalusgHq FF5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=K8bdmzdCD6/FVEJbWcsk91/Cm0CMVZCwrsR7PwgulYk=; b=hplI8ux2DF1FUQhaNQrywZl9O04+W6iTAwND6ij6xG45omPNd3pfKESQIfIgi8I2M1 Dcg8oh5T60ydwScGIlgN8rYLRkNiSjKJt4kAqMumssP3JpQNtiMrglk482HHY+d4P2Q6 qRfNDdaXuJHZLASNL/bT6bovfo+/3d0cDnaw3Ekr2zF9jrnPEN6ebHEW3+d2zNuxDPf9 wRxzg4l1Q3I41x9ygGNooOnefKwz16E28TMgAxTR8cekCWARgMyJ9Ik8C71jsgua8FRI U3EtgKYHWASS2KmtMjPr1FE32nUQuzD78lWY60acKKUUzmQfTL9YdSWE/TAh/UzH4hE9 yvww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=aCd519UP; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11-v6si20121766pgi.574.2018.10.31.06.25.34; Wed, 31 Oct 2018 06:25:50 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=aCd519UP; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729414AbeJaWWs (ORCPT + 99 others); Wed, 31 Oct 2018 18:22:48 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55279 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729271AbeJaWWr (ORCPT ); Wed, 31 Oct 2018 18:22:47 -0400 Received: by mail-wm1-f65.google.com with SMTP id r63-v6so15147403wma.4 for ; Wed, 31 Oct 2018 06:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=K8bdmzdCD6/FVEJbWcsk91/Cm0CMVZCwrsR7PwgulYk=; b=aCd519UPQ3hny7OwIL0tPOJ9jQrRpRaN99lvq6dcoDQGJ2YQDXLDMUjPriUVDyGs/V bMNgMT7xS+u9BtcUKpztOcRi8qG0YSNihqLJsrk1ounANOiGMZR37301tkrCqiFo42+T mYXP7aTmQxFatF95xDDybbdfd+m9iGLJWCyJI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=K8bdmzdCD6/FVEJbWcsk91/Cm0CMVZCwrsR7PwgulYk=; b=c7E9OoZZTcZmYjTj/t2+j2XUCt4PtNB3aoYBxvU+E6xmzkWh8RpMIxxfFha4ytM+Id WccEAWhfvnJa++nOL62nrFVX9Gx1QVDjM2/9R4Qc3UiHF+JarrrQ+463qplQpz5awWoJ Ice2G6HQGE7aM1EqZttPNcU20SisY3J1Tcm/UiNhpUMmxoOIETh+JZot2cqQ6eKjQ7Co DCnsKcIpgXFB1Qpt5B1OclNfqfUgOJBwThkrh+63/qsi7KdfxKu4JwZ4V0wQwGgqEIY5 W1qm+2kOkgT5Gt0M76RVgzClMnA65k2IHfmO3TUD7SwDCDigDqZ/Ubn6NcM93nR1qNPj nSjA== X-Gm-Message-State: AGRZ1gJTWLzMyjSAL/v2X+P7Y7defQbuvYQZwVjud1x15pO47h0eDlUd lloN/kiVGFFDULmn5xU4AdYRLg== X-Received: by 2002:a1c:b645:: with SMTP id g66-v6mr2468155wmf.25.1540992285107; Wed, 31 Oct 2018 06:24:45 -0700 (PDT) Received: from dhcp-10-123-74-106.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r16-v6sm25202614wrv.21.2018.10.31.06.24.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 06:24:44 -0700 (PDT) From: Suganath Prabu To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sathya.Prakash@broadcom.com, sreekanth.reddy@broadcom.com, Suganath Prabu Subject: [PATCH v7 6/8] mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices Date: Wed, 31 Oct 2018 18:53:37 +0530 Message-Id: <1540992219-20291-7-git-send-email-suganath-prabu.subramani@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1540992219-20291-1-git-send-email-suganath-prabu.subramani@broadcom.com> References: <1540992219-20291-1-git-send-email-suganath-prabu.subramani@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If EEDPTagMode field in manufacturing page11 is set then unset it. This is needed to fix a hardware bug only in SAS3/SAS2 cards. So, skipping EEDPTagMode changes in Manufacturing page11 for SAS 3.5 controllers. Signed-off-by: Suganath Prabu --- drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index f25bc3c..9254b52 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -4060,7 +4060,7 @@ _base_static_config_pages(struct MPT3SAS_ADAPTER *ioc) * flag unset in NVDATA. */ mpt3sas_config_get_manufacturing_pg11(ioc, &mpi_reply, &ioc->manu_pg11); - if (ioc->manu_pg11.EEDPTagMode == 0) { + if (!ioc->is_gen35_ioc && ioc->manu_pg11.EEDPTagMode == 0) { pr_err("%s: overriding NVDATA EEDPTagMode setting\n", ioc->name); ioc->manu_pg11.EEDPTagMode &= ~0x3; -- 1.8.3.1