All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@linux.intel.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: [patch 1/2] Command line and documentation 1
Date: Mon, 9 Jul 2018 15:08:20 -0700	[thread overview]
Message-ID: <20180709220820.GO25550@tassilo.jf.intel.com> (raw)
In-Reply-To: <20180709214557.GM25550@tassilo.jf.intel.com>

On Mon, Jul 09, 2018 at 02:45:57PM -0700, speck for Andi Kleen wrote:
> > +				Leaves SMT enabled and does not enable the
> > +				hypervisor mitigation. Hypervisors will
> > +				issue a warning when the first VM is being
> > +				started in a potentially insecure
> > +				configuration, i.e. SMT enabled or L1D
> > +				flush disabled.
> > +
> > +			novirt,nowarn
> > +				Same as 'novirt', but hypervisors will not
> > +				warn when a VM is started in a potentially
> > +				insecure configuration.
> 
> So why is there no option to only enable the L1D flush? 
> 
> It would seem to me that would be better default than no mitigation at all.
> 
> >  
> > +enum l1tf_mitigations l1tf_mitigation __ro_after_init = L1TF_MITIGATION_NOVIRT;
> 
> Can you remind me why there is no sysfs interface for this?

Ok it looks like with the KVM parameter it's already there.
Just need to refer to it from here.

"These options can be also switched at run time with
/sys/module/kvm/parameters/... " 

> 
> Jiri originally wanted boot options because apparently
> they have an no ability to install a new boot up script in an update. 
> So the need for an boot up option is more an hack to work
> around this deficiency.
> 
> But I suspect long term for most users it's far
> better to handle this dynamically at run time, and not
> do unnecessary reboots, and I can't see any reason 
> why that wouldn't be possible.
> 
> So should have a sysfs interface.

  reply	other threads:[~2018-07-09 22:08 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-08 12:52 [patch 0/2] Command line and documentation 0 Thomas Gleixner
2018-07-08 12:52 ` [patch 1/2] Command line and documentation 1 Thomas Gleixner
2018-07-08 14:00   ` [MODERATED] " Josh Poimboeuf
2018-07-08 14:13     ` Thomas Gleixner
2018-07-08 15:21       ` [MODERATED] " Josh Poimboeuf
2018-07-09  7:07         ` Thomas Gleixner
2018-07-09 13:14           ` Thomas Gleixner
2018-07-09 13:21             ` [MODERATED] " Jiri Kosina
2018-07-09 13:25               ` Jiri Kosina
2018-07-09 15:32             ` Josh Poimboeuf
2018-07-09 15:40               ` Thomas Gleixner
2018-07-09 15:44               ` [MODERATED] " Jiri Kosina
2018-07-08 20:32   ` Jiri Kosina
2018-07-09  0:33     ` Jon Masters
2018-07-09 10:26   ` Ingo Molnar
2018-07-09 21:45   ` Andi Kleen
2018-07-09 22:08     ` Andi Kleen [this message]
2018-07-09 22:40     ` Jiri Kosina
2018-07-10 11:53     ` Thomas Gleixner
2018-07-08 12:52 ` [patch 2/2] Command line and documentation 2 Thomas Gleixner
2018-07-08 14:40   ` [MODERATED] " Andrew Cooper
2018-07-09  7:05     ` Thomas Gleixner
2018-07-08 15:40   ` [MODERATED] " Josh Poimboeuf
2018-07-09 11:04   ` Ingo Molnar
2018-07-09 11:08     ` Jiri Kosina
2018-07-09 11:47       ` Ingo Molnar
2018-07-09 15:18     ` Thomas Gleixner
2018-07-09 22:07   ` [MODERATED] " Andi Kleen
2018-07-09 23:00     ` Josh Poimboeuf
2018-07-09 23:11       ` Andi Kleen
2018-07-09 23:45         ` Linus Torvalds
2018-07-10  2:44           ` Josh Poimboeuf
2018-07-10  5:57             ` Jiri Kosina
2018-07-10  6:22               ` Jiri Kosina
2018-07-10 17:46             ` Linus Torvalds
2018-07-10 21:22               ` Thomas Gleixner
2018-07-10 21:30                 ` [MODERATED] " Linus Torvalds
2018-07-10 21:53                   ` Linus Torvalds
2018-07-10 22:27                     ` Thomas Gleixner
2018-07-10 22:37                       ` [MODERATED] " Linus Torvalds
2018-07-10 22:42                         ` Linus Torvalds
2018-07-10 22:50                       ` Josh Poimboeuf
2018-07-11 13:56                         ` Jon Masters
2018-07-11 14:48                           ` Josh Poimboeuf
2018-07-10 22:20                   ` Thomas Gleixner
2018-07-10 22:35                     ` [MODERATED] " Linus Torvalds
2018-07-10  7:41         ` Thomas Gleixner
2018-07-10  8:44           ` [MODERATED] " Jiri Kosina
2018-07-10 10:32             ` Jiri Kosina
2018-07-10 22:57             ` Josh Poimboeuf
2018-07-10 19:36     ` Thomas Gleixner
2018-07-11 14:03     ` [MODERATED] " Jon Masters
2018-07-08 13:11 ` [patch 0/2] Command line and documentation 0 Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180709220820.GO25550@tassilo.jf.intel.com \
    --to=ak@linux.intel.com \
    --cc=speck@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.