lkml.org 
[lkml]   [2023]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] x86/head/64: Mark the code as __head in mem_encrypt_identity.c
Date
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

\
 
 \ /
  Last update: 2023-10-17 09:09    [W:0.075 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site