Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10306602rwl; Sun, 1 Jan 2023 23:32:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXun8FFibu0sEyjqWBpKUTir9ptJyizlZ1q6VfB/uudeJ7Z7Cnr6Jt4TO6tZlMAuqhcY4kYX X-Received: by 2002:a17:906:8492:b0:7ad:8f6f:806d with SMTP id m18-20020a170906849200b007ad8f6f806dmr35307492ejx.24.1672644743538; Sun, 01 Jan 2023 23:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672644743; cv=none; d=google.com; s=arc-20160816; b=U0rwpuYI7u4HAHUuqVWvhVx9Gx47RrKMeyYRcLgm3M/PP6lv0aP+ltwnRv49wnWl0k gdl6yZPqUnRUVgz/fq7LOG8fjR5e2pmFR/CHFJ4LNwOqqZHXC16nMgsGu+JLodOS1AjK IIEI1HHRfLcEHT7aoX+45g8nMDqyVEJEXDVr8Tt9fQts7IfTO0aEVdJIRPFAP8bWdKFX AQS+q5r9Y0w5YHRX7huIoq5cLq0gzs+uDOx+wCxijA1D4S49mWcsrSyHNRuAUwEoFV4j 6mIONYkzzymImol5ShB71Bms/2RZ5DdhL5iaYjS9wDzg3G6TSRMGFib44EnXECnUkwGf wJ7Q== 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=WwgTdzq933yo46nX8RcCPBXut+LFdh0yPYBgTMkkcFM=; b=xCyGWSMMJpMhMd1MWhYMnk/hkjPdFZLy1S47PEJXcIEAfG1PojfV8GVx80PJYVOq6N GOPe5MzK2HDzDZsPlYDgBnCiCXrWUhsZHQFp1+ISeaQAyhUzBbGCJ0M9Bi4KKcQ5NCrX iQpj5KCutMB6GW/pVifIHpK9gOFsCatCXrCq2tq2FVNHYdc9iAMDFtpwhBh3YBRki5f4 pokhC33ghtGhi3RLHuqlO8E71boYX+omYk+dIwF3QeS0ojKhhMBih2zlDXGEycbth7ol JJSeqJScwLBGFP0TJvVdNItMDnU0wwgrnTufJh5uODdSNTa6DVpJEjrM9lnFmGU798mP 52xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="cpyT/cqo"; 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 e5-20020a170906844500b007763cc7093csi18076850ejy.884.2023.01.01.23.32.08; Sun, 01 Jan 2023 23:32:23 -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="cpyT/cqo"; 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 S231236AbjABHOD (ORCPT + 59 others); Mon, 2 Jan 2023 02:14:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230505AbjABHNh (ORCPT ); Mon, 2 Jan 2023 02:13:37 -0500 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 470B926D1; Sun, 1 Jan 2023 23:13:20 -0800 (PST) Received: from jinankjain-dranzer.zrrkmle5drku1h0apvxbr2u2ee.ix.internal.cloudapp.net (unknown [20.188.121.5]) by linux.microsoft.com (Postfix) with ESMTPSA id D10C120FB6C2; Sun, 1 Jan 2023 23:13:15 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D10C120FB6C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1672643600; bh=WwgTdzq933yo46nX8RcCPBXut+LFdh0yPYBgTMkkcFM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cpyT/cqoWkkmbPfM0AhkKC4PwVsYK1NNGw80nxb7E5zfT9Pvu+/iBdUO1pSb4/IPj bZrzO7UVOpaCqLdNlgDJ7oAPEnFgcfp/2Ziuc46rEJ/daTigNwqsHdgjdQwJbLSonL Bfu+8aPTyfI8SEBKD9y4HdFbEWCtbyIs6O68FxUM= 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 v10 4/5] Drivers: hv: Enable vmbus driver for nested root partition Date: Mon, 2 Jan 2023 07:12:54 +0000 Message-Id: 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 0f00d57b7c25..6324e01d5eec 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -2745,7 +2745,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