From: Ard Biesheuvel <ardb+git@google.com>
To: mingo@kernel.org
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
linux-efi@vger.kernel.org, Ard Biesheuvel <ardb@kernel.org>
Subject: [PATCH v2 0/2] x86: Refactor and consolidate startup code
Date: Mon, 7 Apr 2025 08:11:33 +0200 [thread overview]
Message-ID: <20250407061132.69315-4-ardb+git@google.com> (raw)
From: Ard Biesheuvel <ardb@kernel.org>
v2:
- drop queued patches #1 - #4
- keep exported symbols out of startup/
- rebase onto tip/x86/boot
Ard Biesheuvel (2):
x86/boot: Move early kernel mapping code into startup/
x86/boot: Move early SME init code into startup/
arch/x86/boot/startup/Makefile | 3 +-
arch/x86/boot/startup/map_kernel.c | 215 ++++++++++++++++++++
arch/x86/{mm/mem_encrypt_identity.c => boot/startup/sme.c} | 45 ++--
arch/x86/include/asm/mem_encrypt.h | 2 +-
arch/x86/kernel/head64.c | 211 +------------------
arch/x86/mm/Makefile | 6 -
6 files changed, 240 insertions(+), 242 deletions(-)
create mode 100644 arch/x86/boot/startup/map_kernel.c
rename arch/x86/{mm/mem_encrypt_identity.c => boot/startup/sme.c} (92%)
base-commit: cc34e658c6db493c1524077e95b42d478de58f2b
--
2.49.0.504.g3bcea36a83-goog
next reply other threads:[~2025-04-07 6:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 6:11 Ard Biesheuvel [this message]
2025-04-07 6:11 ` [PATCH v2 1/2] x86/boot: Move early kernel mapping code into startup/ Ard Biesheuvel
2025-04-07 17:44 ` Ingo Molnar
2025-04-07 17:55 ` Ard Biesheuvel
2025-04-07 18:06 ` Ingo Molnar
2025-04-07 6:11 ` [PATCH v2 2/2] x86/boot: Move early SME init " Ard Biesheuvel
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=20250407061132.69315-4-ardb+git@google.com \
--to=ardb+git@google.com \
--cc=ardb@kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).