Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21779380ybl; Mon, 6 Jan 2020 11:05:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxr2rdX/DAgMn5YrNz0yHL74MsqysQHfzTTWYNALRzO8BdDS2b4rVrKdiQX40/XO639MEkc X-Received: by 2002:a9d:65cf:: with SMTP id z15mr120979825oth.238.1578337544032; Mon, 06 Jan 2020 11:05:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578337544; cv=none; d=google.com; s=arc-20160816; b=ohRQte7XEY9yFL0vio9aNXgQ9PZbQAIfm4kwGUpNbCPeop7nVFphosiTSUcocCRw1P w9dVl34HeW/mVhx87GuIM7rGN2Wy/EnUPKwUqTdiqpIBsMRQM+P9fCDGImwk8zmj2cHY LPdWXOMZLM/q57S4heMVM6e2ENbYnmG7RFjKXR8fEMPTIO7sz8vwMMVJDFH6Ny5qDASI iJKeFkzjZYUjwQvIP39cceHEsMroB/h/Yp7Ops2mjIR/iDQLnEBcL/jgpJ84LX1TJg7B mxorLaQiZIXPaKwiflrggYbBDkwgGaVXXP2yPA6iUT/sebmx4P21YqXpkWBVqIhrWxiL QqJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from; bh=pEjx3fr8YfniKovv+vqjkVOEGvc0JwIn/F9CoTHr6+4=; b=jzaz7ZE5TqFuSkc4JDJrCH4n4cR38bVCjvycJEFnnagI5Zz6qy8mMhEStSCzHMow95 Ob0i53iMEOnzY/YZsy6Yg+RMLBMGPsLPO9Fs7fToBc4qq3LsbaVoQjKbCPf7ymX864eY 7hyvK8QO5MQRWkRZOXv22apShFq+weCODwQMBsupPSvkKdLWS/EnX29KeqaQdZilVdAJ RZxR4TOPl/WkD0s/btHkbqFlnCh2+/v2uj/WkCNvpIBrnMb4evrGleyn/RA92b/xgwj0 GiyvEa7hehLSllHILz2hJk+Eluj1IfCWIrCbxqeEIDb+bMsGPBLDVasZl4fyV0UWGC+F tdPA== 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 e59si38407228ote.97.2020.01.06.11.05.31; Mon, 06 Jan 2020 11:05:44 -0800 (PST) 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 S1727099AbgAFTDs (ORCPT + 99 others); Mon, 6 Jan 2020 14:03:48 -0500 Received: from ale.deltatee.com ([207.54.116.67]:54812 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbgAFTDo (ORCPT ); Mon, 6 Jan 2020 14:03:44 -0500 Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ioXfA-0005mT-Ds; Mon, 06 Jan 2020 12:03:43 -0700 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.92) (envelope-from ) id 1ioXfA-0000ee-8O; Mon, 06 Jan 2020 12:03:40 -0700 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Cc: Kelvin.Cao@microchip.com, Eric Pilmore , Doug Meyer , Logan Gunthorpe Date: Mon, 6 Jan 2020 12:03:37 -0700 Message-Id: <20200106190337.2428-13-logang@deltatee.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200106190337.2428-1-logang@deltatee.com> References: <20200106190337.2428-1-logang@deltatee.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com, Kelvin.Cao@microchip.com, epilmore@gigaio.com, dmeyer@gigaio.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE,MYRULES_NO_TEXT autolearn=ham autolearn_force=no version=3.4.2 Subject: [PATCH 12/12] PCI: Apply switchtec DMA aliasing quirk to GEN4 devices X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add GEN4 device IDs for quirk_switchtec_ntb_dma_alias(). Signed-off-by: Logan Gunthorpe --- drivers/pci/quirks.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 4937a088d7d8..d54692bc3af4 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -5373,6 +5373,24 @@ SWITCHTEC_QUIRK(0x8573); /* PFXI 48XG3 */ SWITCHTEC_QUIRK(0x8574); /* PFXI 64XG3 */ SWITCHTEC_QUIRK(0x8575); /* PFXI 80XG3 */ SWITCHTEC_QUIRK(0x8576); /* PFXI 96XG3 */ +SWITCHTEC_QUIRK(0x4000); /* PFX 100XG4 */ +SWITCHTEC_QUIRK(0x4084); /* PFX 84XG4 */ +SWITCHTEC_QUIRK(0x4068); /* PFX 68XG4 */ +SWITCHTEC_QUIRK(0x4052); /* PFX 52XG4 */ +SWITCHTEC_QUIRK(0x4036); /* PFX 36XG4 */ +SWITCHTEC_QUIRK(0x4028); /* PFX 28XG4 */ +SWITCHTEC_QUIRK(0x4100); /* PSX 100XG4 */ +SWITCHTEC_QUIRK(0x4184); /* PSX 84XG4 */ +SWITCHTEC_QUIRK(0x4168); /* PSX 68XG4 */ +SWITCHTEC_QUIRK(0x4152); /* PSX 52XG4 */ +SWITCHTEC_QUIRK(0x4136); /* PSX 36XG4 */ +SWITCHTEC_QUIRK(0x4128); /* PSX 28XG4 */ +SWITCHTEC_QUIRK(0x4200); /* PAX 100XG4 */ +SWITCHTEC_QUIRK(0x4284); /* PAX 84XG4 */ +SWITCHTEC_QUIRK(0x4268); /* PAX 68XG4 */ +SWITCHTEC_QUIRK(0x4252); /* PAX 52XG4 */ +SWITCHTEC_QUIRK(0x4236); /* PAX 36XG4 */ +SWITCHTEC_QUIRK(0x4228); /* PAX 28XG4 */ /* * On Lenovo Thinkpad P50 SKUs with a Nvidia Quadro M1000M, the BIOS does -- 2.20.1