Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25322rwd; Tue, 6 Jun 2023 17:57:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7xQVwDgc1CKKB/CadSo0PZze35TunHGe84pLqdpiqnYPJzIMAGeNBjU0oDB+wnENe81puE X-Received: by 2002:a17:902:cec4:b0:1ac:2f98:e94d with SMTP id d4-20020a170902cec400b001ac2f98e94dmr2897759plg.67.1686099446530; Tue, 06 Jun 2023 17:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686099446; cv=none; d=google.com; s=arc-20160816; b=yJI1H8uZAvDQxF24mLDpX5cY5Uj0Z9MPdreo0zYdsKfAaNhT6I91FyYKkUvGlGAfPG rdHRhcd0fOGRsCbYPMvqqBgdOLBLuRei3F+FcfOvu1IXLsvTq0rLj2aqhxcpEmgoXwBX e7RooVZkz36c3k4nlh9sksSpFYD0GQHMtSfwnfdi3O5538pdTjVCdGmWEKVcX60/CEjE Xe22han3hCNqSw5SnBRXFeLH/9qwgFzAk5Yr3uA0tFuSxAvQVJJARTzNxho410oZz0se DhuUvWbwXExCjkCg3bHdO3C8W0en+w415R/3tyqU1lmqPdp7CEhYgr7QJ83Eb71k17ua 7WOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=1wQDtkVUnrYS+iiXfIhvHKf/JGEzvTaHK5341wmH+u8=; b=h9ol1wLxyXdr07krP3M6wfXzLQPdBZkJSehlJg0h8IcqzCGje3qDtEuX5caRdmlofv qvDz+/CQxpWtEAOyd6DQmU3KA1nfmIz0OtbFcNmXTh8BkVWhWxRqDZT0kHq1ioEPpcVU fbMR1WYoKvW43d4JWYIWrpR7kq8m+6OKIXEud5OI7RhNip8E/9JakRVcB1ZKHhXTN2vn bb5zvpkJGPXtz4pQ6aD3jPsfAjqXpY38sb6psOvu3av1EIpf+huZg14WmOpebwNzVnRJ P+eicgTeGVmk0uIzjrdoT0Nanvk2THceDhJPvnWO20fFJ160tLqIFKCIYU0HsQ3VIIlw lOKA== 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 iw13-20020a170903044d00b001ac91ece0dasi7685852plb.7.2023.06.06.17.57.11; Tue, 06 Jun 2023 17:57:26 -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 S239845AbjFGAmT (ORCPT + 99 others); Tue, 6 Jun 2023 20:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234392AbjFGAmR (ORCPT ); Tue, 6 Jun 2023 20:42:17 -0400 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5802C8F; Tue, 6 Jun 2023 17:42:16 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0VkYDTCU_1686098531; Received: from 30.240.118.86(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VkYDTCU_1686098531) by smtp.aliyun-inc.com; Wed, 07 Jun 2023 08:42:13 +0800 Message-ID: <6d71292c-807d-a761-d517-7eb9e5c33bbb@linux.alibaba.com> Date: Wed, 7 Jun 2023 08:42:10 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v6 2/4] PCI: Add Alibaba Vendor ID to linux/pci_ids.h Content-Language: en-US To: Bjorn Helgaas Cc: chengyou@linux.alibaba.com, kaishen@linux.alibaba.com, yangyicong@huawei.com, will@kernel.org, Jonathan.Cameron@huawei.com, baolin.wang@linux.alibaba.com, robin.murphy@arm.com, 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 References: <20230606153143.GA1124867@bhelgaas> From: Shuai Xue In-Reply-To: <20230606153143.GA1124867@bhelgaas> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Acked-by: Bjorn Helgaas > 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 >> >> /* 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 >>