From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 19 Feb 2019 16:03:46 -0000 Received: from mga11.intel.com ([192.55.52.93]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gw7s1-0000oT-3D for speck@linutronix.de; Tue, 19 Feb 2019 17:03:45 +0100 Date: Tue, 19 Feb 2019 08:03:42 -0800 From: Andi Kleen Subject: [MODERATED] Re: [patch 5/8] MDS basics 5 Message-ID: <20190219160342.GQ16922@tassilo.jf.intel.com> References: <20190219124406.449727187@linutronix.de> <20190219125346.227346514@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20190219125346.227346514@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: > + case MDS_MITIGATION_AUTO: > + case MDS_MITIGATION_FULL: > + if (boot_cpu_has(X86_FEATURE_MD_CLEAR)) { > + mds_mitigation = MDS_MITIGATION_FULL; > + static_branch_enable(&user_mds_clear_cpu_buffers); This violates Linus' feedback of unconditionally enabling for one year to work around VMWare breakage. -Andi