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

Borislav Petkov
2022-10-02T22:15:51Z

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.