Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1922599ima; Thu, 25 Oct 2018 07:06:13 -0700 (PDT) X-Google-Smtp-Source: AJdET5co0ZEPxdTHCh/izu4mp9YHtseJ8j6Mr2EWouih5wLPqi8tLRpPF8N4vTGoLWgnF6wBgfs4 X-Received: by 2002:a62:8a91:: with SMTP id o17-v6mr1734950pfk.184.1540476373395; Thu, 25 Oct 2018 07:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540476373; cv=none; d=google.com; s=arc-20160816; b=npiI/pMFg0Wrx0NOwMq4BBgiEeVe8NOlp/l2kMasiBhfQRHLRe1XovF4Jvt6gt6vVx 2G4XPYBMjNrnMPHCQPcSfnmbmqCdpQ16sKvCd5+2go3lKQpJNwLl7WlCZuCmSQC7+zqX KswOtkwAWdLBA8EgoFk9+ry34OoHTgUITKO4FGFmctjGBl6BnKVPaMtOpDsJOTJBMjjl emFkS91rhxZskDLeL6SWT2SKX0YmE0epuq4Q5a9rARtM2E1ZRN1Drbu4KHKp3c2sqk3s l+MUGX5AmJNFqb5TQ7z6GdbyzQezkXTj4lB9CExC3aiJFKrSDEefL5ij++cAJtpmcZ+r nuXQ== 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=HACt8ml0njX/72qFHpEvwHCi5Al01vqXe2z4OYhbfEY=; b=Ehdhe/bxwwTMUbmUFxzynLQ+4atJw8CS2wIP3wlJrWjFgVNk5fQqjNdpQUuCEFhZJh Crul1o2Da/2vZHi+HL8x/eVaMp2ciO8MLu1uOuUiZHzpTZ55HW8bgjWeeIgP6AXkkfTS pKvlcxKlUbr/f+EtjR+oZDzVZnv2O7+0SuFfZgnue+efnom/wRboYwa2n/YtgwkV+t8g FKUODZWjXhaEH9dMQA5g9+V5fdGo1IZJ1PSEFD+i5nyJMw+9RfusmUhM2vj9ijKK5Nnh H+sHlZXkwkce+vlUBZKb0FcuPu/L6uYiooGEXumZhFOCbxH2CnDVJv5JNuULKCKDwjv1 kSPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Pnq5AiZN; 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 z127-v6si8211136pgb.118.2018.10.25.07.05.24; Thu, 25 Oct 2018 07:06:13 -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=Pnq5AiZN; 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 S1727535AbeJYWhA (ORCPT + 99 others); Thu, 25 Oct 2018 18:37:00 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38802 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727496AbeJYWhA (ORCPT ); Thu, 25 Oct 2018 18:37:00 -0400 Received: by mail-wr1-f67.google.com with SMTP id d10-v6so9475062wrs.5 for ; Thu, 25 Oct 2018 07:04:06 -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=HACt8ml0njX/72qFHpEvwHCi5Al01vqXe2z4OYhbfEY=; b=Pnq5AiZNiyDdDi04bZrnLee1GYVMnX28xehpcuoKyg81NdDNK8g2P55+wb7bOZdxNZ jExUb2dVjuSERPRvOJmdH51CimCip2ZPtJbYKmxIhtydMlKGu4grm7fmyfsyS3Tp6n3D DhbabAVLZTNtBQTs/U/Xk7PJoAaxmv3V0V/mU= 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=HACt8ml0njX/72qFHpEvwHCi5Al01vqXe2z4OYhbfEY=; b=DblSn5tEx2iM/2FKNc1a1qGTdt0bwVPZ+mXc1SAOWInD7zjdd1uneqdWPfL4/AfkHH yqilt7tUTNFyc0HLjcCDiPl3CuktOm0kejQnIjn4jWyoxxJcTXM48jAkiFJfmPfo9CVA ASOQivi7hvglqFjr0AVv4zNy01Z7AKEIhPMg8fWzSfsNYM1QoPNhJZyXTWqjCWCs+4OD +9u8CCZPXH3gUz6hmonrER3vtVsNdwZldaEISubJkETkbFFsL/pH5n7n9h/R9sagRjXl fnqERLYZIljpGwaPLdFU/cjnzEI06ZyXvu7Ud4plqPjPJj7TiUrJiI5L0nq+cHCtaJuC tM4w== X-Gm-Message-State: AGRZ1gKdVbKNGhehasAyJLTnUzXO5fbUQVjd5dSc06UrLeIiEfKZC65H 8fUoTSuFRVli9PSJziX/6sQEXA== X-Received: by 2002:adf:a591:: with SMTP id g17-v6mr2200996wrc.188.1540476245746; Thu, 25 Oct 2018 07:04:05 -0700 (PDT) Received: from dhcp-10-123-74-106.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id u10-v6sm7313771wrt.59.2018.10.25.07.04.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Oct 2018 07:04:05 -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: [Resend 2/2] mpt3sas: Add support to Aero PCI IDs. Date: Thu, 25 Oct 2018 19:33:41 +0530 Message-Id: <1540476221-14987-3-git-send-email-suganath-prabu.subramani@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1540476221-14987-1-git-send-email-suganath-prabu.subramani@broadcom.com> References: <1540476221-14987-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 Add support for Aero/Sea controllers and add warning for configurable secure type IOC. Signed-off-by: Suganath Prabu --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index df56cbe..5001439 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -10284,6 +10284,10 @@ _scsih_determine_hba_mpi_version(struct pci_dev *pdev) case MPI26_MFGPAGE_DEVID_SAS3516_1: case MPI26_MFGPAGE_DEVID_SAS3416: case MPI26_MFGPAGE_DEVID_SAS3616: + case MPI26_MFGPAGE_DEVID_CFG_SEC_3916: + case MPI26_MFGPAGE_DEVID_HARD_SEC_3916: + case MPI26_MFGPAGE_DEVID_CFG_SEC_3816: + case MPI26_MFGPAGE_DEVID_HARD_SEC_3816: return MPI26_VERSION; } return 0; @@ -10369,6 +10373,11 @@ _scsih_probe(struct pci_dev *pdev, const struct pci_device_id *id) case MPI26_MFGPAGE_DEVID_SAS3516_1: case MPI26_MFGPAGE_DEVID_SAS3416: case MPI26_MFGPAGE_DEVID_SAS3616: + case MPI26_MFGPAGE_DEVID_CFG_SEC_3816: + case MPI26_MFGPAGE_DEVID_CFG_SEC_3916: + ioc_warn(ioc, "HBA is in Configurable Secure mode\n"); + case MPI26_MFGPAGE_DEVID_HARD_SEC_3816: + case MPI26_MFGPAGE_DEVID_HARD_SEC_3916: ioc->is_gen35_ioc = 1; break; default: @@ -10830,6 +10839,23 @@ static const struct pci_device_id mpt3sas_pci_table[] = { /* Mercator ~ 3616*/ { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_SAS3616, PCI_ANY_ID, PCI_ANY_ID }, + + /* Aero SI 0x00E1 Configurable Secure + * 0x00E2 Hard Secure + */ + { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_CFG_SEC_3916, + PCI_ANY_ID, PCI_ANY_ID }, + { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_HARD_SEC_3916, + PCI_ANY_ID, PCI_ANY_ID }, + + /* Sea SI 0x00E5 Configurable Secure + * 0x00E6 Hard Secure + */ + { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_CFG_SEC_3816, + PCI_ANY_ID, PCI_ANY_ID }, + { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_HARD_SEC_3816, + PCI_ANY_ID, PCI_ANY_ID }, + {0} /* Terminating entry */ }; MODULE_DEVICE_TABLE(pci, mpt3sas_pci_table); -- 1.8.3.1