Re: [RFC PATCH 23/23] x86/process: Reset hardware history in context switch
From: Borislav Petkov
Date: Tue Sep 27 2022 - 09:16:32 EST
On Fri, Sep 09, 2022 at 04:12:05PM -0700, Ricardo Neri wrote:
> +void reset_hardware_history(void)
> +{
> + if (!static_cpu_has(X86_FEATURE_HRESET))
In your whole patchset:
s/static_cpu_has/cpu_feature_enabled/g
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette