Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1030232rdb; Fri, 20 Oct 2023 06:43:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyID5DgwPYQTq0uj4YVS9wgpuJ/c/axPxvJcpbx42pdAk7UHZY1DVeTyIt/7zoqSE9kpCG X-Received: by 2002:a17:90a:7047:b0:27c:df02:88b3 with SMTP id f65-20020a17090a704700b0027cdf0288b3mr2953048pjk.8.1697809397954; Fri, 20 Oct 2023 06:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697809397; cv=none; d=google.com; s=arc-20160816; b=K72BAJ5NACFYnqo0KPZ3HOdJ+axtTomC/PRvG0DtsI3VSpmfUKX89ntbC4fp5nxNsI SOFRz0JMqa5euTjnKxkpwwp38J0KZkn/RBwrpTU194EBrlB6cGxpfa8W7GqNt2U5XdnS wLObrvFsB44DUFR0Y9biCq2J7jzmFCTSxb1JVr2X7hyx9Rj01JIzVZ7CZ8GGvBSw5qME RJEHsRHzMPosjeaQ/g/amNE6V5m1Ppa0sDRqJWkW8sPMpSXfirUtMn/TZslnNe3mTmj8 XJD8RDyaaF/dL7E4oZQt7NiZht3d59UYstdIQJ8M8QQFOY6vTUbiGD1V/bKKW7JgJjrp tzBg== 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=jK+UQcFKki8drTI/f0U02O8gC4pXnNm9TKPLEvJHRnA=; fh=YXkgGQjdwWXuBCaq3y30jhH9NVaym0uEtdyVivwN948=; b=W5Jp+vckB8Kx2eF+4c50Au1aTpUarFb9yFEXxVemNBnKZFZaPBQ6vVjZZY+Jgnr4Ec ywmQIZpY1wHo9QUnKEkOsCqAAFQFqDEfjCWnV/wPXUIcgp/P4OfwLcoFAHjzrBDCOn84 wuZ0FufvmRRrYo2hcsaFwGH6nAmReAGsB9Aav102Gw+foWw+lvBJhSqev3b9Y9LQb4za E/kqXpy6lz3rAfsulEIxOhA9AxCYaSywJBLqPvlim3y/Ib2eUiWJzNKH5o0jY1jZc78t pf2BJKrGLrx/8n9BWTVF0p+w9PA7HNuZywBRpgOIpk2lnQI6hVyUYlKxovcdgdTROCW7 7tYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id i3-20020a17090a974300b00274cf8042b6si4643867pjw.102.2023.10.20.06.43.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 06:43:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4018B834F758; Fri, 20 Oct 2023 06:43:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377433AbjJTNmy (ORCPT + 99 others); Fri, 20 Oct 2023 09:42:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377448AbjJTNmv (ORCPT ); Fri, 20 Oct 2023 09:42:51 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B739DD70; Fri, 20 Oct 2023 06:42:48 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0VuXDwih_1697809360; Received: from localhost.localdomain(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VuXDwih_1697809360) by smtp.aliyun-inc.com; Fri, 20 Oct 2023 21:42:42 +0800 From: Shuai Xue 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, renyu.zj@linux.alibaba.com Subject: [PATCH v9 2/4] PCI: Add Alibaba Vendor ID to linux/pci_ids.h Date: Fri, 20 Oct 2023 21:42:28 +0800 Message-Id: <20231020134230.53342-3-xueshuai@linux.alibaba.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231020134230.53342-1-xueshuai@linux.alibaba.com> References: <20231020134230.53342-1-xueshuai@linux.alibaba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 20 Oct 2023 06:43:10 -0700 (PDT) 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 Acked-by: Bjorn Helgaas # pci_ids.h --- 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 9d316fdc6f9a..a155519a862f 100644 --- a/drivers/infiniband/hw/erdma/erdma_hw.h +++ b/drivers/infiniband/hw/erdma/erdma_hw.h @@ -11,8 +11,6 @@ #include /* 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 5fb3d4c393a9..d8760daf9e5a 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2601,6 +2601,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.39.3