Re: [PATCH v5 05/13] platform/x86: hfi: Introduce AMD Hardware Feedback Interface Driver

From: Borislav Petkov
Date: Tue Oct 29 2024 - 15:17:00 EST


On Sun, Oct 27, 2024 at 09:02:43PM -0500, Mario Limonciello wrote:
> +static int __init amd_hfi_init(void)
> +{
> + int ret;
> +
> + if (acpi_disabled ||
> + !boot_cpu_has(X86_FEATURE_AMD_HETEROGENEOUS_CORES) ||
> + !boot_cpu_has(X86_FEATURE_AMD_WORKLOAD_CLASS))

s/boot_cpu_has/cpu_feature_enabled/g

Audit your whole set pls.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette