Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751530AbdLBGUR (ORCPT ); Sat, 2 Dec 2017 01:20:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:37156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbdLBGUQ (ORCPT ); Sat, 2 Dec 2017 01:20:16 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B77021878 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 ML Cc: Borislav Petkov , "linux-kernel@vger.kernel.org" , Brian Gerst , Dave Hansen , Linus Torvalds , Josh Poimboeuf , Andy Lutomirski Subject: [PATCH 0/2] KPTI: get rid of cpu_entry_area mapping duplication Date: Fri, 1 Dec 2017 22:20:09 -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 Content-Length: 589 Lines: 18 I like this variant much better. It might also fix the nasty bug tglx and peterz were chasing. Andy Lutomirski (2): Undo the split of setup_cpu_entry_area x86/kpti: Reference all cpu_entry_area pagetables in the usermode tables arch/x86/include/asm/fixmap.h | 14 +++++--- arch/x86/include/asm/kpti.h | 8 +++-- arch/x86/kernel/cpu/common.c | 3 -- arch/x86/kernel/smpboot.c | 2 ++ arch/x86/kernel/traps.c | 6 +++- arch/x86/mm/kpti.c | 82 ++++++++++++++++++++++++++----------------- 6 files changed, 71 insertions(+), 44 deletions(-) -- 2.13.6