Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4304919rwd; Tue, 23 May 2023 06:10:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ncMwXEhYoh7wdd9cRHEZ6lxaBR/3Uj5L4NZFRgXgm1idLc78jRMi3SG5Nouch4gIuy1kG X-Received: by 2002:a17:90a:74cb:b0:24e:2e86:5465 with SMTP id p11-20020a17090a74cb00b0024e2e865465mr13205526pjl.31.1684847402666; Tue, 23 May 2023 06:10:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684847402; cv=none; d=google.com; s=arc-20160816; b=Vbm+kedOk/juHsOnKk+OXNZ8HyO0p3w/fTK81n0RYc/ETQ8qzojQrhBk3Y4PSH/1Dr j7db05de61QS6QXgWf3707gz7FF37mRuTCr2lqxR5CZwq6WZCwyDIW8QFXvBn8ABik3L SH6x1ufkgRh53Ek2DAf9x2OprsPnGwr19BlR2npInK280zYACE/SjbSnn162AzT/YyW9 AgGs0b86zpueugQ9PKhvyYXJKL+G2P39S/3eJB+joXVsi59r1Dt5s57xtcFoKAOZ6sYn 0S3f0sWuhMSrzxcxdefE8MAD+ib3JNaF55RvCpeRwib2FPLfp4/ppG5KC1fXH064YHjv aJcw== 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=HwZr3QPZq1I4MglR9I2SV371mNRnmtNTVtsC2dNitfk=; b=aKrclTDq4q8wMoZrbqVzjFWLw1uEzKwZ4q+qhaQSlP06SaKukC2uMDbYsEKtvs2M4N XdVcX/NKFyKJFtn68Bt6oDCzkBp/yL/JfmEglmSMM8qOvc0oOTEZDQosOb1ukTc4y+l5 MrGpkU87wUrqM5xyJ+G4r1+GgWsiE7BVJ2zgm7UgHkrvvWEos7gWYuh13SVVzC2iEOBz aPEW73d/EtXFjA1qrJZzBoSaqAUd5d9fWhFFJOBJ2wmwGHfx116xXeu8uYdGBywip2Ql oKB8SdaS01kTrpnsFDaLmgwgbZcnTo9HTEa+2cJrjJHyu3p+TZV9tW9HtLG7cK9j+IwU wIVA== 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 g1-20020a17090ace8100b00247526ba960si842388pju.119.2023.05.23.06.09.26; Tue, 23 May 2023 06:10:02 -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 S236817AbjEWMuE (ORCPT + 99 others); Tue, 23 May 2023 08:50:04 -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 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/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