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 Oct 2019 00:55:59 -0000 Received: from mga04.intel.com ([192.55.52.120]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iNntW-0003n7-EI for speck@linutronix.de; Fri, 25 Oct 2019 02:55:58 +0200 Date: Thu, 24 Oct 2019 17:49:42 -0700 From: Pawan Gupta Subject: [MODERATED] Re: [PATCH 4/9] TAA 4 Message-ID: <20191025004942.GC20569@guptapadev.amr> References: <04f1ef8158e54eca18fc3951d75a00c5d398c429.1571905227.git.bp@suse.de> MIME-Version: 1.0 In-Reply-To: <04f1ef8158e54eca18fc3951d75a00c5d398c429.1571905227.git.bp@suse.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Wed, Oct 23, 2019 at 11:30:45AM +0200, speck for Pawan Gupta wrote: > void cpu_bugs_smt_update(void) > { > @@ -819,6 +916,19 @@ void cpu_bugs_smt_update(void) > break; > } > > + switch (taa_mitigation) { > + case TAA_MITIGATION_VERW: > + case TAA_MITIGATION_UCODE_NEEDED: > + if (sched_smt_active()) > + pr_warn_once(TAA_MSG_SMT); > + /* TSX is enabled, apply MDS idle buffer clearing. */ > + update_mds_branch_idle(); With partial clearing removed, this call can go away. Thanks, Pawan