From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42636C7EE29 for ; Tue, 23 May 2023 12:50:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236941AbjEWMuF (ORCPT ); Tue, 23 May 2023 08:50:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237020AbjEWMuA (ORCPT ); Tue, 23 May 2023 08:50:00 -0400 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11758FF; Tue, 23 May 2023 05:49:58 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;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_---0VjKMzf2_1684846191; Received: from 30.240.113.228(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VjKMzf2_1684846191) by smtp.aliyun-inc.com; Tue, 23 May 2023 20:49:52 +0800 Message-ID: <4a49591e-9209-8b30-258d-474737390c69@linux.alibaba.com> Date: Tue, 23 May 2023 20:49:49 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v5 2/4] PCI: move Alibaba Vendor ID 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: From: Shuai Xue In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/5/23 19:54, Bjorn Helgaas wrote: > On Tue, May 23, 2023 at 11:22:08AM +0800, Shuai Xue wrote: > >> The Alibaba Vendor ID (0x1ded) is now only used by Alibaba elasticRDMA >> adapter driver. Move the Vendor ID to linux/pci_ids.h so that it can shared >> by several drivers later. > > Well, not exactly. We don't want to merge changes that might be used > by unspecified drivers later. We only want to merge things that are > needed *now*, i.e., when this complete series is merged. > > > In this case, I think it will be used by another driver that is part > of this series ("dwc_pcie_pmu"), so the commit log should mention both > Alibaba elasticRDMA ("erdma"?) and "dwc_pcie_pmu". > > Bjorn Yes, I have noticed the policy in head of include/linux/pci_ids.h. > * Do not add new entries to this file unless the definitions > * are shared between multiple drivers. Actually, I mentioned both Alibaba elasticRDMA ("erdma") and PCIe PMU "dwc_pcie_pmu" in initial draft. But I realized that dwc_pcie_pmu is still in review, so I dropped it finally. :( Anyway, I will add it back. Hope you are happy the bellow changes: PCI: Add Alibaba Vendor ID to linux/pci_ids.h 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. Thank you. Best Regards, Shuai From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15079C77B75 for ; Tue, 23 May 2023 12:50:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/96y8Bbum2Cf37VZ7vleD5xCzi7ORoesDPr9dzCxau8=; b=zIT7UKlmXYv5QA 9cs8G3WgVt1DJ4zZpbxwZlw7sQdgN6jxoIP4rS/MJYbg7C2Xw6RH25zA34Q8subxe3o5hKdeaz+g+ fHiP7/rvCiF4Ed35pl9DFb5Zi4ULDfEKQvhhMuNzgNB0jNARw8XEPf1eSsUszh+anzSIrtsQbVjSz WyRate7nbySZPlLSy9Dl+BTF266sJGRg8wlz+GuIJLbMmwUpIUvDJHGN4j0WWI/xdvNFJeKg3x4B+ W5EuYXidmFB/sMFYQtGu8XTuM8PsKQAwF94Ss2YRHJI91d3T5vBZmgVjkqb/i90p5HHKmw7to+G8M MFTHEfDVvm52kgO8Ckxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1RSn-00AITf-1y; Tue, 23 May 2023 12:50:05 +0000 Received: from out30-133.freemail.mail.aliyun.com ([115.124.30.133]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q1RSj-00AIQF-1K for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 12:50:03 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;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_---0VjKMzf2_1684846191; Received: from 30.240.113.228(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VjKMzf2_1684846191) by smtp.aliyun-inc.com; Tue, 23 May 2023 20:49:52 +0800 Message-ID: <4a49591e-9209-8b30-258d-474737390c69@linux.alibaba.com> Date: Tue, 23 May 2023 20:49:49 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v5 2/4] PCI: move Alibaba Vendor ID 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: From: Shuai Xue In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_055001_666569_081E58CA X-CRM114-Status: GOOD ( 14.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2023/5/23 19:54, Bjorn Helgaas wrote: > On Tue, May 23, 2023 at 11:22:08AM +0800, Shuai Xue wrote: > >> The Alibaba Vendor ID (0x1ded) is now only used by Alibaba elasticRDMA >> adapter driver. Move the Vendor ID to linux/pci_ids.h so that it can shared >> by several drivers later. > > Well, not exactly. We don't want to merge changes that might be used > by unspecified drivers later. We only want to merge things that are > needed *now*, i.e., when this complete series is merged. > > > In this case, I think it will be used by another driver that is part > of this series ("dwc_pcie_pmu"), so the commit log should mention both > Alibaba elasticRDMA ("erdma"?) and "dwc_pcie_pmu". > > Bjorn Yes, I have noticed the policy in head of include/linux/pci_ids.h. > * Do not add new entries to this file unless the definitions > * are shared between multiple drivers. Actually, I mentioned both Alibaba elasticRDMA ("erdma") and PCIe PMU "dwc_pcie_pmu" in initial draft. But I realized that dwc_pcie_pmu is still in review, so I dropped it finally. :( Anyway, I will add it back. Hope you are happy the bellow changes: PCI: Add Alibaba Vendor ID to linux/pci_ids.h 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. Thank you. Best Regards, Shuai _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel