Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp192838rwo; Tue, 1 Aug 2023 15:24:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlHuDGLAG5Dy4/BXwlTnafbyfUc7hZLbE8T2NtP49mYY/ifICVeWTUBv5BPipCH7vKYtr4hN X-Received: by 2002:a17:906:2ca:b0:991:e7c2:d0be with SMTP id 10-20020a17090602ca00b00991e7c2d0bemr3342814ejk.63.1690928651265; Tue, 01 Aug 2023 15:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690928651; cv=none; d=google.com; s=arc-20160816; b=ToO+Dznz9ytI+dBM7IIwMkgYR8laq/Z00iv1EfENeMpKRITfcit5Dp0nJxSxtjYV8C Lu7f7XxEG6D17U2thfgKKdw3MyPoRmJ2mz1aSdFlTr2l69KdnRciai4fvJgTuxzgKMaW MRP4cQ+AVlZD3J21bVfmpnLXQQQOT5rvwYrGmKtBX4ss64JqaWLBgHllLPaoRo84OXkm CY9JE5VEotAXiAb+w5+PFmke+GtElF27wrIoXF39vpTwWdmPscmX1NNyl8i8o+TaRpTc J+AejWD9BeEo3eOh47HmPXOy/yukilACy763vz8WuNyQ5gToTIPlLkSoW8K8SMnKgzeW Zm5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8cThOr1mAwZ/hAjipD4ZVdubAHtFREDBDjd8ji7FdbM=; fh=DrCv3ED3Av1fECBeXBfd5H/Yy+fp4Oo0QDLRlrY92wo=; b=w2aT/If7mUURaWJI1c+xbykvGBg2DiLoKPW83iGJpbAgy+hop+a7r4svsnqsARMeAw StByh0ZzR3NlizOL225Q6mylf+n70M6vIOtRGpOieGiJQ8NlGOgwnHukjltqeLscJRo8 /CXs2tpK2reX9dGtT+plL4TohEMSkJzlEx3L4saxZoWAG6CDhxKV6CFNgYZbfSbKN+01 DC8odG49IREBEk16LeT8owgbJQS6/STQzQB8ZoK0hjAM26k+Z25I/aON0+znCv3sPbt4 tUrlKImdChq7K/5tbCccfsU5BEp+bbQtI28sj4uiSz5m6o214JTMbZB6+73KH81ys0BK Lx0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bNT7mqYU; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r15-20020a170906364f00b0099c05358e75si5203856ejb.759.2023.08.01.15.23.46; Tue, 01 Aug 2023 15:24:11 -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=@intel.com header.s=Intel header.b=bNT7mqYU; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231266AbjHAVwo (ORCPT + 99 others); Tue, 1 Aug 2023 17:52:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjHAVwn (ORCPT ); Tue, 1 Aug 2023 17:52:43 -0400 Received: from mgamail.intel.com (unknown [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CAA4103; Tue, 1 Aug 2023 14:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690926762; x=1722462762; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=5sHOU4Cn8TkmWYf2IYukgzv5xFMwg7J56eVFkkNFJLY=; b=bNT7mqYUMRmpD7x2+Bo0ORyT6yY0IP4jwEG5jJlBjeRfJd926RdzVC7R s+GbyNNoUnAxsYDwwjvIqp5V79obOTyVd1l6xmIvJ3L1BiggDG391ChgE ONLleFk8lvnmoeKjF+nKulo5h03lIr6JIpWr0fvMFMop9yLfRUVQ6Rh4a Qw6wEH9CfrqQe/udkHu4+t6+yFJh5/5kYR6gJGC9QHWXU+yC09uOZFa9J u8irEt8s3csqKKIuGWYDxMK/jhMCu4ZXBvv/rkqgiUMZ11c3prwA1ofkN 996xkzdoQ8AI1hU+yubuQi1kupffVRuqUc8aFgD8M235N7vYtSIrQPMQf Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="349724999" X-IronPort-AV: E=Sophos;i="6.01,248,1684825200"; d="scan'208";a="349724999" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 14:52:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10789"; a="732141568" X-IronPort-AV: E=Sophos;i="6.01,248,1684825200"; d="scan'208";a="732141568" Received: from csegura-mobl1.amr.corp.intel.com (HELO [10.255.229.110]) ([10.255.229.110]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2023 14:52:29 -0700 Message-ID: <1b97ea8f-84fe-ac3c-7492-4d1675f7f074@intel.com> Date: Tue, 1 Aug 2023 14:52:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [EXTERNAL] Re: [PATCH v3] x86/hyperv: add noop functions to x86_init mpparse functions Content-Language: en-US To: Saurabh Singh Sengar , Wei Liu , Saurabh Sengar , "dave.hansen@linux.intel.com" Cc: KY Srinivasan , Haiyang Zhang , Dexuan Cui , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "x86@kernel.org" , "Michael Kelley (LINUX)" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "hpa@zytor.com" References: <1687537688-5397-1-git-send-email-ssengar@linux.microsoft.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On 7/21/23 05:58, Saurabh Singh Sengar wrote: >> On Fri, Jun 23, 2023 at 09:28:08AM -0700, Saurabh Sengar wrote: >>> Hyper-V can run VMs at different privilege "levels" known as Virtual >>> Trust Levels (VTL). Sometimes, it chooses to run two different VMs at >>> different levels but they share some of their address space. In such >>> setups VTL2 (higher level VM) has visibility of all of the >>> VTL0 (level 0) memory space. >>> >>> When the CONFIG_X86_MPPARSE is enabled for VTL2, the VTL2 kernel >>> performs a search within the low memory to locate MP tables. However, >>> in systems where VTL0 manages the low memory and may contain valid >>> tables, this scanning can result in incorrect MP table information >>> being provided to the VTL2 kernel, mistakenly considering VTL0's MP >>> table as its own >>> >>> Add noop functions to avoid MP parse scan by VTL2. >>> >>> Signed-off-by: Saurabh Sengar >> Hi Dave, are you happy with the commit message? > HI Dave, > > If there is no concern, can I get your ack Looks sane: Acked-by: Dave Hansen Although, if you muck with this any more having actual facts on what the "incorrect MP table information" causes would be nice too.