Message ID | 20230606074938.97724-3-xueshuai@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3223394vqr; Tue, 6 Jun 2023 01:02:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zvg5ctvI9B9iw0D6e274Ejng8Lr6YEMMSfsABMV4Al9Lhj743q4iqVTFRCeHDBDeWvkym X-Received: by 2002:a17:902:d487:b0:1ae:9105:10a5 with SMTP id c7-20020a170902d48700b001ae910510a5mr12497237plg.2.1686038564877; Tue, 06 Jun 2023 01:02:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686038564; cv=none; d=google.com; s=arc-20160816; b=uC0zQPss3oSutusydHvfMAikZSo/5aR1wA+pcwcjgy1A3psVkMlbtecxJTjdGRzw8d zLyNwoONFVXwSnSEkQOBsaPaGrZ72SstXayUhHPUoSj6G/M8KCBPX4o4fsATQKzgx+eW PWjUlFkoui9WK2QwgbkMXZ+0AdWI0Ks47ImADBGXh6xWTBm4FA02sfO25MPF3qI8jAg2 yH8Pa2TYKkTYl5SOKORBDViiXZrCeCVRs++n2As3UbrBVar+jhBXM5gQMiF7DPv/PBKO Qup2NFlxjYbNDzxjg8CGhcXNcx7vkGyssRfIhC/NIrNRAf5fg/6BqEYz9atWB/FICxDF Qxkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dm+V6O+9cdsri8sAD+m+kNLY5CLxMyi0Qk0Cvd2uezQ=; b=vkV3bMAz1cTzI2UXo2t22wIgPE56WHjBupg+iSG3ZxCa3oZgo7LmAXdCtFvKtirNN/ P9PyPSqbG778zdHQATLRC8LmdQQve6boGJqgmUf/1v68BkM2QIxzE7/KDcpwexdufNag NGjhBfMA1J/R8bp8hGyCh3aG2K0DF1Ly1IOuLAbZ9Q0PTehQDoY6bm9+OSaFD1r75tif jXV5Bgp7QN/FFZC9CxmCKA4PdVL4oPdB+1V1xOOIAH2GCmLOVbYbblZ2u9wMmSxbDAj3 w6aBZx6CYQrEcn8deCR5lSWTJQCMoqUmqLYA6EpqczcDWWLpCnrqDEHpL31xL43twnUE jX6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a170902e5d200b0019955f0dc48si7059382plf.527.2023.06.06.01.02.32; Tue, 06 Jun 2023 01:02:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235975AbjFFHy1 (ORCPT <rfc822;xxoosimple@gmail.com> + 99 others); Tue, 6 Jun 2023 03:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232852AbjFFHx1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 6 Jun 2023 03:53:27 -0400 Received: from out30-112.freemail.mail.aliyun.com (out30-112.freemail.mail.aliyun.com [115.124.30.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 736D21BC2; Tue, 6 Jun 2023 00:49:52 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---0VkVT19O_1686037787; Received: from localhost.localdomain(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VkVT19O_1686037787) by smtp.aliyun-inc.com; Tue, 06 Jun 2023 15:49:48 +0800 From: Shuai Xue <xueshuai@linux.alibaba.com> To: chengyou@linux.alibaba.com, kaishen@linux.alibaba.com, helgaas@kernel.org, yangyicong@huawei.com, will@kernel.org, Jonathan.Cameron@huawei.com, baolin.wang@linux.alibaba.com, robin.murphy@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, rdunlap@infradead.org, mark.rutland@arm.com, zhuo.song@linux.alibaba.com, xueshuai@linux.alibaba.com Subject: [PATCH v6 2/4] PCI: Add Alibaba Vendor ID to linux/pci_ids.h Date: Tue, 6 Jun 2023 15:49:36 +0800 Message-Id: <20230606074938.97724-3-xueshuai@linux.alibaba.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230606074938.97724-1-xueshuai@linux.alibaba.com> References: <20230606074938.97724-1-xueshuai@linux.alibaba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767939573701556289?= X-GMAIL-MSGID: =?utf-8?q?1767939573701556289?= |
Series |
drivers/perf: add Synopsys DesignWare PCIe PMU driver support
|
|
Commit Message
Shuai Xue
June 6, 2023, 7:49 a.m. UTC
The Alibaba Vendor ID (0x1ded) is now used by Alibaba elasticRDMA ("erdma")
and will be shared with the upcoming PCIe PMU ("dwc_pcie_pmu"). Move the
Vendor ID to linux/pci_ids.h so that it can shared by several drivers
later.
Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
---
drivers/infiniband/hw/erdma/erdma_hw.h | 2 --
include/linux/pci_ids.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
On Tue, Jun 06, 2023 at 03:49:36PM +0800, Shuai Xue wrote: > The Alibaba Vendor ID (0x1ded) is now used by Alibaba elasticRDMA ("erdma") > and will be shared with the upcoming PCIe PMU ("dwc_pcie_pmu"). Move the > Vendor ID to linux/pci_ids.h so that it can shared by several drivers > later. > > Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> > --- > drivers/infiniband/hw/erdma/erdma_hw.h | 2 -- > include/linux/pci_ids.h | 2 ++ > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/infiniband/hw/erdma/erdma_hw.h b/drivers/infiniband/hw/erdma/erdma_hw.h > index 76ce2856be28..ee35ebef9ee7 100644 > --- a/drivers/infiniband/hw/erdma/erdma_hw.h > +++ b/drivers/infiniband/hw/erdma/erdma_hw.h > @@ -11,8 +11,6 @@ > #include <linux/types.h> > > /* PCIe device related definition. */ > -#define PCI_VENDOR_ID_ALIBABA 0x1ded > - > #define ERDMA_PCI_WIDTH 64 > #define ERDMA_FUNC_BAR 0 > #define ERDMA_MISX_BAR 2 > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index 95f33dadb2be..9e8aec472f06 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -2586,6 +2586,8 @@ > #define PCI_VENDOR_ID_TEKRAM 0x1de1 > #define PCI_DEVICE_ID_TEKRAM_DC290 0xdc29 > > +#define PCI_VENDOR_ID_ALIBABA 0x1ded > + > #define PCI_VENDOR_ID_TEHUTI 0x1fc9 > #define PCI_DEVICE_ID_TEHUTI_3009 0x3009 > #define PCI_DEVICE_ID_TEHUTI_3010 0x3010 > -- > 2.20.1.12.g72788fdb >
On 2023/6/6 23:31, Bjorn Helgaas wrote: > On Tue, Jun 06, 2023 at 03:49:36PM +0800, Shuai Xue wrote: >> The Alibaba Vendor ID (0x1ded) is now used by Alibaba elasticRDMA ("erdma") >> and will be shared with the upcoming PCIe PMU ("dwc_pcie_pmu"). Move the >> Vendor ID to linux/pci_ids.h so that it can shared by several drivers >> later. >> >> Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com> > > Acked-by: Bjorn Helgaas <bhelgaas@google.com> > Thank you :) Cheers, Shuai >> --- >> drivers/infiniband/hw/erdma/erdma_hw.h | 2 -- >> include/linux/pci_ids.h | 2 ++ >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/infiniband/hw/erdma/erdma_hw.h b/drivers/infiniband/hw/erdma/erdma_hw.h >> index 76ce2856be28..ee35ebef9ee7 100644 >> --- a/drivers/infiniband/hw/erdma/erdma_hw.h >> +++ b/drivers/infiniband/hw/erdma/erdma_hw.h >> @@ -11,8 +11,6 @@ >> #include <linux/types.h> >> >> /* PCIe device related definition. */ >> -#define PCI_VENDOR_ID_ALIBABA 0x1ded >> - >> #define ERDMA_PCI_WIDTH 64 >> #define ERDMA_FUNC_BAR 0 >> #define ERDMA_MISX_BAR 2 >> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h >> index 95f33dadb2be..9e8aec472f06 100644 >> --- a/include/linux/pci_ids.h >> +++ b/include/linux/pci_ids.h >> @@ -2586,6 +2586,8 @@ >> #define PCI_VENDOR_ID_TEKRAM 0x1de1 >> #define PCI_DEVICE_ID_TEKRAM_DC290 0xdc29 >> >> +#define PCI_VENDOR_ID_ALIBABA 0x1ded >> + >> #define PCI_VENDOR_ID_TEHUTI 0x1fc9 >> #define PCI_DEVICE_ID_TEHUTI_3009 0x3009 >> #define PCI_DEVICE_ID_TEHUTI_3010 0x3010 >> -- >> 2.20.1.12.g72788fdb >>
diff --git a/drivers/infiniband/hw/erdma/erdma_hw.h b/drivers/infiniband/hw/erdma/erdma_hw.h index 76ce2856be28..ee35ebef9ee7 100644 --- a/drivers/infiniband/hw/erdma/erdma_hw.h +++ b/drivers/infiniband/hw/erdma/erdma_hw.h @@ -11,8 +11,6 @@ #include <linux/types.h> /* PCIe device related definition. */ -#define PCI_VENDOR_ID_ALIBABA 0x1ded - #define ERDMA_PCI_WIDTH 64 #define ERDMA_FUNC_BAR 0 #define ERDMA_MISX_BAR 2 diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 95f33dadb2be..9e8aec472f06 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2586,6 +2586,8 @@ #define PCI_VENDOR_ID_TEKRAM 0x1de1 #define PCI_DEVICE_ID_TEKRAM_DC290 0xdc29 +#define PCI_VENDOR_ID_ALIBABA 0x1ded + #define PCI_VENDOR_ID_TEHUTI 0x1fc9 #define PCI_DEVICE_ID_TEHUTI_3009 0x3009 #define PCI_DEVICE_ID_TEHUTI_3010 0x3010