From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 25 Sep 2019 23:06:31 -0000 Received: from mx1.redhat.com ([209.132.183.28]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iDGMd-0003Wn-La for speck@linutronix.de; Thu, 26 Sep 2019 01:06:28 +0200 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6EE18300D219 for ; Wed, 25 Sep 2019 23:06:21 +0000 (UTC) Received: from treble (ovpn-120-76.rdu2.redhat.com [10.10.120.76]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 222E65D9CC for ; Wed, 25 Sep 2019 23:06:21 +0000 (UTC) Date: Wed, 25 Sep 2019 18:06:19 -0500 From: Josh Poimboeuf Subject: [MODERATED] Re: [PATCH v4 06/10] TAAv4 6 Message-ID: <20190925230619.c6v55foqztx64qvi@treble> References: =?utf-8?q?=3C86a57680746f30f62641d48ea558027e07a20c42=2E1567543894=2Egi?= =?utf-8?q?t=2Epawan=2Ekumar=2Egupta=40linux=2Eintel=2Ecom=3E?= MIME-Version: 1.0 In-Reply-To: =?utf-8?q?=3C86a57680746f30f62641d48ea558027e07a20c42=2E15675?= =?utf-8?q?43894=2Egit=2Epawan=2Ekumar=2Egupta=40linux=2Eintel=2Ecom=3E?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue, Sep 03, 2019 at 02:16:33PM -0700, speck for Pawan Gupta wrote: > +static int __init taa_cmdline(char *str) > +{ > + if (!boot_cpu_has_bug(X86_BUG_TAA)) > + return 0; > + > + if (!str) > + return -EINVAL; > + > + if (!strcmp(str, "off")) { > + taa_mitigation = TAA_MITIGATION_OFF; > + } else if (!strcmp(str, "full")) { > + taa_mitigation = TAA_MITIGATION_VERW; > + } else if (!strcmp(str, "full,nosmt")) { > + taa_mitigation = TAA_MITIGATION_VERW; > + taa_nosmt = true; > + } > + > + return 0; > +} > +early_param("taa", taa_cmdline); Should the cmdline option be called "tsx_async_abort" for consistency with the sysfs file name? -- Josh