Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp670973rwd; Tue, 16 May 2023 06:27:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6NjS94A7TCpEFqkyu2YryxGgUOZygTg5MBCOQXAvwfznrCST6e+Z2jRR3njFQqxGsv7RcE X-Received: by 2002:a17:90a:db8e:b0:250:83ef:a038 with SMTP id h14-20020a17090adb8e00b0025083efa038mr36204324pjv.8.1684243625505; Tue, 16 May 2023 06:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684243625; cv=none; d=google.com; s=arc-20160816; b=HITCOjIgqCNxOHFuBk15AKCGIrjXVX1Le+FFpSFbokMWB1B86obmgAirVgQra4RWki n/I3Hjc7x/obj4LZVEFuh053hQ4tILtBW2BME6Wo4kHrc1RsH/ikiR2oIrpgZYNtuR+D kbCvM4gdCo+Ivwb4UXmSS/rkKfE/jCWWkO7P/dnezMlhIJTahlo6G7q1EXPOm6EUdddQ 6omEAfKeEJE2he9kYUr6vFRO08iZze4Jdk0+r1uc7OW/MuR8SQC9K3harqhEkDXxm6Rd 4OiGvQZW3BEoZvb+AK1nJ6695IVyYAsmC9922H3i4tk2umIRS2AufcUnrPa8CQQZ2vEx bYBg== 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=K2w81TsOL1kqPvkdjkt9os+9zbDDKHN1PF+DD0W7lXo=; b=MlN6yNADt6L6KQ2lemuvKNu+yZrvT+AUsaFwr+QkjcB9pO2N9u3ZfumPx6Nyxt61df W/9FvH7a08LG6EZkZWkLCoEjziyVY5iTtRfErj79AZQ4JZwEv3AFnuF1UqiRQ2MnwG6H lrRa38gTjm94ZMl/7ixu0LG2YZxHaj/WMwGeKjrj2IFXsl9wdWyCdXUqwaz8taiP5cDS OpM3I4Wc6taCsgfn5smzOfeB9tETz1Z9ZLnaRUSJAa32534uoC5VpXZJZVR+ZsS364KN xxFDYAH8JXTT+gEdewF54udFEr7/JzJxcnA/mIbKt9cLTR820bj8Izx311hhLq39AIOK GWkw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a63e113000000b0052c766051d3si18162934pgh.199.2023.05.16.06.26.48; Tue, 16 May 2023 06:27:05 -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 S233384AbjEPNBe (ORCPT + 99 others); Tue, 16 May 2023 09:01:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233341AbjEPNB3 (ORCPT ); Tue, 16 May 2023 09:01:29 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53BE710D0; Tue, 16 May 2023 06:01:25 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0Vioby17_1684242081; Received: from localhost.localdomain(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0Vioby17_1684242081) by smtp.aliyun-inc.com; Tue, 16 May 2023 21:01:22 +0800 From: Shuai Xue To: 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 v4 2/4] PCI: move Alibaba Vendor ID linux/pci_ids.h Date: Tue, 16 May 2023 21:01:08 +0800 Message-Id: <20230516130110.59632-3-xueshuai@linux.alibaba.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220917121036.14864-1-xueshuai@linux.alibaba.com> References: <20220917121036.14864-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,RCVD_IN_MSPIKE_H2, 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: X-Mailing-List: linux-kernel@vger.kernel.org Move Alibaba Vendor ID (0x1ded) to linux/pci_ids.h so that it can shared by several drivers. Signed-off-by: Shuai Xue --- 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 37ad1bb1917c..6985b689f632 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 45c3d62e616d..d07791bae9c5 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2585,6 +2585,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