[PATCH 0/2] Remove unneeded MKTME detection

From: alison . schofield
Date: Fri Apr 26 2024 - 00:25:03 EST


From: Alison Schofield <alison.schofield@xxxxxxxxx>

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

arch/x86/include/asm/intel_pconfig.h | 65 ---------------------
arch/x86/kernel/cpu/Makefile | 2 +-
arch/x86/kernel/cpu/intel.c | 71 ++++-------------------
arch/x86/kernel/cpu/intel_pconfig.c | 84 ----------------------------
4 files changed, 13 insertions(+), 209 deletions(-)
delete mode 100644 arch/x86/include/asm/intel_pconfig.h
delete mode 100644 arch/x86/kernel/cpu/intel_pconfig.c


base-commit: 5a04007fb7a9a3f101fe551f0e47849f2cd1125b
--
2.37.3