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 1fAeur-00058P-BC for speck@linutronix.de; Mon, 23 Apr 2018 19:06:13 +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 D1EC1401DEA0 for ; Mon, 23 Apr 2018 17:06:06 +0000 (UTC) Received: from washington.bos.jonmasters.org (ovpn-124-56.rdu2.redhat.com [10.10.124.56]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 98535215CDC8 for ; Mon, 23 Apr 2018 17:06:06 +0000 (UTC) Subject: [MODERATED] Re: [patch 07/11] [PATCH v2 07/10] Linux Patch #7 References: <20180421192509.GD18575@pd.tnic> <20180421220903.GE18575@pd.tnic> <20180421223538.GF18575@pd.tnic> <45c96d89-f75b-9770-6032-ca87115a0e0a@redhat.com> <0de04dd1-0f35-dc0e-d27a-dec03ed0f138@redhat.com> <20180422093545.GA32218@pd.tnic> <2c7fa188-cd84-1a10-56cb-358d3f859559@redhat.com> <20180422103456.GC32218@pd.tnic> <3d7880e7-6b67-b35a-a090-2854f7db54ff@redhat.com> From: Jon Masters Message-ID: <2184fc1b-dcbc-a40c-64da-4965c7c48faa@redhat.com> Date: Mon, 23 Apr 2018 13:06:06 -0400 MIME-Version: 1.0 In-Reply-To: <3d7880e7-6b67-b35a-a090-2854f7db54ff@redhat.com> Content-Type: multipart/mixed; boundary="jEQG5LGfFToPvJBghVWzObwcgbkSzEw4p"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --jEQG5LGfFToPvJBghVWzObwcgbkSzEw4p Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/23/2018 10:34 AM, speck for Jon Masters wrote: > On 04/23/2018 10:30 AM, speck for Thomas Gleixner wrote: >> On Sun, 22 Apr 2018, speck for Borislav Petkov wrote: >> >>> On Sun, Apr 22, 2018 at 05:53:50AM -0400, speck for Jon Masters wrote= : >>>> I'd prefer that too. But we had this conversation with Thomas alread= y >>>> and he wanted a "disable" option. It was fairly clearly spelled out = that >>>> it was to be "mdd" or "ssbd" and therefore "spec_store_bypass_disabl= e". >>> >>> No, he wants "on,off,auto" so that we're in-line with PTI's and >>> spectre_v2's options. So let's do: >>> >>> spec_store_bypass=3D[on|off|auto] >>> >>> and be done with the bikeshedding. The weather's too nice outside. >> >> Nope. You're reverting the meaning again. >> >> All mitigation options so far have on|off|auto where: >> >> - on: enables the mitigation >> - off: disabled the mitigation >> - auto: lets the kernel decided whether to enable/disable it >> >> Now your name is: spec_store_bypass which is a performance feature and= not >> the mitigation. So Jon is about right that spec_store_bypass_disable >> describes the mitigation and the on/off/auto have then consistent beha= viour >> with kpti and spectre_v2, which admittedly could have named better. >=20 > Thanks. >=20 > So, let's all agree to keep spec_store_bypass_disable. It'll help to > keep the distro knobs properly consistent with upstream. Additional: I spoke with Intel a few minutes ago to impress upon them that we'll (RH) have to leave MD disabled by default unless they drive the prctrl/other solutions for vulnerable processes they'd like to see. We'd actually like to see an ability to keep MD on globally, and just turn it off for things like OpenJDK (which our Java lead is still considering all of the possible exploits against using SSB). The browsers will use process isolation, and I know Andi is k(l)een on seccomp being a per process knob (though that alone isn't sufficient for every process that would need patching). That's all great, but it's up to Intel to articulate this all now and provide the support for these. Jon. --=20 Computer Architect | Sent from my Fedora powered laptop --jEQG5LGfFToPvJBghVWzObwcgbkSzEw4p--