All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: speck@linutronix.de
Subject: Re: GPZv4
Date: Tue, 17 Apr 2018 23:22:05 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.21.1804172307090.1697@nanos.tec.linutronix.de> (raw)
In-Reply-To: <47b619bf-8d07-c465-9017-583cf5ac80ee@redhat.com>

On Tue, 17 Apr 2018, speck for Jon Masters wrote:
> So we need to close on the following urgently:
>
> 1). What are we going to refer to this as?
> 	- MDD
> 	- SSB
> 	- something else?
> 
> In the case of "MDD" it's x86 specific and "enabling" it means you
> disable a feature (MD). To me, that seems to be inverted logic. You
> would set it to "on", "off", or "kernel" (MD only in userspace).

No it's not inverted logic. It's the same logic as kpti= and spectre_v2=
and we are not going to make this one the other way round just because.

So we need a acronym for it, which fits the problem. Either use the code
name for this thing like we did with spectre or 'mdd' which describes it
really well.

> 2). We need a prctl option for a task to request behavior for SSB. One
> option could be a new PR_SET_MITIGATION where we then have minor
> parameters for additional mitigations that are required later.

And we need ponies.....

Seriously. We do the simple 'xxx=' command line option now and have that
ready ASAP in case the embargo ends early.

The prctl is an optimization which can be done afterwards and we first need
to agree whether we want it at all. I'm not too fond of yet another
conditional branch in the entry/exit code. The code patching there is
already bad enough. If we keep up adding this crap at that rate then we
have sooner than later more NOOPs and conditionals than actual code.

Thanks,

	tglx

  parent reply	other threads:[~2018-04-17 21:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17 18:26 [MODERATED] GPZv4 Jon Masters
2018-04-17 19:31 ` [MODERATED] GPZv4 Borislav Petkov
2018-04-17 19:56   ` Jon Masters
2018-04-17 20:37     ` Borislav Petkov
2018-04-17 21:03       ` Jon Masters
2018-04-17 21:20         ` Borislav Petkov
2018-04-17 21:22         ` Thomas Gleixner [this message]
2018-04-17 21:25           ` Jiri Kosina
2018-04-17 21:38             ` Jon Masters
2018-04-17 21:43               ` Jiri Kosina
2018-04-17 22:01                 ` GPZv4 Thomas Gleixner
2018-04-17 22:02                   ` [MODERATED] GPZv4 Jon Masters
2018-04-18  2:48                     ` Konrad Rzeszutek Wilk
2018-04-18  3:44                       ` Jon Masters
2018-04-18  4:09                         ` Jon Masters
2018-04-18  4:18                           ` Jon Masters
2018-04-18  4:56                         ` Jon Masters
2018-04-18  7:06                         ` Jon Masters
2018-04-18  8:54                       ` GPZv4 Thomas Gleixner
2018-04-18 13:22                         ` [MODERATED] GPZv4 Jon Masters
2018-04-18 14:04                           ` GPZv4 Thomas Gleixner
2018-04-18 14:07                             ` [MODERATED] GPZv4 Jon Masters
2018-04-18 14:52                               ` Konrad Rzeszutek Wilk
2018-04-18 15:02                                 ` Jon Masters
2018-04-18 21:12                                   ` Konrad Rzeszutek Wilk
2018-04-18 21:20                                     ` Jon Masters
2018-04-17 21:36           ` Jon Masters

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=alpine.DEB.2.21.1804172307090.1697@nanos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --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.