public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Remove unneeded MKTME detection
@ 2024-05-07  4:24 alison.schofield
  2024-05-07  4:24 ` [PATCH v2 1/2] x86/cpu: Remove useless work in detect_tme_early() alison.schofield
  2024-05-07  4:24 ` [PATCH v2 2/2] x86/pconfig: Remove unused MKTME pconfig code alison.schofield
  0 siblings, 2 replies; 3+ messages in thread
From: alison.schofield @ 2024-05-07  4:24 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86
  Cc: Alison Schofield, H. Peter Anvin, Kirill A. Shutemov, Kai Huang,
	linux-kernel

From: Alison Schofield <alison.schofield@intel.com>

Changes in v2:
- Print the phys_addr bits reduction when BIOS enables MKTME (Kai)
- Remove init of keyid_bits (Kirill)
- Pick up Acked-by tags (Kirill, Kai)
- Update Patch 1 commit message phys addr bits note
- Rebase to latest tiptree
- Add note in this cover letter saying patches are independent

Link to v1: 
https://lore.kernel.org/all/cover.1713929290.git.alison.schofield@intel.com/


Begin original cover letter:
 
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. There are no
dependencies between the 2 patches. The code that Patch 2 removes
is not used anywhere, not even pre-Patch 1.

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          | 72 ++++--------------------
 arch/x86/kernel/cpu/intel_pconfig.c  | 84 ----------------------------
 4 files changed, 13 insertions(+), 210 deletions(-)
 delete mode 100644 arch/x86/include/asm/intel_pconfig.h
 delete mode 100644 arch/x86/kernel/cpu/intel_pconfig.c


base-commit: 89948cc11a08639df9f004e866e51f9be887de88
-- 
2.37.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-07  4:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07  4:24 [PATCH v2 0/2] Remove unneeded MKTME detection alison.schofield
2024-05-07  4:24 ` [PATCH v2 1/2] x86/cpu: Remove useless work in detect_tme_early() alison.schofield
2024-05-07  4:24 ` [PATCH v2 2/2] x86/pconfig: Remove unused MKTME pconfig code alison.schofield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox