Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1508782rwb; Wed, 16 Nov 2022 19:46:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf5BtXDfRd5lxP6FwFYaWiuDvYbhKSmQGzJy0V4tHqEXWfT8A+UCF/yz7Zwwo1XWiEN6Yd+1 X-Received: by 2002:a17:906:2342:b0:78d:9e77:1f8c with SMTP id m2-20020a170906234200b0078d9e771f8cmr653432eja.236.1668656781836; Wed, 16 Nov 2022 19:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668656781; cv=none; d=google.com; s=arc-20160816; b=e4VdPdi0yl6cgtBU6GEgYlEdzKIsZjqshLk6ENIYfnOoB4S7qBUtNOaBcI3GwwC0zk wKKm0gOkQ40G6fpf59ryV9nzjr4Ev2mZEnMLyJeNxjvivxVgom4N0rNm8aFKjRInXl5s 9mVSstauCveRw0V8H8kTWgIe4z49XWIWtNGXISOgWB2Zdzqykab8NHtkUjGdKKrTMueK 8+NAEnolFKvz3Z2k0ddbhqU/P2yLpaO/1Xo/hdRSNuCJzrNp0sr/ukpd/uZvV046paDJ 7O80CjDvvHS93fJt24qe50GsEvvEpLmaPazqzWkw/ldY5BFFa8s120voZB2jyLy/Ffps zpEQ== 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=0s3Q+x93Rke7EtzY8P3M1S1zmOd0w4N920d0lkLqCZF0egQQMQGtROtVUWoeGNYN1M a1moFAHA9Y3pQV6V6qhZwfHP+KXbnh8uFfnvHCgVuKqgbwolBWY5wI4Joqjjc1lgJWQU nt35VlSLFpyrvIaFBNAEqrcM3v+HIxZx+TltnKeTpJTDK8ThU36w7Xg6YDyjyq93HLaV FgRaPbpB/gQJHWHjTZ1BsZsB00JnQVSfvxtmo2yqaTR+hu+41aHNbQMoy8az6iJpMQkK 3DSTwpMK+zchxFIP5mPkUoPRAWEhdjKO5ncSlU2GXNhY81ck4l3MLBh2aGSbA+Lhb6Jc E1pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=c3clnCf6; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j18-20020a05640211d200b00462e628189asi16764965edw.304.2022.11.16.19.46.00; Wed, 16 Nov 2022 19:46:21 -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=c3clnCf6; 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 S234195AbiKQD2x (ORCPT + 91 others); Wed, 16 Nov 2022 22:28:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239065AbiKQD2a (ORCPT ); Wed, 16 Nov 2022 22:28:30 -0500 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F1F5D6CA13; Wed, 16 Nov 2022 19:28:22 -0800 (PST) Received: from jinankjain-dranzer.zrrkmle5drku1h0apvxbr2u2ee.ix.internal.cloudapp.net (unknown [20.188.121.5]) by linux.microsoft.com (Postfix) with ESMTPSA id 8882E20B83DC; Wed, 16 Nov 2022 19:28:18 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8882E20B83DC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1668655702; bh=D+EHMsRYcjPgM7FAsk56dOdUsC5Gb8WTyjClcLwda7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c3clnCf6MRyp4l/sEknCdLKvRtf2k2fjfuyRfdipLRzOoW7AYZks5bRQtUv7Q+u4n djEaXC0D0N8l21mUaB4g+43kV5fJrqOho3gmXpWLVNWNdhNsWjWTcW/6DrVp8zA5Jz vAn22oRoEPt+pezVLfLEwEhiZYrEyFfpQTO/o5XA= From: Jinank Jain 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 v4 4/5] Drivers: hv: Enable vmbus driver for nested root partition Date: Thu, 17 Nov 2022 03:27:57 +0000 Message-Id: <034117b286fa4cd6fa491325679052f8b71a8c41.1668618583.git.jinankjain@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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; /* -- 2.25.1