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 1fAcYT-00025z-38 for speck@linutronix.de; Mon, 23 Apr 2018 16:34:57 +0200 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2EC7D406C79A for ; Mon, 23 Apr 2018 14:34:50 +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 E87DE2026DFD for ; Mon, 23 Apr 2018 14:34:49 +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> From: Jon Masters Message-ID: <3d7880e7-6b67-b35a-a090-2854f7db54ff@redhat.com> Date: Mon, 23 Apr 2018 10:34:49 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="tC8yUqGdXfTapMu4EP9FEoSvaiYPTtO2T"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --tC8yUqGdXfTapMu4EP9FEoSvaiYPTtO2T Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 04/23/2018 10:30 AM, speck for Thomas Gleixner wrote: > On Sun, 22 Apr 2018, speck for Borislav Petkov wrote: >=20 >> 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 already= >>> and he wanted a "disable" option. It was fairly clearly spelled out t= hat >>> it was to be "mdd" or "ssbd" and therefore "spec_store_bypass_disable= ". >> >> 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. >=20 > Nope. You're reverting the meaning again. >=20 > All mitigation options so far have on|off|auto where: >=20 > - on: enables the mitigation > - off: disabled the mitigation > - auto: lets the kernel decided whether to enable/disable it >=20 > 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 behav= iour > with kpti and spectre_v2, which admittedly could have named better. Thanks. So, let's all agree to keep spec_store_bypass_disable. It'll help to keep the distro knobs properly consistent with upstream. Jon. --=20 Computer Architect | Sent from my Fedora powered laptop --tC8yUqGdXfTapMu4EP9FEoSvaiYPTtO2T--