From patchwork Thu Jan 25 23:36:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 10184889 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 53A18601D5 for ; Thu, 25 Jan 2018 23:36:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47B6C28A7C for ; Thu, 25 Jan 2018 23:36:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38B6128B08; Thu, 25 Jan 2018 23:36:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A675328A7C for ; Thu, 25 Jan 2018 23:36:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498AbeAYXgQ (ORCPT ); Thu, 25 Jan 2018 18:36:16 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44992 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751296AbeAYXgP (ORCPT ); Thu, 25 Jan 2018 18:36:15 -0500 Received: by mail-pg0-f66.google.com with SMTP id m20so6079150pgc.11 for ; Thu, 25 Jan 2018 15:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id; bh=FaxlQyZRDWLG/8xqrFprJ03Xh8Rn9AlWtztLKsHus8M=; b=IpO8y+86gdKQnzYjEnm+iaf/CweWOcitGfc58AJdJ+C98XxMxneC2D7zBM+e9k3k7o WcHB6SPvh54BhLn23cV4fL0qi8zd+m/4Bl84bkhIPBwW+RviNvxclou4edj+7U+5ElSv cFQuI+SJ8FWEggn8wGtNaikYzyGBYpTb5Lcg4= 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; bh=FaxlQyZRDWLG/8xqrFprJ03Xh8Rn9AlWtztLKsHus8M=; b=sMYMtzxygu/XfEDpUSCVQTZcm1H7KuKGuCYjL/RHGwZENfIPoPHHjTdAvmPl0zB5lz 70xYWk/CgSco0SK4zA4uJKKMiWSaJ5Z4MXCmWPVwf54RN9uOgWtyMORgVlU2Vekl8dR0 JtWi9h/NKctnKoB5NmLcLZihsubK7IFpq3X/gPO/LBJgrwLv0J3o/f0/wug8J7mGw6lN NyCq/AgCuG00oj5scxUVfaebKLTOLX8MnIlFWSBJK9B416Oig4Ik9CYRhOI9bPDdbM1f EbK4aRAH0PC6QIfoUpDZTsSTX+eyP67RR7K2wv5OgKI8IoF9xlHfhheV3bJgwgTa8FfV fvHA== X-Gm-Message-State: AKwxyteZD/Uychp0VN5ytCAsR2tFvvSJ0H1INhpsjnt51Tp5FfjI8Nyq ragP8RVbty/dXNCKVkzd9ed9Pg== X-Google-Smtp-Source: AH8x224gkSOmUfW9moXJ5rMzSnKH3uKRTSAoHBMbpM7EJv0oDC3CMRGxnk8a1kYeGCAwl+OKd7Crdg== X-Received: by 2002:a17:902:b212:: with SMTP id t18-v6mr12076167plr.293.1516923374660; Thu, 25 Jan 2018 15:36:14 -0800 (PST) Received: from goldengate.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id 206sm15431091pfy.71.2018.01.25.15.36.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Jan 2018 15:36:13 -0800 (PST) From: Feng Kan To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, alex.williamson@redhat.com, bhelgaas@google.com Cc: Feng Kan Subject: [PATCH] pci: quirk: adding Ampere vendor id to ACS quirk list Date: Thu, 25 Jan 2018 15:36:07 -0800 Message-Id: <1516923367-28197-1-git-send-email-fkan@apm.com> X-Mailer: git-send-email 2.7.4 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adding Ampere Computing vendor id to the ACS quirk list. Signed-off-by: Feng Kan --- Tanmay is no longer with us. After the email system is rebranded to the new company. We will clean up the remaining legacy items. drivers/pci/quirks.c | 9 +++++++++ include/linux/pci_ids.h | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 10684b1..45d9187 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -4512,6 +4512,15 @@ static const struct pci_dev_acs_enabled { { PCI_VENDOR_ID_CAVIUM, PCI_ANY_ID, pci_quirk_cavium_acs }, /* APM X-Gene */ { PCI_VENDOR_ID_AMCC, 0xE004, pci_quirk_xgene_acs }, + /* Ampere Computing */ + { PCI_VENDOR_ID_AMPERE, 0xE005, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE006, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE007, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE008, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE009, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE00A, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE00B, pci_quirk_xgene_acs }, + { PCI_VENDOR_ID_AMPERE, 0xE00C, pci_quirk_xgene_acs }, { 0 } }; diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5..c21d1f8 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1331,6 +1331,7 @@ #define PCI_DEVICE_ID_IMS_TT3D 0x9135 #define PCI_VENDOR_ID_AMCC 0x10e8 +#define PCI_VENDOR_ID_AMPERE 0x1def #define PCI_VENDOR_ID_INTERG 0x10ea #define PCI_DEVICE_ID_INTERG_1682 0x1682