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]
Message-Id: <cover.1697525407.git.houwenlong.hwl@antgroup.com>
Date:   Tue, 17 Oct 2023 15:08:05 +0800
From:   "Hou Wenlong" <houwenlong.hwl@...group.com>
To:     linux-kernel@...r.kernel.org
Cc:     "Hou Wenlong" <houwenlong.hwl@...group.com>,
        "Alexander Shishkin" <alexander.shishkin@...ux.intel.com>,
        "Andrew Morton" <akpm@...ux-foundation.org>,
        "Andy Lutomirski" <luto@...nel.org>,
        "Anshuman Khandual" <anshuman.khandual@....com>,
        "Arnd Bergmann" <arnd@...db.de>, "Borislav Petkov" <bp@...en8.de>,
        "Dave Hansen" <dave.hansen@...ux.intel.com>,
        "H. Peter Anvin" <hpa@...or.com>, "Ingo Molnar" <mingo@...hat.com>,
        "Josh Poimboeuf" <jpoimboe@...nel.org>,
        "Michael Kelley" <mikelley@...rosoft.com>,
        "Mike Rapoport" <rppt@...nel.org>,
        "Pasha Tatashin" <pasha.tatashin@...een.com>,
        "Peter Zijlstra" <peterz@...radead.org>,
        "Steve Rutherford" <srutherford@...gle.com>,
        "Thomas Gleixner" <tglx@...utronix.de>,
        "Tom Lendacky" <thomas.lendacky@....com>,
        "Wang Jinchao" <wangjinchao@...sion.com>, <x86@...nel.org>,
        "Yuntao Wang" <ytcoode@...il.com>
Subject: [PATCH 0/2] x86/head/64: Mark the code as __head in mem_encrypt_identity.c

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ