Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8948838rwr; Thu, 11 May 2023 08:08:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zWC3eA8i2FXZWXSSc8c01mCWwa7PT3pRUaMdhNQ1Sn2R4qkYg8vd5lrCem1sWm4usbOcn X-Received: by 2002:a17:90b:3a8c:b0:247:40f1:79d7 with SMTP id om12-20020a17090b3a8c00b0024740f179d7mr21077163pjb.34.1683817729570; Thu, 11 May 2023 08:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683817729; cv=none; d=google.com; s=arc-20160816; b=aITrlbHcwokZ6pLOpRYDvPlqR8q03LKjC4BAEHde+qHE9GLkvfpiyAGUqOjOAOq6Ri JR3n+hVRa+YR6cBjIo9rEkJ+9avhFFBxtlbwsW+ye4IY12ItO7x6o7/rww4W69+x/+jP W9N48jVteIzMdsHMtIO+PIp+d3SdIcK0Fl/2rrdhjRrXgxsyye3BEEjgs7qE8R/eVIwe 7jJ8qSRcnmb0mIGX5WB+LbGaT33RuY7BI9YBDZGqesK0J7J492kZW7em6KBwSIrUoZZc eFQkmqjfwcv/T1M2cRUJrTAfdBbZiC/7wGASvt9wOsw38kbG2Cym2qec4Af7nj1zY5bC UCEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature:dkim-filter; bh=O4J9DTHM5ykaLqmtABIlS+wEAau1jelC6LEZQR7BwQU=; b=sid4iX/N3TBNd4vPU+slYzhhmyMYbBK2iCX8xjtXR0zSm3F4dZZHPNNvG8hwBe71HB rfIRJirW1DHvGiMjhUiTMjokLSzeQ6gHgkkgX/CNJOq/p7TCBTaw65aBjiYiUiut2VV8 ctihs1vJnkpPtQbRarKb7JjH1oKjUeWMkXla+wu6RPdjaYxDHXuv0Li9QwhS+6S7W/jr B2VS/lPMdZwmqp8qfltazr8QKn8TAokdWSdn1VtqsFXonSpmmf1CXpoMyUoaiYZ+Uotx 28Sqg5uq4IMhTUSpOkYKfTfi10676j6ZZBdCag+yVRwiMgwjZ19UjIUh9uqlIBoXnTDz A/ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=TmNzbGlB; 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 s4-20020a63b404000000b005287bffc5c0si6858869pgf.711.2023.05.11.08.08.34; Thu, 11 May 2023 08:08:49 -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; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=TmNzbGlB; 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 S238296AbjEKO4j (ORCPT + 99 others); Thu, 11 May 2023 10:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238282AbjEKO4X (ORCPT ); Thu, 11 May 2023 10:56:23 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8B57611B48; Thu, 11 May 2023 07:55:58 -0700 (PDT) Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id A007220EAB6B; Thu, 11 May 2023 07:55:00 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A007220EAB6B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1683816900; bh=O4J9DTHM5ykaLqmtABIlS+wEAau1jelC6LEZQR7BwQU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TmNzbGlBq8Eg1wauWEGCh5NWemaFbFcRw00GOHRqhR/k4N+JHh/ImOh9ZSKTA1Dp5 V9lvh4Wgnens8yhjLrhGK/SUPbuMEi7QWkgNy1U91iv45Odv5OwCBu56bq0UIZHRXx dcZOVAsORNvKspJArl7ZBXznMayL/GVh/FuaCFfo= From: Saurabh Sengar To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, mikelley@microsoft.com, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org Cc: ssengar@microsoft.com Subject: [PATCH 2/2] Drivers: hv: Kconfig: Add HYPERV_VTL_MODE dependencies Date: Thu, 11 May 2023 07:54:37 -0700 Message-Id: <1683816877-10747-2-git-send-email-ssengar@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1683816877-10747-1-git-send-email-ssengar@linux.microsoft.com> References: <1683816877-10747-1-git-send-email-ssengar@linux.microsoft.com> 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,T_SCC_BODY_TEXT_LINE,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 MTRRs are not per-VTL and are controlled by VTL0, make sure it is disabled for all other VTLs. X86_MPPARSE scans low memory for MP tables, which is not required for Hyper-V VTL platforms. Signed-off-by: Saurabh Sengar --- drivers/hv/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig index 00242107d62e..c8d443886b9d 100644 --- a/drivers/hv/Kconfig +++ b/drivers/hv/Kconfig @@ -16,6 +16,8 @@ config HYPERV config HYPERV_VTL_MODE bool "Enable Linux to boot in VTL context" depends on X86_64 && HYPERV + depends on !MTRR + depends on !X86_MPPARSE default n help Virtual Secure Mode (VSM) is a set of hypervisor capabilities and -- 2.34.1