Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp179915lqg; Fri, 26 Apr 2024 12:08:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV69p/xXRfAnhl/Mtli6jXGWGjIVtKZaNjZjc5wMOXqv9VxpMYqSeBhZZn3LS0rk2D6FmypHNhsueN9SYNo4YGCY1eigBNSEknWXb6/4w== X-Google-Smtp-Source: AGHT+IEHTcWxxEqtq6WOwe6vyfev5vc1XkoaKV7PBGhZzroINoeOnrLimO7/hRJVq0Vc8pIqEovp X-Received: by 2002:a17:906:1c48:b0:a58:9297:91a1 with SMTP id l8-20020a1709061c4800b00a58929791a1mr2627686ejg.53.1714158487436; Fri, 26 Apr 2024 12:08:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714158487; cv=pass; d=google.com; s=arc-20160816; b=At65HnZHY3dKr5+BLpJP2ZxnACkYZwvOGSqaoQSrgz9Ek0EJcpzeZtcT2P5Igj8q3q /3Pzv5JiuvgN0b9AQbKLAZ5dmbMmM7IUYOI+1sqDzQ0YpMG2BO2cEwXWjYjm4jTQZbbV 5duEV4TG6XIUb5f6Kgv5YZaY1ZGsdrEQVinrSzQocxFeCUnb3iey7jisKEiXGNsSEOfa OF/FR1QWl1uJg34aNiBl1BdkM/dbre4Tf5mKcslUynJqkDVqPqPxZP6srDe0epHNQeDv IWtffIm1SRG5dbkmwrM9T/CkBs9uNTDWrq31TFQ5GhlAdkLqikYvi3MGuaHMHwqOzSca qr7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qM6ZDkO9qTPZx/UzEvQ4VmvPRbcyo48RI25NnGXWlEE=; fh=w7NOgEPhKye/bTOc0zfJQbuZ930xqt/c/4OBeOspqRw=; b=kaq4c38D9Az/r1K9CvQnuiIdmPPyg1r7RcReteHQZM3bIN2znqE9Ez0dhrOZWp+DPp Cs0GJt/dSYl0LJF1tRqfKO2jyAwDXZIJoAPJ7OSBxSVvvAkGdFzvyGCn1qBa0gzzvvxZ LpKGjTTB3ubakh9P8lMdjvhPuRU+Jr/sSd7Ckd9EBv+/muyMXTXA/Stah2J/YsSa9gz6 2gkwLiczE2TWO2huL8FqWjevaMvsJJFyEGd+2KP3Wl+WJfWEWsEVq3SbsSvsrAOt5BwW Jyhdt5j5x2FJ3ZlUrouPUwxgX0jamxSQcSXE+b4Lk3ej7XGE/8lDpyYZkZmDsockzC8z hK7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XGPqK6Qp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160598-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i9-20020a170906090900b00a587ba3e43csi5136620ejd.582.2024.04.26.12.08.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 12:08:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160598-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XGPqK6Qp; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-160598-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2CEB31F25473 for ; Fri, 26 Apr 2024 19:08:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBF1F171A1; Fri, 26 Apr 2024 19:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XGPqK6Qp" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B82E2125AE for ; Fri, 26 Apr 2024 19:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714158480; cv=none; b=TEqeqReMn1sJ0HF+pTHjw6zx6K13uzYs8XTxO3bdBMEhczXyLhPYuR4rWE3zUWAzYsY9iFhbLazWyMkRoOIqc6Lil/q6MqazLkPYr/VyWqCtceZRVm+aaFJWcM+CthQCs97X8KdNmWR1iVxRlTuXcu0ryp/vYloWZi/tSD108yM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714158480; c=relaxed/simple; bh=UeSxCdJbzGcsS1QJmeuULnQ8iK3ONz8IzPRxX1f/Ppc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QjTFSVyLbg0D+RHY7hW+/VjT8RPEgEVnqW4v2nkzlMEq6GgPksvxui72UZ0BmW/YjYdOOrx1aTihJkhCsfEQuhPYxhfgiGPivlvV3kOOMvcPUwgMw/pGEN8/tyGwrurJGw/XdxOmdGJKOVWsCt2txBp5qkFah/NXVV84uDFjHX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=XGPqK6Qp; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714158479; x=1745694479; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UeSxCdJbzGcsS1QJmeuULnQ8iK3ONz8IzPRxX1f/Ppc=; b=XGPqK6QpyL086kuKKagZ4JOV5f9nO7e2Xhd39DfQUKtBiNO1/8sZYl8h aFRCySf2FujEZlmMEGrIiHxqIVaQ1/6uC8a8F1KqaOjMCUo5a/HYzSBas DSQiSaLAE8K5E2lpdipNc4Ipq75fktIeKmk9dOLPGYqb4HL+maBT3Il8V jaZViGO6SoDmCDqdhNgve/817sJL875h2twokep3MRk+1gbLH6krNDBT+ 8PaMRbCtbi6h3P1BrJRNrJ19F9yEtIxfZ4dRCmolL2qnNK/ZE5mt8Iym8 9FWro7Jc9+GUGknk40EjEWpQI5BzDVmCElzuMzXQMAySiJNJZ1JKje/k2 g==; X-CSE-ConnectionGUID: RUqmjtn5QqmKIUf57nTnEg== X-CSE-MsgGUID: q8SiylM5SSmS+N+b2pAFew== X-IronPort-AV: E=McAfee;i="6600,9927,11056"; a="21315007" X-IronPort-AV: E=Sophos;i="6.07,233,1708416000"; d="scan'208";a="21315007" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 12:07:58 -0700 X-CSE-ConnectionGUID: de3DcQFlTCqc1GasD9tfMw== X-CSE-MsgGUID: jx4p2FM4RlmrEIyfjsPppQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,233,1708416000"; d="scan'208";a="26006350" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa007.jf.intel.com with ESMTP; 26 Apr 2024 12:07:56 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 34F561D5; Fri, 26 Apr 2024 22:07:54 +0300 (EEST) Date: Fri, 26 Apr 2024 22:07:54 +0300 From: "Kirill A. Shutemov" To: alison.schofield@intel.com Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Kai Huang , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Remove unneeded MKTME detection Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 25, 2024 at 09:24:51PM -0700, alison.schofield@intel.com wrote: > From: Alison Schofield > > MKTME detection was added in anticipation of full kernel support > that never followed. Aside from just good housekeeping, this > cleanup is inspired by users who are confused by the TME/MKTME > messaging during boot. > > The first patch cleans up the TME & MKTME detection code and the > second patch removes the unused pconfig code. > > Testing was done on a platform supporting MKTME using the BIOS > option to enable/disable MKTME prior to boot. > > > Alison Schofield (2): > x86/cpu: Remove useless work in detect_tme_early() > x86/pconfig: Remove unused MKTME pconfig code Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov