Re: [RFC PATCH 23/23] x86/process: Reset hardware history in context switch

From: Borislav Petkov
Date: Sun Oct 02 2022 - 18:15:51 EST


On Sun, Oct 02, 2022 at 03:12:38PM -0700, Ricardo Neri wrote:
> Sure I can do this, Boris. I guess this implies that I also need to
> add the DISABLE_MASK bits.

Are you adding a CONFIG_ item which can control the DISABLE_MASK bit
too?

> Othewise, IIUC, cpu_feature_enabled() falls back to static_cpu_has().

And?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette