All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: [PATCH 1/1 v2] Linux patch #1
Date: Mon, 2 Jul 2018 10:52:50 -0400	[thread overview]
Message-ID: <20180702145250.GB4474@char.US.ORACLE.com> (raw)
In-Reply-To: <nycvar.YFH.7.76.1806302153410.6253@cbobk.fhfr.pm>

[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]

On Sat, Jun 30, 2018 at 09:58:49PM +0200, speck for Jiri Kosina wrote:
> On Sat, 30 Jun 2018, speck for Linus Torvalds wrote:
> 
> > But I think it's entirely unacceptable to disable SMT by default just 
> > because a user *might* run in virtualization.
> > 
> > So basically, I think the default *has* to be to keep SMT enabled (and 
> > just warn if you run virtualized loads), or to turn off SMT only for when 
> > somebody actively starts to use kvm.
> > 
> > Because the "disable SMT at boot" thing absolutely _has_ to be an explicit 
> > choice by the admin.
> > 
> > No way in hell will I accept "disable at boot" as a defaul value. Most 
> > people never run VM's at all.
> 
> Yeah, the v3 patch I just sent defaults to bare-metal mitigation only 
> ("what is default behavior" can be easily overridden by embedded 
> kernel/distro vendors if they wish to, so that they don't have to carry 
> the boot cmdline around forever) and KVM warns in case it's about to start 
> the first VM in such case.

I picked the wrong weekend to go offline and now this week is July 4th and I am
offline too.

Thomas has graciously picked up the kvm pile bundle (also attached the latest I sent)
to steam blast and I think it nicely fits in what has been decided.

That is by default we just print a warning and continue on. And the vmentry_l1d_flush
is now accepting strings (always,never, cond) and 'cond' is the default.

I think that should lay the foundation and then we can continue with the smarter
choices like disabling SMT if KVM starts creating guests or such.

[-- Attachment #2: kvm.l1tf.v5.rc2.bundle --]
[-- Type: application/octet-stream, Size: 12106 bytes --]

  reply	other threads:[~2018-07-02 14:53 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 22:53 [MODERATED] [PATCH 1/1] Linux patch #1 Jiri Kosina
2018-06-28 23:15 ` [MODERATED] " Jiri Kosina
2018-06-28 23:36 ` [MODERATED] [PATCH 1/1 v2] " Jiri Kosina
2018-06-29  8:38   ` [MODERATED] " Borislav Petkov
2018-06-29 15:43   ` Thomas Gleixner
2018-06-29 15:46     ` Thomas Gleixner
2018-06-29 16:48   ` [MODERATED] " Josh Poimboeuf
2018-06-29 16:49     ` Josh Poimboeuf
2018-06-29 19:47     ` Thomas Gleixner
2018-06-29 19:54       ` [MODERATED] " Josh Poimboeuf
2018-06-29 21:26         ` Jiri Kosina
2018-06-29 21:28           ` Jiri Kosina
2018-06-29 22:05             ` Andi Kleen
2018-06-29 22:17               ` Jiri Kosina
2018-06-29 23:21                 ` Andi Kleen
2018-06-29 23:33                   ` Jiri Kosina
2018-06-29 23:37                     ` Jiri Kosina
2018-06-29 23:44                     ` Andi Kleen
2018-06-30  0:02                       ` Jiri Kosina
2018-06-30  0:41                         ` Andi Kleen
2018-06-30  0:50                           ` Jiri Kosina
2018-06-30  8:59                           ` Thomas Gleixner
2018-06-30 17:42                             ` [MODERATED] " Linus Torvalds
2018-06-30 19:30                               ` Jiri Kosina
2018-06-30 19:52                                 ` Linus Torvalds
2018-06-30 19:58                                   ` Jiri Kosina
2018-07-02 14:52                                     ` Konrad Rzeszutek Wilk [this message]
2018-07-02  8:06                               ` Thomas Gleixner
2018-07-05 20:03                             ` [MODERATED] " Jon Masters
2018-07-05 20:16                               ` Jiri Kosina
2018-07-05 21:29                                 ` Jon Masters
2018-07-05 21:39                                   ` Jiri Kosina
2018-07-05 22:19                                     ` Thomas Gleixner
2018-07-05 23:49                                       ` [MODERATED] " Josh Poimboeuf
2018-07-05 20:25                               ` Linus Torvalds
2018-07-05 20:50                                 ` Thomas Gleixner
2018-07-05 21:21                                   ` [MODERATED] " Jon Masters
2018-07-05 21:24                                     ` Jon Masters
2018-06-30 14:59                           ` Josh Poimboeuf
2018-06-30 23:34                           ` Dave Hansen
2018-07-01  0:06                             ` Linus Torvalds
2018-06-29 21:46           ` Josh Poimboeuf
2018-06-29 21:49           ` Andi Kleen
2018-06-29 21:56             ` Jiri Kosina
2018-06-29 22:05               ` Thomas Gleixner
2018-06-29 22:43               ` [MODERATED] " Luck, Tony
2018-06-30  9:05             ` Thomas Gleixner
2018-06-30 19:48 ` [MODERATED] [PATCH 1/1 v3] " Jiri Kosina
2018-06-30 21:31   ` [MODERATED] " Josh Poimboeuf
2018-06-30 21:35     ` Linus Torvalds
2018-06-30 21:43     ` Jiri Kosina
2018-06-30 22:22 ` [MODERATED] [PATCH 1/1 v4] " Jiri Kosina
2018-07-02 14:51   ` [MODERATED] " Konrad Rzeszutek Wilk
2018-07-02 15:00     ` Jiri Kosina
2018-07-02 15:14       ` 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=20180702145250.GB4474@char.US.ORACLE.com \
    --to=konrad.wilk@oracle.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.