From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 19 Feb 2019 16:04:55 -0000 Received: from mga02.intel.com ([134.134.136.20]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gw7t7-0000uO-P7 for speck@linutronix.de; Tue, 19 Feb 2019 17:04:54 +0100 Date: Tue, 19 Feb 2019 08:04:50 -0800 From: Andi Kleen Subject: [MODERATED] Re: [patch 3/8] MDS basics 3 Message-ID: <20190219160450.GR16922@tassilo.jf.intel.com> References: <20190219124406.449727187@linutronix.de> <20190219125346.051578613@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20190219125346.051578613@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue, Feb 19, 2019 at 01:44:09PM +0100, speck for Thomas Gleixner wrote: > Subject: [patch 3/8] x86/speculation/mds: Clear CPU buffers on exit to user > From: Thomas Gleixner > > Add a static key which controls the invocation of the CPU buffer clear > mechanism on exit to user space and add the call into > prepare_exit_to_usermode() right before actually returning. This is missing the NMI exit case. -Andi