Re: [PATCH 2/5] x86/alternatives: Catch late X86_FEATURE modifiers

Nikolay Borisov
2024-03-27T15:57:04Z

On 27.03.24 г. 17:43 ч., Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@alien8.de>
>
> After alternatives have been patched, changes to the X86_FEATURE flags
> won't take effect and could potentially even be wrong.
>
> Warn about it.
>
> This is something which has been long overdue.
>
> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>

nit: While cleaning this bit mind if you also switch
alternatives_patched to a bool?