Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1356298pxv; Fri, 16 Jul 2021 07:34:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDKkaJSWm+vqqYrkFgRCBcyGZ6BdI+5NUOYOfbCDw2gxM3sx2FNfu8MFISpAVE3cjBLvEE X-Received: by 2002:a5d:9585:: with SMTP id a5mr7959158ioo.28.1626446079504; Fri, 16 Jul 2021 07:34:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626446079; cv=pass; d=google.com; s=arc-20160816; b=uydquvnXt63wAfPl7MBHsEEP7jd3xeGbIDY0rWZD8NnCH1wa4EbZZK+4yvDiLmPzdj sxnRCxHQ+H9ham3DFQxnkvzrNZ3svxS9+UCIoUBDFUOBWq5jyPca8H6MoyqoDInoFVv1 Uuvd0jmnmfAwUjxM8bk0N00I+Pj2EDskINhh9KTJ8CGWCiW7I2rbzK7iNlKzpLz8UoFc r7UMJESrnzAXJe+jXgsYPfwobJD3SXuJe+EgyI65tlrScUtz3jQjZCagD1/2cdv8Kmjw 0aAHMXVG2j93nWkP/3/cQ4GIm2pQebPBeIIiYuhtbAi+SoYKbmzoyhcCmlQ5G39gqbdd qAAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=yEqeeZOAo0pIKmq/sfgXkk/GBKGkd3kbOAKEJ3SbKM8=; b=bZztEsmhXh30Qw6NxquPvqLtBMXfy6JLA87TELaChazv7c1hudHIfT+Ug6e3Pn5RBx h1rdrv3c8HeQctBN3je0mWZHwW6YSwbpE76LEOSk2+KjC+pgQK1NlYPWONO85kl0OlFj QTNe/8fPS6+N8wuYLEdnysUNZwwVV5PL9gUpZN/ruPD4lMjZLS4/9ujVW0NRvz4WZJEo J0Og204M8LrIjlLO7z+Iecx+i0yqIP4c2fq7G3VFXoKpB32mC+BHI0GrXdjvih+dwaiV +SSMncr+Yep2A+VF7gEOMAeL0zKggGV54788ImhUTs5cx4ir2FvyfaQ6aFxiaUY0zV6g aMGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=HVzyBrIC; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si92735ioq.37.2021.07.16.07.34.27; Fri, 16 Jul 2021 07:34:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=HVzyBrIC; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239996AbhGPOgu (ORCPT + 99 others); Fri, 16 Jul 2021 10:36:50 -0400 Received: from mail-bn8nam12on2123.outbound.protection.outlook.com ([40.107.237.123]:34657 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232988AbhGPOgu (ORCPT ); Fri, 16 Jul 2021 10:36:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VsLGKsDtbRE/q3us+z5EDecbuI3cZw16pSInDVxQQSS1Jm0g9f4F0MKylc5fz7ZgEGYcnpaCTvf0eoo9TmpR+ofu/xAGiPMQvptDQ8ZSNHByTYMmJQIsAPAJvTUGDRSFWeCHqKiAbj7/cpG8E0NJYLe9T14+TZ9cqA0b6DkM3VLjSqhJlw9TibtUFe9XE1cK0zW06ZYAv+98jqezHyio+uT102qlKUD014UQ3PlWvb1rncvOWG1Wwxsz17kkPmEkFBTo7YlQY3zvwzu3WmkcA6tAbuQBVQbeV5CRAJ09C9EMv+1PvoRh1uz5nZv4yG2s4wWkO4x88NwV+Qx1eCNAbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yEqeeZOAo0pIKmq/sfgXkk/GBKGkd3kbOAKEJ3SbKM8=; b=QXYZz7WXGv3/6/QqUDWteMYIE67XLmtHxGt4RS2yZT1zDi7EW8/0nHxshoGbLNfEz1RhkChvQ01f30unE3UtAVz7CGnCsw0y+kuI8GGTzQVrUEj0koWDyXbzEqagUpMPYwKIB6d49k50vN3g6svct2n/ZwAdCq5Iy7erFJLOhzRb1vd60+NW3QXd7A3wQf70Y+b6yh6TKWL5IdIOOjoLlvsOw2r/nsWbPLnh7AD/qdpL/ho7DDSa9lKvB4ub4wjiAx6Uav8ImJpMC/1Hl3DmOJugYOabyhxIDYfDiFiV9KProc6mvHQ9ve4kAvTiyVARimk96PibjBQ1DQnzvDhgRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yEqeeZOAo0pIKmq/sfgXkk/GBKGkd3kbOAKEJ3SbKM8=; b=HVzyBrICafQk7WWw4yMLfnjw/AKX81IZtb0aAnYLHHv1ODBYWE7DdCriYQgPxyJdDsDk3uTkarAA7UqesUw8siac0bIcv7VTEJ4sRVdcgQQJdUopdG3pxT05AsQXMMsFnB74mfk8O5yWAfSE0tJNrLxDGE3RJGm9qxFRqKbhv1o= Received: from MWHPR21MB1593.namprd21.prod.outlook.com (2603:10b6:301:7c::11) by MW4PR21MB1969.namprd21.prod.outlook.com (2603:10b6:303:7c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.8; Fri, 16 Jul 2021 14:33:52 +0000 Received: from MWHPR21MB1593.namprd21.prod.outlook.com ([fe80::cdf4:efd:7237:3c19]) by MWHPR21MB1593.namprd21.prod.outlook.com ([fe80::cdf4:efd:7237:3c19%7]) with mapi id 15.20.4331.021; Fri, 16 Jul 2021 14:33:52 +0000 From: Michael Kelley To: "longli@linuxonhyperv.com" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" CC: Long Li , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui Subject: RE: [Patch v3 1/3] Drivers: hv: vmbus: add support to ignore certain PCIE devices Thread-Topic: [Patch v3 1/3] Drivers: hv: vmbus: add support to ignore certain PCIE devices Thread-Index: AQHXeFpV149Wz8Vcek6g9e2IAt7E2qtFrgHg Date: Fri, 16 Jul 2021 14:33:52 +0000 Message-ID: References: <1626230722-1971-1-git-send-email-longli@linuxonhyperv.com> <1626230722-1971-2-git-send-email-longli@linuxonhyperv.com> In-Reply-To: <1626230722-1971-2-git-send-email-longli@linuxonhyperv.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=b90e333e-efa8-44be-9069-d9f6e3ae859f;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-07-16T14:32:08Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2d11c9f6-8870-4cdc-097f-08d94866bc15 x-ms-traffictypediagnostic: MW4PR21MB1969: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8oDjQ+gHcNEPx1CCBrqnLInCy3VyFh4lfnEmjmB5DqDkTIno5cUEguMwuLYCdp4Tzayjj0uBqEIqh3EssD4nW1zR0t4ch+dCoGsr2tS9Tc2QYtuZ/mTsXmXCAt1C9RM43A5H7F8QFAzggcyzcQMCIgIxap0ZcgyteLbng7s+cRnIQc8V+27Ws3PnS/oJK/j8RjLnpAP5tW7/VGsD2+RRr0IMfOEG0vxBr5c1uxI4Wc17/dC2JNwewR6WcN4j+m0peWDvOgGTlRdZK7KPr1uTJq8esKRjn+BHmTfUtq3UHo2v63+k8xXg8Cpygo0u7ifL3ViaA3kxvXJe1u/QS63HOpTvUNW2sut4FMjO2wutLHm43u+4evu56kAdOsr8wq5LucnKuPxlLNA8sTntNILxqWYzeaOm/9yL7EwEgV/RodqgLHVsqxFKNNEeXhrSZ6SfxviOq8zeqUmc0KB5ueYNrw0A8xzJ4B3gavs9EVwMHWc4xOSqXMJqsk3K+YRzj0NxO1LbO64jXfm1DdE26YrUfiJfJgcdfMvCMM9iJnoT0HGaChH2q0AVAFw+XJgpK2+0K4V6+69rXJ8YcpOpf+7WgRmQ2U+/6luIgdD7BAOauQwAP31Wsyh6kuwdKDso/VuDXS7Mkg0/MZkH8RWgYhWyeQK8dnuVNvQSMQNpkL3O/mFQD1uWvYu5REBbrsCbqrSyTcgIrcCJZls1BctxkY4YPw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR21MB1593.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(4744005)(186003)(4326008)(38100700002)(2906002)(8990500004)(110136005)(10290500003)(316002)(55016002)(26005)(71200400001)(8676002)(33656002)(82950400001)(107886003)(82960400001)(7696005)(66446008)(6506007)(5660300002)(76116006)(9686003)(66946007)(66476007)(54906003)(122000001)(83380400001)(508600001)(86362001)(66556008)(52536014)(64756008)(8936002)(38070700004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eR41fmEDQmA3z6dDMY8azQDVGuyK5ML/D25ulVaqNWeTh3FBUhiqlHfBugwe?= =?us-ascii?Q?9wFkmztyng8JsiIEwcezZwfQXWB6ABmoXE3081g5wkg7+onDkYeS3qjmT/kn?= =?us-ascii?Q?5YY5u9lxH1zg3ghXpDHDBe6clpr/3k6gyhtSaCHPKhNMbvUmHQAmcdzh5es5?= =?us-ascii?Q?iM7VehfAFxG8zmov6WkdGsSTolJiIQsmBodSL+BUwpyBGspGZJGHCMU0+XvH?= =?us-ascii?Q?neXOXKjtGdXDDcEJUThyWUzd2x7SBj0h+kU4mJXZ2KalUJdvPUKvEpMAMhme?= =?us-ascii?Q?vYw/6ezNvi+YVmLpK/rJgN3njFlANWCJtF0KmenTEYKMshRidDd3On7MReae?= =?us-ascii?Q?+EtU6g3esKK0GpPAYlGREcPSvlYAv0m0iM7SDpbV3QkCwukHy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BnlsqO45NgWxbG47nRszX5WpovAX0fAJjyg6v0IRijlUi5i?= =?us-ascii?Q?FUWawQ00ptm1xVNyGa/h9hJ2?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR21MB1593.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d11c9f6-8870-4cdc-097f-08d94866bc15 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2021 14:33:52.7945 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dc4MdgjjeHxbdTVRkpVNieCyjv3BK2rBqyTeuR2/1P1r6itMhCRAmcbj4Ul43tavV5W+PopDQzztTljuJ74z1/A1lw6JlwjEFflw5FVFpwk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR21MB1969 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: longli@linuxonhyperv.com Sent: Tuesday, Ju= ly 13, 2021 7:45 PM >=20 > Under certain configurations when Hyper-v presents a device to VMBUS, it > may have a VMBUS channel and a PCIe channel. The PCIe channel is not used > in Linux and does not have a backing PCIE device on Hyper-v. For such > devices, ignore those PCIe channels so they are not getting probed by the > PCI subsystem. >=20 > Cc: K. Y. Srinivasan > Cc: Haiyang Zhang > Cc: Stephen Hemminger > Cc: Wei Liu > Cc: Dexuan Cui > Signed-off-by: Long Li > --- > drivers/hv/channel_mgmt.c | 48 +++++++++++++++++++++++++++++++++++++++++= ------ > 1 file changed, 42 insertions(+), 6 deletions(-) >=20 Reviewed-by: Michael Kelley