From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from aserp2130.oracle.com ([141.146.126.79]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fImZb-0003E3-MR for speck@linutronix.de; Wed, 16 May 2018 04:53:52 +0200 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4G2kmHn069798 for ; Wed, 16 May 2018 02:53:44 GMT Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2hxpvcsfrx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 16 May 2018 02:53:44 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4G2rhms006769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 16 May 2018 02:53:43 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4G2rhS5017607 for ; Wed, 16 May 2018 02:53:43 GMT Date: Tue, 15 May 2018 22:53:42 -0400 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: [patch 04/15] Hidden 4 Message-ID: <20180516025342.GE18660@char.us.oracle.com> References: <20180513140048.543641807@linutronix.de> <20180513140538.551893231@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180513140538.551893231@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Sun, May 13, 2018 at 04:00:52PM +0200, speck for Thomas Gleixner wrote: > Subject: [patch 04/15] x86/cpufeatures: Disentangle SSBD enumeration > From: Thomas Gleixner > > The SSBD enumeration is similarly to the other bits magically shared > between Intel and AMD though the mechanisms are different. > > Make X86_FEATURE_SSBD synthetic and set it depending on the vendor specific > features or family dependent setup. > > Change the Intel bit to X86_FEATURE_SPEC_CTRL_SSBD to denote that SSBD is > controlled via MSR_SPEC_CTRL and fix up the usage sites. I think you are missing the clearing of the X86_FEATURE_SPEC_CTRL_SSBD in early_init_intel when we detect the microcode is busted?