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:10:27 -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 1fdf6n-0002C5-L4 for speck@linutronix.de; Thu, 12 Jul 2018 19:10:26 +0200 Date: Thu, 12 Jul 2018 19:10:16 +0200 From: Greg KH Subject: [MODERATED] Re: [patch V10 04/10] Control knobs and Documentation 4 Message-ID: <20180712171016.GE23030@kroah.com> References: <20180712141902.576562442@linutronix.de> <20180712142957.291523567@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180712142957.291523567@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:06PM +0200, speck for Thomas Gleixner wrote: > Subject: [patch V10 04/10] x86/kvm: Move l1tf setup function > From: Thomas Gleixner > > In preparation of allowing run time control for L1D flushing, move the > setup code to the module parameter handler. > > In case of pre module init parsing, just store the value and let vmx_init() > do the actual setup after running kvm_init() so that enable_ept is having > the correct state. > > During run-time invoke it directly from the parameter setter to prepare for > run-time control. > > Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman