From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752362AbdLHT7P (ORCPT ); Fri, 8 Dec 2017 14:59:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:41098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750741AbdLHT7O (ORCPT ); Fri, 8 Dec 2017 14:59:14 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08A942148C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org From: Andy Lutomirski To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Borislav Petkov , Brian Gerst , David Laight , Kees Cook , Peter Zijlstra , Andy Lutomirski Subject: [RFC PTI 0/3] Clean up pgd handling and fix VSYSCALL and LDT Date: Fri, 8 Dec 2017 11:59:08 -0800 Message-Id: X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This needs more testing, but here goes. Andy Lutomirski (3): x86/pti: Vastly simplify pgd synchronization Revert "x86/mm/pti: Disable native VSYSCALL" x86/pti: Put the LDT in its own PGD if PTI is on Documentation/x86/x86_64/mm.txt | 11 ++- arch/x86/Kconfig | 8 -- arch/x86/include/asm/mmu_context.h | 33 +++++++- arch/x86/include/asm/pgtable_64.h | 74 +++++++---------- arch/x86/include/asm/pgtable_64_types.h | 2 + arch/x86/include/asm/processor.h | 23 ++++-- arch/x86/kernel/ldt.c | 139 +++++++++++++++++++++++++++++--- arch/x86/mm/pti.c | 52 +++--------- 8 files changed, 224 insertions(+), 118 deletions(-) -- 2.13.6