From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752067AbdK0MuR (ORCPT ); Mon, 27 Nov 2017 07:50:17 -0500 Received: from merlin.infradead.org ([205.233.59.134]:52146 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751889AbdK0MuP (ORCPT ); Mon, 27 Nov 2017 07:50:15 -0500 Date: Mon, 27 Nov 2017 13:49:52 +0100 From: Peter Zijlstra To: Thomas Gleixner Cc: LKML , Dave Hansen , Andy Lutomirski , Ingo Molnar , Borislav Petkov , Brian Gerst , Denys Vlasenko , "H. Peter Anvin" , Josh Poimboeuf , Linus Torvalds , Rik van Riel , daniel.gruss@iaik.tugraz.at, hughd@google.com, keescook@google.com, linux-mm@kvack.org, michael.schwarz@iaik.tugraz.at, moritz.lipp@iaik.tugraz.at, richard.fellner@student.tugraz.at Subject: Re: [patch V2 5/5] x86/kaiser: Add boottime disable switch Message-ID: <20171127124952.m6rw72kkufzyneco@hirez.programming.kicks-ass.net> References: <20171126231403.657575796@linutronix.de> <20171126232414.645128754@linutronix.de> <20171127094846.gl6zo3rftiyucvny@hirez.programming.kicks-ass.net> <20171127102241.oj225ycxkc7rfvft@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 27, 2017 at 12:50:45PM +0100, Thomas Gleixner wrote: > On Mon, 27 Nov 2017, Peter Zijlstra wrote: > > On Mon, Nov 27, 2017 at 10:48:46AM +0100, Peter Zijlstra wrote: > > > So in patch 15 Andy notes that we should probably also disable the > > > SYSCALL trampoline when we disable KAISER. > > > > > > https://lkml.kernel.org/r/20171124172411.19476-16-mingo@kernel.org > > > > Could be a simple as this.. but I've not tested. > > That's only one part of it. I think we need to fiddle with the exit side as > well. So I assumed that the patches were bisectable. From that I figured the exit path (patch 14 in that set) would work either way.