Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fAQDs-00070y-JL for speck@linutronix.de; Mon, 23 Apr 2018 03:24:53 +0200 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DEE1181A88A7 for ; Mon, 23 Apr 2018 01:24:44 +0000 (UTC) Received: from washington.bos.jonmasters.org (ovpn-121-58.rdu2.redhat.com [10.10.121.58]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AB4852166BAE for ; Mon, 23 Apr 2018 01:24:44 +0000 (UTC) Subject: [MODERATED] Re: [patch 0/7] SSB v2.1-jcm References: <20180422093523.048337870@washington.bos.jonmasters.org> <20180422174043.GA8212@localhost.localdomain> From: Jon Masters Message-ID: <2841f9f8-7e56-eba4-5dfa-51cd7652620d@redhat.com> Date: Sun, 22 Apr 2018 21:24:43 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="TjBUWN4X5TQtn2HW1EOy3phY8aBB6aDaB"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --TjBUWN4X5TQtn2HW1EOy3phY8aBB6aDaB Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/22/2018 08:13 PM, speck for Linus Torvalds wrote: >=20 >=20 > On Sun, 22 Apr 2018, speck for Jon Masters wrote: >> >> I'm hoping to have viable patches for IBM POWER and Arm within the nex= t >> 48 hours as well. I'll be spending today looking at some backports... >=20 > Is nvidia happy on the arm side? I talked to a distinctly unhappy nvidi= a=20 > person the other week.. Not that I know what would work for them. Yeah, had a lot of conversations with them lately, and we also work closely together on a few things for future architecture development. A couple of their folks are in the spectre_meltdown keybase and have been vocal in drawing attention to the stack attack scenario for SSB (that being that uarches which won't explicitly match on same base pointer when comparing a load and store are a lot more susceptible to stack attack - that's a camp I think Intel are in as well with their uarch, while AMD will never allow a load from the stack to bypass a store...). The thing for NVidia (can get you more details elsewhere if useful) is that their uarch is the closest to Transmeta of any current arches I've seen. It's all "software to software" as they put it. So they can implement a store buffer fix, but they can also simply change the instruction translation layer underneath to have different paths for userspace (EL0) and kernel (EL1), etc. and they prefer that. This got confused at some point for "NVidia can't fix it". They can, they just want to have a more optimized solution than pretty much anyone else is in a position to implement today. Which is fine. We can fit that into the Arm CPU errata framework. I've synced with Arm on that bit. Jon. P.S. Incidentally, they promised me they would finally upstream their specific NVidia uarch Spectre-v2 mitigations. On Arm, we added a new SMC (Secure Monitor Call) for branch predictor invalidation, etc. that is implemented in the reference Arm Trusted Firmware (ATF). I went around all of the Arm server companies last fall to make sure they had implementation plans lined up, and have almost finally gotten done with the downstream ODM/OEM beatings as well, e.g. HPE are about to finally ship updated firmware for Cavium-based Apollo 70 servers just in time to have to rev that again with more mitigations. But c'est la vie. --=20 Computer Architect | Sent from my Fedora powered laptop --TjBUWN4X5TQtn2HW1EOy3phY8aBB6aDaB--