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 ; 12 Jul 2018 17:09:51 -0000 Received: from mail.linuxfoundation.org ([140.211.169.12]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fdf6D-00026A-Pc for speck@linutronix.de; Thu, 12 Jul 2018 19:09:50 +0200 Date: Thu, 12 Jul 2018 19:09:40 +0200 From: Greg KH Subject: [MODERATED] Re: [patch V10 03/10] Control knobs and Documentation 3 Message-ID: <20180712170940.GD23030@kroah.com> References: <20180712141902.576562442@linutronix.de> <20180712142957.210129155@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180712142957.210129155@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Thu, Jul 12, 2018 at 04:19:05PM +0200, speck for Thomas Gleixner wrote: > Subject: [patch V10 03/10] x86/l1tf: Handle EPT disabled state proper > From: Thomas Gleixner > > If Extended Page Tables (EPT) are disabled or not supported, no L1D > flushing is required. The setup function can just avoid setting up the L1D > flush for the EPT=n case. > > Invoke it after the hardware setup has be done and enable_ept has the > correct state and expose the EPT disabled state in the mitigation status as > well. > > Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman