From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f198.google.com (mail-wr0-f198.google.com [209.85.128.198]) by kanga.kvack.org (Postfix) with ESMTP id 1C6106B026F for ; Tue, 5 Dec 2017 04:34:56 -0500 (EST) Received: by mail-wr0-f198.google.com with SMTP id 11so11642108wrb.18 for ; Tue, 05 Dec 2017 01:34:56 -0800 (PST) Received: from Galois.linutronix.de (Galois.linutronix.de. [2a01:7a0:2:106d:700::1]) by mx.google.com with ESMTPS id d82si6384041wmd.237.2017.12.05.01.34.54 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 05 Dec 2017 01:34:54 -0800 (PST) Date: Tue, 5 Dec 2017 10:34:08 +0100 (CET) From: Thomas Gleixner Subject: Re: [patch 57/60] x86/mm/kpti: Add Kconfig In-Reply-To: Message-ID: References: <20171204140706.296109558@linutronix.de> <20171204150609.511885345@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: LKML , X86 ML , Linus Torvalds , Peter Zijlstra , Dave Hansen , Borislav Petkov , Greg KH , Kees Cook , Hugh Dickins , Brian Gerst , Josh Poimboeuf , Denys Vlasenko , Rik van Riel , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , aliguori@amazon.com, Will Deacon , Daniel Gruss , Dave Hansen , Ingo Molnar , moritz.lipp@iaik.tugraz.at, "linux-mm@kvack.org" , Borislav Petkov , michael.schwarz@iaik.tugraz.at, richard.fellner@student.tugraz.at On Mon, 4 Dec 2017, Thomas Gleixner wrote: > On Mon, 4 Dec 2017, Andy Lutomirski wrote: > > On Mon, Dec 4, 2017 at 6:08 AM, Thomas Gleixner wrote: > > > --- a/security/Kconfig > > > +++ b/security/Kconfig > > > @@ -54,6 +54,16 @@ config SECURITY_NETWORK > > > implement socket and networking access controls. > > > If you are unsure how to answer this question, answer N. > > > > > > +config KERNEL_PAGE_TABLE_ISOLATION > > > + bool "Remove the kernel mapping in user mode" > > > + depends on X86_64 && JUMP_LABEL > > > > select JUMP_LABEL perhaps? > > Silly me. Yes. Peter just pointed out that we switched everything to cpu_has() which is using alternatives so jump label is not longer required at all. Thanks, tglx -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org