Re: [PATCH] x86/cpufeature: Document cpu_feature_enabled() as the default to use

Dave Hansen
2024-11-05T19:59:42Z

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@linux.intel.com>