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 ; 30 Sep 2019 23:06:25 -0000 Received: from mga07.intel.com ([134.134.136.100]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iF4kH-0006rh-S7 for speck@linutronix.de; Tue, 01 Oct 2019 01:06:23 +0200 Date: Mon, 30 Sep 2019 16:00:45 -0700 From: Pawan Gupta Subject: [MODERATED] Re: [PATCH v4 06/10] TAAv4 6 Message-ID: <20190930230032.GA22627@guptapadev.amr> References: <20190925230619.c6v55foqztx64qvi@treble> MIME-Version: 1.0 In-Reply-To: <20190925230619.c6v55foqztx64qvi@treble> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: > > +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? Yes, will change cmdline parameter to tsx_async_abort. Thanks, Pawan