Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5411197rwn; Mon, 12 Sep 2022 08:39:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR5OAKpcsqTO9yPVw30nhz09m191VRCnBtoT65IBepN4oE+xeG/oJlabV/iKH6scUYzZOdV6 X-Received: by 2002:a05:6402:1ccb:b0:446:4346:8597 with SMTP id ds11-20020a0564021ccb00b0044643468597mr22504130edb.177.1662997171531; Mon, 12 Sep 2022 08:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662997171; cv=none; d=google.com; s=arc-20160816; b=bUwSKEzjzLw0um/ghsQmH39AjEma7UPjfyLOEOVgYmhr1eRwECWf8RJUjCGEx006xZ N1Ax4vIF4ENYXos9wr2BCv5ctDdosbgj8paH1rmpu/+CAAmuE8mT1u66ovQBA2Fq38Jj hAwWCujeSyvvjr4CLJZaW0IeXGvmEV+OEjxyIB6PwCyFDqhi7eaI3WUrPAkO+JiNGkZE spXgdJwT8PStpTCJW6rIHZKl0YjFQ2BUErNXZiWf5Cb291hSOuyAtK2RB3A6dOpDpeNl WqWgtrPkarV65rmS3sfOQQPSJGxE1dgvZctJj/4NboGBVzBNV8LlO2xS7+Ui60TYe/dO J2Mg== 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 :references:message-id:subject:cc:to:from:date; bh=j0Coki9DMkC7fbhU7zutmHnadILl+DbTuX5RVwbWOKI=; b=a2cIglBFSn2ggKQsxY+hPpKmFgVZCp1fDKfom9TKQ8ugWE+PJJ7nTczIhW8KJshSJP nHasOYcFre5LEz4RPwn2Vyamxg/Rb1QrtwutIdVN65kHvCnd/tBYYMTWJuJCxsfwdhfv 6bIviU8gO+VLKeC67u3VlO0O+eICO/qtuMGwoONgduPlXcZ9dtuko6ubgBiRl85Igel7 XDtZi6WwPRuKB7Y5ySVh7GklygQ8TcD125SFYtJFgsbKQQKrdbihgjppld2pA4JxhHBV 5Cn1VDqRULUOwTUkcHnioCVJ8U5WgFaMcCME4qlLyaLcGtTtw3zYWaOhXKjSBvATaXRy cL+A== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm28-20020a0564020c9c00b0044ed4c0249csi4937946edb.159.2022.09.12.08.39.06; Mon, 12 Sep 2022 08:39:31 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbiILOx7 (ORCPT + 99 others); Mon, 12 Sep 2022 10:53:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbiILOx5 (ORCPT ); Mon, 12 Sep 2022 10:53:57 -0400 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88C67371A0; Mon, 12 Sep 2022 07:53:54 -0700 (PDT) Received: by mail-wm1-f46.google.com with SMTP id e18so1117958wmq.3; Mon, 12 Sep 2022 07:53:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=j0Coki9DMkC7fbhU7zutmHnadILl+DbTuX5RVwbWOKI=; b=F9ezCQ8PAtEX4ywXfSTa6F1NqyP0PucSoK0k/xyozu57zYLJllbbatUiWtajmLc4wz Ylp5vFyAW7EqNsB3cHBOgfGDcqU91N6loubA5Mt74kbmPXKRy7W9d3zHPw1ajUSpZIhr gZdd+SstuGprT63Vbe7VeVefsVVWzA0eySyDQVNl1AueqnfNi/zYNG5cyq7BPeEIFHkh zynRwIHjoH9iPQBv6XIbTpT3KUkj09COp5okHyaDB+Z7XuebfJ48JAXNUhGNdJXJDtPV 4zzXbHMurVDc7ZkXPOpoy8nxU/TnhEiZuRtWgeMjDA6K8KTrm0upJLA4MxUE0X7DDEoU BdTg== X-Gm-Message-State: ACgBeo2nMOOW/ZAuxu1BIru4qoljoSyEnVdIchWm5KouK1M4+zzLoqOq O7vyyqLdyo8yrVSut1pawC3l+9nLoeA= X-Received: by 2002:a05:600c:4fc2:b0:3a5:c491:5ee1 with SMTP id o2-20020a05600c4fc200b003a5c4915ee1mr13832558wmq.62.1662994432771; Mon, 12 Sep 2022 07:53:52 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id x14-20020a5d60ce000000b0022862fd933asm7567247wrt.96.2022.09.12.07.53.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 07:53:52 -0700 (PDT) Date: Mon, 12 Sep 2022 14:53:46 +0000 From: Wei Liu To: Easwar Hariharan Cc: vkuznets@redhat.com, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , "open list:Hyper-V/Azure CORE AND DRIVERS" , open list Subject: Re: [PATCH v2 1/2] hv: Use PCI_VENDOR_ID_MICROSOFT for better discoverability Message-ID: References: <87leqsr6im.fsf@redhat.com> <1662749425-3037-1-git-send-email-eahariha@linux.microsoft.com> <1662749425-3037-2-git-send-email-eahariha@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1662749425-3037-2-git-send-email-eahariha@linux.microsoft.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Sep 09, 2022 at 11:50:24AM -0700, Easwar Hariharan wrote: > From: Easwar Hariharan > > Signed-off-by: Easwar Hariharan > --- > drivers/hv/vmbus_drv.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c > index 3c833ea..6b77a53 100644 > --- a/drivers/hv/vmbus_drv.c > +++ b/drivers/hv/vmbus_drv.c > @@ -39,6 +39,8 @@ > #include > #include "hyperv_vmbus.h" > > +#define PCI_VENDOR_ID_MICROSOFT 0x1414 > + There is a patch in hyperv-fixes that puts this definition to a proper header. You can wait for that to land and rebase this patch. In the future when you send out a series, please chain all the patches to a cover letter. Thanks, Wei. > struct vmbus_dynid { > struct list_head node; > struct hv_vmbus_device_id id; > @@ -2052,7 +2054,7 @@ struct hv_device *vmbus_device_create(const guid_t *type, > child_device_obj->channel = channel; > guid_copy(&child_device_obj->dev_type, type); > guid_copy(&child_device_obj->dev_instance, instance); > - child_device_obj->vendor_id = 0x1414; /* MSFT vendor ID */ > + child_device_obj->vendor_id = PCI_VENDOR_ID_MICROSOFT; > > return child_device_obj; > } > -- > 1.8.3.1 >