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 ; 20 Feb 2019 16:52:45 -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 1gwV6x-0001AG-Mc for speck@linutronix.de; Wed, 20 Feb 2019 17:52:44 +0100 Date: Wed, 20 Feb 2019 17:52:34 +0100 From: Greg KH Subject: [MODERATED] Re: [patch V2 04/10] MDS basics+ 4 Message-ID: <20190220165234.GC4648@kroah.com> References: <20190220150753.665964899@linutronix.de> <20190220151400.306266355@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20190220151400.306266355@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Wed, Feb 20, 2019 at 04:07:57PM +0100, speck for Thomas Gleixner wrote: > Subject: [patch V2 04/10] 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. > > Add documentation which kernel to user space transition this covers and > explain in detail why those which are not mitigated do not need it. > > Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman