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
| ||
|
Message-Id: <20171212114544.56680-1-kirill.shutemov@linux.intel.com> Date: Tue, 12 Dec 2017 14:45:41 +0300 From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com> To: Tom Lendacky <thomas.lendacky@....com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com> Cc: x86@...nel.org, Borislav Petkov <bp@...e.de>, Brijesh Singh <brijesh.singh@....com>, linux-mm@...ck.org, linux-kernel@...r.kernel.org, "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com> Subject: [PATCH 0/3] x86/mm/encrypt: Simplify pgtable helpers This patchset simplifies sme_populate_pgd(), sme_populate_pgd_large() and sme_pgtable_calc() functions. As a side effect, the patchset makes encryption code ready to boot-time switching between paging modes. The patchset is build on top of Tom's "x86: SME: BSP/SME microcode update fix" patchset. It was only build-tested. Tom, could you please get it tested properly? Kirill A. Shutemov (3): x86/mm/encrypt: Move sme_populate_pgd*() into separate translation unit x86/mm/encrypt: Rewrite sme_populate_pgd() and sme_populate_pgd_large() x86/mm/encrypt: Rewrite sme_pgtable_calc() arch/x86/mm/Makefile | 13 +-- arch/x86/mm/mem_encrypt.c | 169 ++++--------------------------------- arch/x86/mm/mem_encrypt_identity.c | 123 +++++++++++++++++++++++++++ arch/x86/mm/mm_internal.h | 4 + 4 files changed, 150 insertions(+), 159 deletions(-) create mode 100644 arch/x86/mm/mem_encrypt_identity.c -- 2.15.0
Powered by blists - more mailing lists