From patchwork Tue May 16 13:01:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuai Xue X-Patchwork-Id: 94705 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp426367vqo; Tue, 16 May 2023 06:28:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Kp9n6FTHwDmXMgmNtIaDtoIQQmjiLk0OTcsPy+vkrHcxMVcTMl4DFmzSK5fJWbjhyZc89 X-Received: by 2002:a17:902:f685:b0:1ac:731b:bc9a with SMTP id l5-20020a170902f68500b001ac731bbc9amr39597394plg.27.1684243683332; Tue, 16 May 2023 06:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684243683; cv=none; d=google.com; s=arc-20160816; b=ib78+Vh6O2D2KJWY5gphrXv1HMvI8mkBnKG4M7Lcqmu6sxqzaTWFCYn7vHFsc0Z5c/ MMfK4vZ8VEa0HjATQ5iFh6inlh0m3zzqRn9klEzQ4iJg8ZuG8HCUtTllCUcnVvppwo+D n4KCDVv4ptgWNiykeUF//QRbeJe6sfvx+kGd91Mdf+CINRWjoOjY1rZpU7JP4uRq98dp 1oxTvT+zlJvjcBmZea3/202ozctv9Jo/1hPbGfiE7F7arg+nwiJOV0+oiPSipOqzC4ey jse4lLUelqDaQGSG66INArzGzMpOGCyTq93PElupW8FNeN2mOTaCUI6vlfEJRQ1wU2Jk MQSQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a17090332c200b001ac62935789si20428324plr.468.2023.05.16.06.27.48; Tue, 16 May 2023 06:28:03 -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 S233387AbjEPNBg (ORCPT + 99 others); Tue, 16 May 2023 09:01:36 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766057504257560455?= X-GMAIL-MSGID: =?utf-8?q?1766057504257560455?= 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