Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1046745rwd; Thu, 25 May 2023 07:24:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53d97SLRaiBUGsejVLb0UNO0Mei+zuymc5yX+qvQo/D4eR45dWgM/A1Z4o+cNftYxq58Rz X-Received: by 2002:aa7:8894:0:b0:64d:1333:6f3d with SMTP id z20-20020aa78894000000b0064d13336f3dmr8956426pfe.10.1685024697322; Thu, 25 May 2023 07:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685024697; cv=none; d=google.com; s=arc-20160816; b=oLiSf3ogfFANpdct/5JwptPubE9hBYnn6jEXTC5cycWifgieZ2KxLeMUt6lIqmfaxD 3QUV323BX+3Y1csFc8/xdVEIqR2SZYWAvEIwvL31Ba9UvRx9wTEYEuU6/dKKWGaIjysZ 3HUoyTFIMe2MuQF9gdQ+NgTDtH2neMfx2YDBEjeC0NLBJebl4x9rS687Ybt4yXirhveB r4H5KH7l2w5AdJ0t3tDw6TsTGl5d9TymigXhirgBTQTijSXq7+CnHNCGiCx+Bsb0MmMW JZBe0WRN5987equdCEyku0A4ymt7CYwPZT1YDiiU8i7goiqBz3sFtv1dqO1g/cxEjF9B iwwQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=p3QCIldFmPO7dABPa38aBUMwaU2WGe7ZqtFDKQTBbIs=; b=vTZf4CNg6OFwCDiiVV/sxkPPFSA81XJzMWHeRGZiiw2ZYHl+YKpBUN8eWbnbkwC5cf 9dQqWZvhj1l6c9QRLjNjkVtJWwZQp4ZOdEZZe2me+Cemg7xat5JBRhtZnK4PLnUiGfst zxWkt5l72X+xhB4Hc7IOwiLFQuXld8Gj4vBYZBbrlCVVRaGRIFHQn4j5fF4BR0ncBKwN 31xImFXjTXedn+0t6QhBGX2ly35d8xWu8jv6Jd/HCJbKai63d11ItZ1gjoJ21j7rXYAJ ynBVU5CptS2wesoXHGrP/Vx0uzW1L61GtrBUGNwBnE2Qt+z//gOx4P/6Ki7+plbCWkbi HEvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n7fW2eBh; 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 r1-20020aa79621000000b0063d48d82e85si1693018pfg.15.2023.05.25.07.24.41; Thu, 25 May 2023 07:24:57 -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=n7fW2eBh; 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 S241419AbjEYN4R (ORCPT + 99 others); Thu, 25 May 2023 09:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241378AbjEYN4O (ORCPT ); Thu, 25 May 2023 09:56:14 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF6AD186; Thu, 25 May 2023 06:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685022972; x=1716558972; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=gUhiFPchgWyeHeR6vpngEYZDAoF6lLu30ZSMdDh296U=; b=n7fW2eBhgenDdGRE85iz41FCRbWQWWU8w43UddOMPEAQ6mzmPUlG5wMi 9ce1YHwdbcajzTXtc7012ZUfcBab9oUYbNspAUMqwi7YV+IiVKMdwzQ8v HhwE8dRHDuaMNPfnajm4CiHMJtczF7pPlOLcULkA2A+kRCn7unV73Mfle oYgJMfL1sTl9AZ9ubEXrmtYQPZJ4Ua8d5qAZEstXCzAcwiKBdFGkRAtn5 tJJW1vsnQ+tVfiRTKqUI39UoHhwHia7nrex8XUva/dA8z6mCDCV96p04G 1fl/KG/UBl4thGx9llLCjjlMkGNHDbM2WzTs8nDbiHaal0KvQ+9gqKpOu Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="440245113" X-IronPort-AV: E=Sophos;i="6.00,191,1681196400"; d="scan'208";a="440245113" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2023 06:56:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="794687234" X-IronPort-AV: E=Sophos;i="6.00,191,1681196400"; d="scan'208";a="794687234" Received: from shuklaas-mobl1.amr.corp.intel.com (HELO [10.212.186.148]) ([10.212.186.148]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2023 06:56:11 -0700 Message-ID: <13922610-b9bc-ab4b-8482-9aae238396c7@intel.com> Date: Thu, 25 May 2023 06:56:10 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [EXTERNAL] Re: [PATCH 1/2] x86/Kconfig: Allow CONFIG_X86_MPPARSE disable for OF platforms Content-Language: en-US To: Saurabh Singh Sengar , Saurabh Sengar , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "hpa@zytor.com" , KY Srinivasan , Haiyang Zhang , "wei.liu@kernel.org" , Dexuan Cui , "Michael Kelley (LINUX)" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" References: <1683816877-10747-1-git-send-email-ssengar@linux.microsoft.com> <9b88ddaf-c5c5-0244-5be7-12400ee54e11@intel.com> <33d7800b-7870-6755-b057-f734fa7accd6@intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 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_MED,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 5/25/23 00:06, Saurabh Singh Sengar wrote: > When CONFIG_X86_MPPARSE is enabled, the kernel will scan low memory, > looking for MP tables. In Hyper-V VBS setup, lower memory is assigned to VTL0. > This lower memory may contain the actual MPPARSE table for VTL0, > which can confuse the VTLx kernel and cause issues. (x > 0) This still just seems wrong. If an action crashes the kernel because of changes, we don't just compile it out and move on. We add enumeration for the new feature that's causing it and turn off the action at runtime.