Re: [patch 26/60] x86/cpufeature: Make cpu bugs sticky

From: Borislav Petkov
Date: Mon Dec 04 2017 - 17:39:46 EST


On Mon, Dec 04, 2017 at 03:07:32PM +0100, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> 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 <tglx@xxxxxxxxxxxxx>
>
> ---
> 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 <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--