From: alison.schofield@intel.com
To: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org
Cc: Alison Schofield <alison.schofield@intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Kai Huang <kai.huang@intel.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] Remove unneeded MKTME detection
Date: Mon, 6 May 2024 21:24:20 -0700 [thread overview]
Message-ID: <cover.1715054189.git.alison.schofield@intel.com> (raw)
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
next reply other threads:[~2024-05-07 4:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 4:24 alison.schofield [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1715054189.git.alison.schofield@intel.com \
--to=alison.schofield@intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kai.huang@intel.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox