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 1fIHkg-0001gj-RT for speck@linutronix.de; Mon, 14 May 2018 19:59:15 +0200 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 81F11ACDB for ; Mon, 14 May 2018 17:59:09 +0000 (UTC) Date: Mon, 14 May 2018 19:58:58 +0200 From: Borislav Petkov Subject: [MODERATED] Re: [patch 08/15] Hidden 8 Message-ID: <20180514175858.GM18407@pd.tnic> References: <20180513140048.543641807@linutronix.de> <20180513140538.883795088@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180513140538.883795088@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: On Sun, May 13, 2018 at 04:00:56PM +0200, speck for Thomas Gleixner wrote: > Subject: [patch 08/15] x86/speculation: Add virtualized speculative store b= ypass disable support > From: Tom Lendacky >=20 > Some AMD processors only support a non-architectural means of enabling > speculative store bypass disable (SSBD). To allow a simplified view of > this to a guest, an architectural definition has been created through a new > CPUID bit, 0x80000008_EBX[25], and a new MSR, 0xc001011f. With this, a > hypervisor can virtualize the existence of this definition and provide an > architectural method for using SSBD to a guest. >=20 > Add the new CPUID feature, the new MSR and update the existing SSBD > support to use this MSR when present. >=20 > Signed-off-by: Tom Lendacky > Signed-off-by: Thomas Gleixner > --- > arch/x86/include/asm/cpufeatures.h | 1 + > arch/x86/include/asm/msr-index.h | 2 ++ > arch/x86/kernel/cpu/bugs.c | 4 +++- > arch/x86/kernel/process.c | 13 ++++++++++++- > 4 files changed, 18 insertions(+), 2 deletions(-) Reviewed-by: Borislav Petkov --=20 Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton, HR= B 21284 (AG N=C3=BCrnberg) --=20