Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 25 Feb 2020 14:19:06 -0000 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120] helo=us-smtp-1.mimecast.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1j6b3A-00055s-Tg for speck@linutronix.de; Tue, 25 Feb 2020 15:19:05 +0100 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E4FA11005516 for ; Tue, 25 Feb 2020 14:18:54 +0000 (UTC) Received: from treble (ovpn-124-129.rdu2.redhat.com [10.10.124.129]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9AAFA1001902 for ; Tue, 25 Feb 2020 14:18:54 +0000 (UTC) Date: Tue, 25 Feb 2020 08:18:52 -0600 From: Josh Poimboeuf Subject: [MODERATED] Re: [PATCH 2/2] more sampling fun 2 Message-ID: <20200225141852.wqjdulg46dfztxe4@treble> References: <20200224173121.GA32673@char.us.oracle.com> <20200224181734.GB29636@zn.tnic> <20200224213929.GA100552@mtg-dev.jf.intel.com> <20200224231034.GE29636@zn.tnic> <20200225012641.slc34bromzk3yj3l@treble> <20200225104658.GA6012@zn.tnic> MIME-Version: 1.0 In-Reply-To: <20200225104658.GA6012@zn.tnic> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue, Feb 25, 2020 at 11:46:58AM +0100, speck for Borislav Petkov wrote: > On Mon, Feb 24, 2020 at 07:26:41PM -0600, speck for Josh Poimboeuf wrote: > > Why not just srbds= ? That's what Intel calls it, and it would be > > consistent with some of the other options like mds= and l1tf=. > > For the same reason we did "spec_store_bypass_disable=" and not "ssbd=". > Although former is a bit longish for my taste, it doesn't make you go > look it up as "ssbd" does. And with "mds" and "l1tf" we dropped the ball > again. :-\ > > Over time, they would all become a letters jumble which we all would > have to go look up. > > So I think at least *trying* to make them a bit more > understandable/parseable for humans, would be beneficial in the long > run. > > So, for example, when I see "srb_sampling=off" at least I know, oh, ok, > it disables sampling of that SRB thing. "srbds" tells me exactly nothing > and the potential for flipping those letters' position is high. Well, I see it the opposite way. Those jumbles of letters do actually mean something. I still call them "MDS", "L1TF", "SSBD". If you google for "l1tf" or "mds vulnerability" they show up. I'd expect to call this one "SRBDS" a year from now. I find "srb_sampling" to be confusing and hard to remember because it renames something that already has an industry standard name. -- Josh