From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752405AbdLDWjl (ORCPT ); Mon, 4 Dec 2017 17:39:41 -0500 Received: from mx2.suse.de ([195.135.220.15]:50262 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbdLDWjg (ORCPT ); Mon, 4 Dec 2017 17:39:36 -0500 Date: Mon, 4 Dec 2017 23:39:27 +0100 From: Borislav Petkov To: Thomas Gleixner Cc: LKML , x86@kernel.org, Linus Torvalds , Andy Lutomirsky , Peter Zijlstra , Dave Hansen , Greg KH , keescook@google.com, hughd@google.com, Brian Gerst , Josh Poimboeuf , Denys Vlasenko , Rik van Riel , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , aliguori@amazon.com, Will Deacon , daniel.gruss@iaik.tugraz.at Subject: Re: [patch 26/60] x86/cpufeature: Make cpu bugs sticky Message-ID: <20171204223927.xpfjf3mg22cowham@pd.tnic> References: <20171204140706.296109558@linutronix.de> <20171204150606.992156574@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171204150606.992156574@linutronix.de> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 04, 2017 at 03:07:32PM +0100, Thomas Gleixner wrote: > From: Thomas Gleixner > > There is currently no way to force CPU bug bits like CPU feature bits. That > makes it impossible to set a bug bit once at boot and have it stick for all > upcoming CPUs. > > Extend the force set/clear arrays to handle bug bits as well. > > Signed-off-by: Thomas Gleixner > > --- > arch/x86/include/asm/cpufeature.h | 2 ++ > arch/x86/include/asm/processor.h | 4 ++-- > arch/x86/kernel/cpu/common.c | 6 +++--- > 3 files changed, 7 insertions(+), 5 deletions(-) This whole area needs more work... well, later... Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --