Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp368230rdg; Thu, 12 Oct 2023 07:59:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4cKIDwu5Mmh+1oA9nDuBHzAU+YXWfSb2f+apU8GO0fCwNbFsrC2IZG36Anmofn5bljcQ0 X-Received: by 2002:a05:6870:b691:b0:1d7:876:c825 with SMTP id cy17-20020a056870b69100b001d70876c825mr27716117oab.48.1697122797215; Thu, 12 Oct 2023 07:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697122797; cv=none; d=google.com; s=arc-20160816; b=0pl7RTXmWIuabplDckbcaYydaJTjTdWVbw1/M0uT6qKeFoTu9KwZCu4FrtDsIt2CIM R0dk3drWwFLRIhphdYPd9kVZCDkq/QJWkxdMGDJrdhvThcWYUFp8oDP5QZHfH2F0k8KV WodLJTC+pfFGvk2ZVrm/f3PDjFLEVFacNNLusV7/i79zn6UrE1LM/m0OZY/O+AmN+vbO V/rvYrBIGPnFFOITbkSIVYgpE+B06RVUa95fLvtV08wNPnqiiCzfRslgJ9c05mBkPnB/ U15PNYlNPol7tA3al8s5bgPYEijOaL9LtqCC17wXin2MLecw3Ejt/WxUhhAQSfL3Ucy4 8VGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=7WyEOwP90XDXIItBS6AOrhgHvgLFJKMkXwVrkq9YJus=; fh=8LSgoDXPEfSu/ox0tgu2xJxYqahlcPh05SGoOOn12oc=; b=bGuqr/pO3QwqAYUz85KmGhttbbwqWy6vs9XdJhe47LG324pKnX60O07s1ae++KIzzI NZ3XGeP6fsbOquk//2BE8rBCww+qJ2QAJargB9r87e6uGYngvprZZLpqb6DlIALLboKG AZzouE2ZrOUC2mH/ygocSMqs/VPd4I7DpBkXayU2E8BZ4b5kv8mjxknqh/Rxze3OIA4p PUDkOY+8ES7PSXdaCwn/P+HvM+KAqWlpwStJebtjEhxVGnI+7EQ5t08dxse5x3Gaji22 ozFVbXM+HGVyz84YKLAxC1/FaJbIgurLzrD1CXt8JR9D5Nmt1m95mSvV1nCjWS4mprqy LxOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ELBpi3dm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id r23-20020a63ce57000000b00563ee04bbafsi2345325pgi.837.2023.10.12.07.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 07:59:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ELBpi3dm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B4CA781BFCFD; Thu, 12 Oct 2023 07:59:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346817AbjJLO7p (ORCPT + 99 others); Thu, 12 Oct 2023 10:59:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344035AbjJLO7o (ORCPT ); Thu, 12 Oct 2023 10:59:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3417FA9; Thu, 12 Oct 2023 07:59:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79C14C433C7; Thu, 12 Oct 2023 14:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697122782; bh=GQeXXBOT5+9Wm9T+8WfRc/p3162rhG1tPcrD0H1gcIw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ELBpi3dmxObG8Q2FmZnl7AuclPUqcM4zxNUlntvkl2d1YJZMcAJYa0EkhwixhD2mh ZVqtsbLGDuwrs+39a+2N44FTSAJOtrvBrzOASdoy8pY8M25GGtk3E+E5Xac8rEHU2k 6Zo3qFZYoXC4eXXiO+vslFxYcZVGVIMEaGxM8dttiMIGf+hKBuL/sqQJpT8sMt3IQp Aj8AzUCjWa1T/kYSJrvLSbbwXPpPvRgNee5Gz0Y+D/Lh6cA00KW2lTdJJzYPRX30ma AEPskvE0PMfcigAJLolZIOzNqZkoMKe2YwU8o4dEgYnO6qtpBQxVZX1J4IxwEDJpTP 5uOLzEBvmpd8Q== Date: Thu, 12 Oct 2023 09:59:40 -0500 From: Bjorn Helgaas To: Shuai Xue 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, renyu.zj@linux.alibaba.com Subject: Re: [PATCH v7 2/4] PCI: Add Alibaba Vendor ID to linux/pci_ids.h Message-ID: <20231012145940.GA1069329@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231012032856.2640-3-xueshuai@linux.alibaba.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 07:59:53 -0700 (PDT) On Thu, Oct 12, 2023 at 11:28:54AM +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 # pci_ids.h > --- > 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 9d316fdc6f9a..a155519a862f 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 5fb3d4c393a9..d8760daf9e5a 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -2601,6 +2601,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.39.3 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel