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 ; 27 Feb 2019 17:07:57 -0000 Received: from mail.kernel.org ([198.145.29.99]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gz2gU-0006ET-NZ for speck@linutronix.de; Wed, 27 Feb 2019 18:07:55 +0100 Date: Wed, 27 Feb 2019 18:07:45 +0100 From: Greg KH Subject: [MODERATED] Re: [patch V5 07/14] MDS basics 7 Message-ID: <20190227170745.GA32337@kroah.com> References: <20190227150939.605235753@linutronix.de> <20190227152037.639184760@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20190227152037.639184760@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Wed, Feb 27, 2019 at 04:09:46PM +0100, speck for Thomas Gleixner wrote: > Subject: [patch V5 07/14] 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() and do_nmi() right before actually returning. > > Add documentation which kernel to user space transition this covers and > explain why some corner cases are not mitigated. > > Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman