Re: [PATCH] x86/cpufeature: Document cpu_feature_enabled() as the default to use
From: Dave Hansen
Date: Tue Nov 05 2024 - 14:59:53 EST
On 10/31/24 03:34, Borislav Petkov wrote:
> cpu_feature_enabled() should be used in most cases when CPU feature
> support needs to be tested in code. Document that.
Yes, please. BTW, I know the code generation isn't great in some cases.
But this is the right _way_ to call things no "boot_" or &boot_cpu_data
for system-wide things. Underlying code generation can continue to be
fixed up over time.
Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>