From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: [PATCH v2 4/8] MDSv2 0
Date: Wed, 12 Dec 2018 17:36:58 -0500 [thread overview]
Message-ID: <20181212223658.GE7946@char.us.oracle.com> (raw)
In-Reply-To: <20181212220946.GJ25620@tassilo.jf.intel.com>
On Wed, Dec 12, 2018 at 02:09:46PM -0800, speck for Andi Kleen wrote:
> On Wed, Dec 12, 2018 at 04:45:06PM -0500, speck for Konrad Rzeszutek Wilk wrote:
> > On Mon, Dec 10, 2018 at 09:53:36AM -0800, speck for Andi Kleen wrote:
> > > From: Andi Kleen <ak@linux.intel.com>
> > > Subject: x86/speculation/mds: Add sysfs reporting
> > >
> > > Report mds mitigation state in sysfs vulnerabilities.
> > >
> > > Signed-off-by: Andi Kleen <ak@linux.intel.com>
> > > ---
> > > .../ABI/testing/sysfs-devices-system-cpu | 1 +
> > > arch/x86/kernel/cpu/bugs.c | 16 ++++++++++++++++
> > > drivers/base/cpu.c | 8 ++++++++
> > > 3 files changed, 25 insertions(+)
> > >
> > > diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu
> > > index 73318225a368..02b7bb711214 100644
> > > --- a/Documentation/ABI/testing/sysfs-devices-system-cpu
> > > +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu
> > > @@ -477,6 +477,7 @@ What: /sys/devices/system/cpu/vulnerabilities
> > > /sys/devices/system/cpu/vulnerabilities/spectre_v2
> > > /sys/devices/system/cpu/vulnerabilities/spec_store_bypass
> > > /sys/devices/system/cpu/vulnerabilities/l1tf
> > > + /sys/devices/system/cpu/vulnerabilities/mds
> > > Date: January 2018
> > > Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
> > > Description: Information about CPU vulnerabilities
> > > diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
> > > index 8200b41b8db9..accab3279068 100644
> > > --- a/arch/x86/kernel/cpu/bugs.c
> > > +++ b/arch/x86/kernel/cpu/bugs.c
> > > @@ -1175,6 +1175,16 @@ static ssize_t cpu_show_common(struct device *dev, struct device_attribute *attr
> > > if (boot_cpu_has(X86_FEATURE_L1TF_PTEINV))
> > > return l1tf_show_state(buf);
> > > break;
> > > +
> > > + case X86_BUG_MDS:
> > > + /* Assumes Hypervisor exposed HT state to us if in guest */
> > > + if (boot_cpu_has(X86_FEATURE_MB_CLEAR)) {
> > > + if (cpu_smt_control != CPU_SMT_ENABLED)
> > > + return sprintf(buf, "Mitigation: MB_CLEAR\n");
> >
> > I am not sure if a normal system admin would understand what MB_CLEAR means. Is there a way to
> > make this more ..grokked?
>
> You mean they are somehow unable to use Google?
Why do we want to have sharp corners? What is so wrong with making
it well rounded and self explanatory?
next prev parent reply other threads:[~2018-12-12 22:37 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-10 17:53 [MODERATED] [PATCH v2 0/8] MDSv2 8 Andi Kleen
2018-12-10 17:53 ` [MODERATED] [PATCH v2 1/8] MDSv2 4 Andi Kleen
2018-12-11 14:14 ` [MODERATED] " Paolo Bonzini
2018-12-12 21:22 ` Konrad Rzeszutek Wilk
2018-12-12 21:28 ` Andi Kleen
2018-12-12 21:25 ` Konrad Rzeszutek Wilk
2018-12-10 17:53 ` [MODERATED] [PATCH v2 2/8] MDSv2 1 Andi Kleen
2018-12-10 22:49 ` [MODERATED] " Jiri Kosina
2018-12-11 0:03 ` Andi Kleen
2018-12-11 0:13 ` Kanth Ghatraju
2018-12-11 2:00 ` Andi Kleen
2018-12-11 5:36 ` Jiri Kosina
2018-12-11 10:03 ` Borislav Petkov
2018-12-12 21:31 ` Konrad Rzeszutek Wilk
2018-12-12 21:43 ` Andi Kleen
2018-12-12 22:17 ` Borislav Petkov
2018-12-12 22:40 ` Konrad Rzeszutek Wilk
2018-12-12 22:45 ` Borislav Petkov
2018-12-13 15:15 ` Andrew Cooper
2018-12-13 16:52 ` Borislav Petkov
2018-12-10 17:53 ` [MODERATED] [PATCH v2 3/8] MDSv2 5 Andi Kleen
2018-12-10 23:00 ` [MODERATED] " Linus Torvalds
2018-12-11 0:03 ` Andi Kleen
2018-12-11 0:43 ` Linus Torvalds
2018-12-11 1:33 ` Linus Torvalds
2018-12-11 2:12 ` Andi Kleen
2018-12-11 2:20 ` Linus Torvalds
2018-12-11 3:25 ` Andi Kleen
2018-12-11 17:55 ` Linus Torvalds
2018-12-11 18:10 ` Borislav Petkov
2018-12-11 18:21 ` Linus Torvalds
2018-12-11 18:26 ` Borislav Petkov
2018-12-11 19:47 ` Andi Kleen
2018-12-11 21:22 ` Thomas Gleixner
2018-12-12 14:02 ` [MODERATED] " Paolo Bonzini
2018-12-12 17:58 ` Andi Kleen
2018-12-12 18:47 ` Linus Torvalds
2018-12-13 19:44 ` Linus Torvalds
2018-12-13 20:48 ` Andi Kleen
2018-12-13 20:56 ` Linus Torvalds
2018-12-15 0:30 ` Andi Kleen
2018-12-11 2:10 ` Andi Kleen
2018-12-11 0:09 ` Andrew Cooper
2018-12-10 17:53 ` [MODERATED] [PATCH v2 4/8] MDSv2 0 Andi Kleen
2018-12-12 21:45 ` [MODERATED] " Konrad Rzeszutek Wilk
2018-12-12 22:09 ` Andi Kleen
2018-12-12 22:36 ` Konrad Rzeszutek Wilk [this message]
2018-12-10 17:53 ` [MODERATED] [PATCH v2 5/8] MDSv2 7 Andi Kleen
2018-12-11 0:33 ` [MODERATED] " Andrew Cooper
2018-12-12 18:05 ` Andrew Cooper
2018-12-12 21:41 ` Konrad Rzeszutek Wilk
2018-12-12 22:12 ` Andi Kleen
2018-12-10 17:53 ` [MODERATED] [PATCH v2 6/8] MDSv2 3 Andi Kleen
2018-12-11 0:37 ` [MODERATED] " Andrew Cooper
2018-12-11 0:46 ` Luck, Tony
2018-12-11 1:02 ` Andrew Cooper
2018-12-11 1:53 ` Andi Kleen
2018-12-10 17:53 ` [MODERATED] [PATCH v2 7/8] MDSv2 6 Andi Kleen
2018-12-10 17:53 ` [MODERATED] [PATCH v2 8/8] MDSv2 2 Andi Kleen
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=20181212223658.GE7946@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.