Message ID | 034117b286fa4cd6fa491325679052f8b71a8c41.1669007822.git.jinankjain@linux.microsoft.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3211234wrr; Wed, 23 Nov 2022 21:56:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DOq0luN+ADiZl0kEP+iancwm0hxZt+JkhGH/amGNoZiv06HC7uH+zuJZXCDNNrduVVF/u X-Received: by 2002:a05:6402:2488:b0:467:3ea1:acdd with SMTP id q8-20020a056402248800b004673ea1acddmr29485160eda.96.1669269369905; Wed, 23 Nov 2022 21:56:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669269369; cv=none; d=google.com; s=arc-20160816; b=ASSpkFDTukC5GZYaMvwEm4SppHc1w4EfPy9cV2YdXGPAkQqKHIBN5LhzIQHwx4dFDR CkZavCGj/vXEHjFC82mhCZQjTLv5TfTlQjrkTfy/ijEWNk1SNYyAa6ZYEtUbL+RuGhN4 +5O2K5NKJ5hR6f/RczXYXZmDJ9txo+te69l5IndrSGY12/3c/DvIACMAZSQ1rx9rPnhN OJBgeXCRTaqZ7E25DWisKa8dzyTXbOk4JUE5gbwGqNS7/DLl9Q8OhUFlpUf8XI0bX8v7 TYyKpK/yKfqR9oy+hk2v+BE141V6+xP1a5iZ1a3HiDwFpaHxUbJEa+z0NdAa3xP4GYCi 1l/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=D+EHMsRYcjPgM7FAsk56dOdUsC5Gb8WTyjClcLwda7k=; b=lR81Jg473NXXzFu3DKnLv2OB1HjQK1OmwuKNFxAYxt8kgAElMw6OglBgqK71RvduXZ o+afLnPZQnm00mrwrO94OIMYRK3hy/Q9vniK/ieJawVYrwLIJkCMBZK/P/PsFQ6vSCEh dj/kpurxM9FCAbOFJKLOEyZUNHBynJGi0JOvYlUvATJTbOfNpcqVYnbLo0FkAEGUylWr pZtNmqhCTVIYave+tp0wgYx8Fjq/RCWq5uA8Wx4bvyFxU8BvId2IcuudjTMH6e8QzrN3 8Lk49+emWPrxGiG2onZahdNTSi280TQdfM+jws0r0gmGbbWDR7HMa3WGU2LCEmZcz7nQ 85Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=EaIAW7aL; 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=linux.microsoft.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xb4-20020a170907070400b007815e9c5b80si110700ejb.617.2022.11.23.21.55.47; Wed, 23 Nov 2022 21:56:09 -0800 (PST) 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; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=EaIAW7aL; 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=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbiKXFx4 (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Thu, 24 Nov 2022 00:53:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbiKXFxh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Nov 2022 00:53:37 -0500 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D4BC87A45; Wed, 23 Nov 2022 21:53:31 -0800 (PST) Received: from jinankjain-dranzer.zrrkmle5drku1h0apvxbr2u2ee.ix.internal.cloudapp.net (unknown [20.188.121.5]) by linux.microsoft.com (Postfix) with ESMTPSA id 1B93920B83E2; Wed, 23 Nov 2022 21:53:26 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1B93920B83E2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1669269211; bh=D+EHMsRYcjPgM7FAsk56dOdUsC5Gb8WTyjClcLwda7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EaIAW7aLccziUxnJq1awpM3cjGNcQefNroBjmdHhzpEu7mQWfFxGQ6K3Qlp+gJcF+ 0p749HV38P65yi3ufNuomhQQ8vSXAYAtYgP8jxc4nsxTmsqDJXPkq8OZWZfgFcMkB6 7RS7TXztQWY9nnzijxHpazwHxCLs3OSBTskgP98k= From: Jinank Jain <jinankjain@linux.microsoft.com> To: jinankjain@microsoft.com Cc: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, arnd@arndb.de, peterz@infradead.org, jpoimboe@kernel.org, jinankjain@linux.microsoft.com, seanjc@google.com, kirill.shutemov@linux.intel.com, ak@linux.intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, anrayabh@linux.microsoft.com, mikelley@microsoft.com Subject: [PATCH v5 4/5] Drivers: hv: Enable vmbus driver for nested root partition Date: Thu, 24 Nov 2022 05:53:05 +0000 Message-Id: <034117b286fa4cd6fa491325679052f8b71a8c41.1669007822.git.jinankjain@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1669007822.git.jinankjain@linux.microsoft.com> References: <cover.1669007822.git.jinankjain@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-19.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,USER_IN_DEF_DKIM_WL,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750355799139758725?= X-GMAIL-MSGID: =?utf-8?q?1750355799139758725?= |
Series |
Add support running nested Microsoft Hypervisor
|
|
Commit Message
Jinank Jain
Nov. 24, 2022, 5:53 a.m. UTC
Currently VMBus driver is not initialized for root partition but we need
to enable the VMBus driver for nested root partition. This is required,
so that L2 root can use the VMBus devices.
Signed-off-by: Jinank Jain <jinankjain@linux.microsoft.com>
---
drivers/hv/vmbus_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index db00d20c726d..0937877eade9 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -2744,7 +2744,7 @@ static int __init hv_acpi_init(void) if (!hv_is_hyperv_initialized()) return -ENODEV; - if (hv_root_partition) + if (hv_root_partition && !hv_nested) return 0; /*