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: 866051 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=apm.com header.i=@apm.com header.b="IpO8y+86"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zSJMP6jRTz9sNV for ; Fri, 26 Jan 2018 10:36:17 +1100 (AEDT) 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 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