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 1f8n3B-0001dk-Og for speck@linutronix.de; Wed, 18 Apr 2018 15:23:06 +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 971E8406805A for ; Wed, 18 Apr 2018 13:22:58 +0000 (UTC) Received: from washington.bos.jonmasters.org (ovpn-121-132.rdu2.redhat.com [10.10.121.132]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 66485215CDC8 for ; Wed, 18 Apr 2018 13:22:58 +0000 (UTC) Subject: [MODERATED] Re: GPZv4 References: <20180417193105.GD3890@pd.tnic> <476c3e0b-dde6-6e6b-2054-6e71fa2c396b@redhat.com> <20180417203717.GF3890@pd.tnic> <47b619bf-8d07-c465-9017-583cf5ac80ee@redhat.com> <67ef414c-f57c-0300-973b-f8898ee4d3b1@redhat.com> <20180418024816.GA6450@localhost.localdomain> From: Jon Masters Message-ID: <071ce2ea-c47d-9ae7-3e66-2e14ee32b97a@redhat.com> Date: Wed, 18 Apr 2018 09:22:57 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="oEgsaea6Rukp8pjf2OBpKQwiGP9l3S1iN"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --oEgsaea6Rukp8pjf2OBpKQwiGP9l3S1iN Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/18/2018 04:54 AM, speck for Thomas Gleixner wrote: > On Tue, 17 Apr 2018, speck for Konrad Rzeszutek Wilk wrote: >> 2). SBB vs MDD vs SBBD. >> >> MDD =3D Memory Disambiguation Disable >> SBB =3D Speculative Store Bypass >> SBBD =3D Speculative Store Bypass Disable >> >> Thomas likes 'MDD', Jon likes 'SBB', but he is also fine with 'SBBD'. >=20 > I'm fine with SBBD as well. It's the same semantics as the other knobs = as > it controls the mitigation. Great. Might I recommend keeping what I sent to Konrad (both mdd and ssbd recognized), but do whichever you like Konrad ;) > So can we for now just start with the minimal set of auto, off, on and = then > hash out the prctl or not question. The big hammer is the most importan= t > piece we need to have ready for merging when the embargo is lifted. I've sent the big hammer patches last night. Konrad's original set with a few fixes, and just does "auto", "off", "on", and tested working ok. >> P.S. >> I know the AMD secret sauce bits and can do the patches for this, but >> are other folks authorized for this? >=20 > Groan. I do not know whether I am or not. >=20 > This needs to stop. At some point we need to queue and stage the damned= > patches for both Intel and AMD. So AMD should get their act together an= d > clarify the situation. Borislav can you please reach out to AMD? The problem is the performance hit. Both Intel and AMD take a hit, but AMD have a few mitigating circumstances that causes them to be more alarmed by disabling MD by default on their silicon. Chiefly, it's that AMD won't speculatively bypass a load against the same base pointer, so they're not vulnerable to the stack attack or some of the worst of it. They will want the prctl type solution with userspace fixes deployed. Jon. --=20 Computer Architect | Sent from my Fedora powered laptop --oEgsaea6Rukp8pjf2OBpKQwiGP9l3S1iN--