From: "Hou Wenlong" <houwenlong.hwl@antgroup.com>
To: linux-kernel@vger.kernel.org
Cc: "Hou Wenlong" <houwenlong.hwl@antgroup.com>,
"Alexander Shishkin" <alexander.shishkin@linux.intel.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Andy Lutomirski" <luto@kernel.org>,
"Anshuman Khandual" <anshuman.khandual@arm.com>,
"Arnd Bergmann" <arnd@arndb.de>, "Borislav Petkov" <bp@alien8.de>,
"Dave Hansen" <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
"Ingo Molnar" <mingo@redhat.com>,
"Josh Poimboeuf" <jpoimboe@kernel.org>,
"Michael Kelley" <mikelley@microsoft.com>,
"Mike Rapoport" <rppt@kernel.org>,
"Pasha Tatashin" <pasha.tatashin@soleen.com>,
"Peter Zijlstra" <peterz@infradead.org>,
"Steve Rutherford" <srutherford@google.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Tom Lendacky" <thomas.lendacky@amd.com>,
"Wang Jinchao" <wangjinchao@xfusion.com>, <x86@kernel.org>,
"Yuntao Wang" <ytcoode@gmail.com>
Subject: [PATCH 0/2] x86/head/64: Mark the code as __head in mem_encrypt_identity.c
Date: Tue, 17 Oct 2023 15:08:05 +0800 [thread overview]
Message-ID: <cover.1697525407.git.houwenlong.hwl@antgroup.com> (raw)
Similar to head64.c, mark all the code in mem_encrypt_identity.c as
__head since it runs in the identity address. This is part of the
patchset that builds the head code as PIE[1].
[1]: https://lore.kernel.org/all/cover.1689130310.git.houwenlong.hwl@antgroup.com
Hou Wenlong (2):
x86/head/64: Move the __head definition to <asm/init.h>
x86/sme: Mark the code as __head in mem_encrypt_identity.c
arch/x86/include/asm/init.h | 2 ++
arch/x86/include/asm/mem_encrypt.h | 8 ++++----
arch/x86/kernel/head64.c | 3 +--
arch/x86/mm/mem_encrypt_identity.c | 27 ++++++++++++++-------------
4 files changed, 21 insertions(+), 19 deletions(-)
base-commit: 0c09c1d70838475762255844b72fa0e7fd6ace7c
--
2.31.1
next reply other threads:[~2023-10-17 7:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-17 7:08 Hou Wenlong [this message]
2023-10-17 7:08 ` [PATCH 1/2] x86/head/64: Move the __head definition to <asm/init.h> Hou Wenlong
2023-10-17 7:08 ` [PATCH 2/2] x86/sme: Mark the code as __head in mem_encrypt_identity.c Hou Wenlong
2023-10-17 12:52 ` Ingo Molnar
2023-10-17 19:50 ` Thomas Gleixner
2023-10-18 10:22 ` Ingo Molnar
2023-10-18 7:13 ` Hou Wenlong
2023-10-18 10:20 ` Ingo Molnar
2023-10-18 12:03 ` Hou Wenlong
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.1697525407.git.houwenlong.hwl@antgroup.com \
--to=houwenlong.hwl@antgroup.com \
--cc=akpm@linux-foundation.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=anshuman.khandual@arm.com \
--cc=arnd@arndb.de \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mikelley@microsoft.com \
--cc=mingo@redhat.com \
--cc=pasha.tatashin@soleen.com \
--cc=peterz@infradead.org \
--cc=rppt@kernel.org \
--cc=srutherford@google.com \
--cc=tglx@linutronix.de \
--cc=thomas.lendacky@amd.com \
--cc=wangjinchao@xfusion.com \
--cc=x86@kernel.org \
--cc=ytcoode@gmail.com \
/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