From: Andi Kleen <ak@linux.intel.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: [PATCH 1/1 v2] Linux patch #1
Date: Fri, 29 Jun 2018 16:21:43 -0700 [thread overview]
Message-ID: <20180629232143.GC17013@tassilo.jf.intel.com> (raw)
In-Reply-To: <nycvar.YFH.7.76.1806300008560.6203@cbobk.fhfr.pm>
> If I put myself in a shoes of a hypothetical admin, that basically means
> that we'd have to have:
>
> - lt1tf=full (which currently means nosmt+pteinv, and once the
> virtualization bits are merged it'll extend its meaning to whatever the
> particular hypervisor considers full mitigation)
I don't see any point in this.
We should just have a nosmt option,
but only recommend it after presenting the proper decision tree
and when KVM is actually started.
>
> - l1tf=off (mitigations (maybe including PTEINV, but it doesn't make a
> big difference really) is turned off, and hypervisors *don't* warn ever)
This is pointless. The workaround is basically free and there is
not reason to not use it.
>
> - l1tf=novirt (only PTEINV is turned on and hypervisors *do* warn when
> they start VM and HT is on)
>
> Sounds acceptable?
I think we shouldn't have l1tf= options at all. They're the wrong
use model for this vulnerability. Just nosmt and proper warnings in KVM
with documentation.
Just because something was useful for spectre doesn't mean we need
it here too.
-Andi
next prev parent reply other threads:[~2018-06-29 23:21 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 [this message]
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
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=20180629232143.GC17013@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.