Skip to content

Remove unneeded MKTME detection

[email protected] lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/cpu: Remove useless work in detect_tme_early()arch/x86/kernel/cpu/intel.c+12 -600 replies
2/2x86/pconfig: Remove unused MKTME pconfig codearch/x86/include/asm/intel_pconfig.h arch/x86/kernel/cpu/Makefile arch/x86/kernel/cpu/intel_pconfig.c+1 -1500 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKirill A. ShutemovKai Huang
1/2A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Remove unneeded MKTME detection

From: Alison Schofield <[email protected]>

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/[email protected]/

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

Signature · 1 line
2.37.3