Re: [PATCH v2 04/35] x86/bugs: Restructure mds mitigation
From: Borislav Petkov
Date: Tue Dec 10 2024 - 10:25:17 EST
On Thu, Nov 14, 2024 at 03:01:54PM +0000, Kaplan, David wrote:
> > > +/* Return TRUE if any VERW-based mitigation is enabled. */ static
> > > +bool __init mitigate_any_verw(void)
> >
> > s/mitigate_any_verw/verw_enabled/ ?
>
> Ok
Right, except "verw_enabled" asks whether VERW is enabled while what we want
to ask here is whether mitigation through VERW is enabled.
So verw_mitigation_enabled() perhaps?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette