All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Masters <jcm@redhat.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: Date/Time?
Date: Sun, 20 May 2018 16:59:04 -0400	[thread overview]
Message-ID: <ab610f46-9e42-a9f6-5a79-65be1f3dc552@redhat.com> (raw)
In-Reply-To: <20180519172627.GB1239@kroah.com>

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

On 05/19/2018 01:26 PM, speck for Greg KH wrote:

> Jon, I know you were talking to people working on other arches, any
> ideas when I should be expecting to see patches I can backport to get
> into devices/distros?

Sorry for lag. In flight back from a funeral. Here's the latest below.
Then please see my rant (not directed at anyone here) at the end that
makes me think I should maintain a tree next time to get these to you.

* IBM p. They've an "stf-flush" patch series that protects the kernel
stack from attack by doing (effectively) a store-to-forward buffer flush
on entry into the kernel, patched with optimal code using alternatives.
It's /very/ similar to the rfi-flush code, but it doesn't rely upon
updated millicode this time. Backporting to older distros will be easier
because the heavy lifting on the entry macros was done for older kernels
the last time around. IBM know to contact Thomas, and should have
already, but I will specifically remind them AGAIN to also ping Greg. I
left the patch sending process to them. They know the parameters, etc.

That's just the kernel part. There will updated patches for userspace
and the prctl will be wired up later on. I imagine that will need some
kind of millicode but I don't yet have the plan fully from IBM there.

* IBM z. I probably shouldn't say here whether they are or are not
impacted by any of this. I can tell you that they aren't impacted by the
kernel attack since all entry into the kernel is fully serializing. They
have taken the view that they don't intend to provide any patches at
this time. I have requested an escalation within IBM on this topic.

* ARM. They have a new SMCC (Secure Monitor Call) interface (similar to
the one they did for branch predictor invalidation for Spectre-v2) that
will be wired up with kernel patches. Each of the vendors will implement
the new SMCC in ATF (Arm Trusted Firmware) on their parts, using the
best back-end mitigation (similar to microcode). Arm know to ping Thomas
with those patches, yet this has not happened yet (to my knowledge), nor
to Greg. Will has point on this in any case. He and the team are working
hard on this. Still, I am saddened by these patches not being available
prior to disclosure since this is not how we do things in the server
space. But in anticipation that this would happen, I worked directly
with Cavium (the only server-class CPU vendor with production RHEL
support for which we need an answer tomorrow on our end) to create a
firmware knob that can be used in the short term until this is fixed. I
also have pinged all of the Arm server vendors to let them know I expect
all of the SMCC wiring to be in place within the next few weeks.

And now my little rant. It is clear (to me) that Intel know how to
handle some of this better than others. The next time there is an issue,
I am going to cajole all of the vendors as usual, but I will also make
sure Greg, Linus, and Thomas are read in early enough that we can go
figure out the best way to handle the other arches. If that's me hosting
a git tree, great. Whatever you need. But we need to fix this next time.

Jon.

-- 
Computer Architect | Sent from my Fedora powered laptop


  parent reply	other threads:[~2018-05-20 21:00 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-19 17:26 [MODERATED] Date/Time? Greg KH
2018-05-19 17:51 ` [MODERATED] Date/Time? Borislav Petkov
2018-05-19 18:45   ` Linus Torvalds
2018-05-19 19:07     ` [MODERATED] " Borislav Petkov
2018-05-19 19:48       ` Linus Torvalds
2018-05-19 20:22         ` [MODERATED] " Borislav Petkov
2018-05-20 20:58     ` Jon Masters
2018-05-19 18:21 ` David Woodhouse
2018-05-19 19:05   ` Greg KH
2018-05-20 19:23   ` David Woodhouse
2018-05-20 23:01   ` David Woodhouse
2018-05-21  8:35     ` Greg KH
2018-05-20 17:45 ` Jiri Kosina
2018-05-20 18:19   ` Greg KH
2018-05-20 18:35     ` Borislav Petkov
2018-05-20 19:57       ` Greg KH
2018-05-20 18:36     ` Linus Torvalds
2018-05-20 18:48       ` Jiri Kosina
2018-05-20 20:59 ` Jon Masters [this message]
2018-05-20 21:09   ` Jiri Kosina
2018-05-21  6:11     ` Greg KH
2018-05-20 21:48   ` Linus Torvalds
2018-05-20 21:56     ` David Woodhouse
2018-05-21  6:16   ` Greg KH
2018-05-21  7:18     ` David Woodhouse
2018-05-21 15:23       ` Date/Time? Thomas Gleixner
2018-05-21 16:46   ` [MODERATED] Date/Time? Greg KH
2018-05-21 17:12     ` Konrad Rzeszutek Wilk
2018-05-21 19:42       ` Greg KH
2018-05-21 19:48         ` Jiri Kosina
2018-05-21 20:30           ` Jon Masters
2018-05-22  8:00             ` Peter Zijlstra
2018-05-22  9:26               ` Greg KH
2018-05-22 16:32                 ` Andi Kleen
2018-05-23 14:15                 ` Jon Masters
2018-05-21 17:22     ` Jon Masters
2018-05-21 18:56       ` Date/Time? Thomas Gleixner
2018-05-21 19:16         ` [MODERATED] Date/Time? Jon Masters
2018-05-21 20:43           ` Greg KH
2018-05-21 17:31     ` Jon Masters
2018-05-21 18:53     ` Date/Time? 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=ab610f46-9e42-a9f6-5a79-65be1f3dc552@redhat.com \
    --to=jcm@redhat.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.