From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.suse.de ([195.135.220.15]) by Galois.linutronix.de with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1f9y8T-00048q-H4 for speck@linutronix.de; Sat, 21 Apr 2018 21:25:27 +0200 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 44FFFADC6 for ; Sat, 21 Apr 2018 19:25:18 +0000 (UTC) Date: Sat, 21 Apr 2018 21:25:10 +0200 From: Borislav Petkov Subject: [MODERATED] Re: [patch 07/11] [PATCH v2 07/10] Linux Patch #7 Message-ID: <20180421192509.GD18575@pd.tnic> References: <20180420022613.270943302@localhost.localdomain> <20180420174242.GO13977@pd.tnic> <20180421032701.GA4490@localhost.localdomain> <20180421090345.GA18575@pd.tnic> <20180421122117.GA5337@localhost.localdomain> MIME-Version: 1.0 In-Reply-To: <20180421122117.GA5337@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: On Sat, Apr 21, 2018 at 08:21:17AM -0400, speck for Konrad Rzeszutek Wilk wro= te: > Perhaps instead of X86_FEATURE_MDD we should set on AMD only this CPU flag: > X86_FEATURE_SSBD >=20 > And on Intel have both: > X86_FEATURE_MDD > X86_FEATURE_SSBD I prefer X86_FEATURE_MDD and X86_FEATURE_USE_MDD which is straight-forward and in line with the other mitigations. And we query the USE_MDD flag only. The MDD one will be for /proc/cpuinfo and USE_MDD used by the code. --=20 Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton, HR= B 21284 (AG N=C3=BCrnberg) --=20