aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/platform
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2018-01-31 16:54:04 +0300
committerIngo Molnar <mingo@kernel.org>2018-02-13 15:59:49 +0100
commit1070730c1ad2bd49b0d11112728f1f4390137728 (patch)
treefe3fceed092504ca19a4a66eb29eb45552dabd02 /arch/x86/platform
parentx86/mm/encrypt: Simplify sme_populate_pgd() and sme_populate_pgd_large() (diff)
downloadwireguard-linux-1070730c1ad2bd49b0d11112728f1f4390137728.tar.xz
wireguard-linux-1070730c1ad2bd49b0d11112728f1f4390137728.zip
x86/mm/encrypt: Simplify sme_pgtable_calc()
sme_pgtable_calc() is unnecessary complex. It can be re-written in a more stream-lined way. As a side effect, we would get the code ready to boot-time switching between paging modes. Tested-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mm@kvack.org Link: http://lkml.kernel.org/r/20180131135404.40692-4-kirill.shutemov@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform')
0 files changed, 0 insertions, 0 deletions