lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon,  6 May 2024 21:24:20 -0700
From: alison.schofield@...el.com
To: Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	Borislav Petkov <bp@...en8.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	x86@...nel.org
Cc: Alison Schofield <alison.schofield@...el.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	Kai Huang <kai.huang@...el.com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] Remove unneeded MKTME detection

From: Alison Schofield <alison.schofield@...el.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ