]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/acpi/cstate: Improve Intel Family model checks
authorSohil Mehta <sohil.mehta@intel.com>
Wed, 19 Feb 2025 18:41:26 +0000 (18:41 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:19:46 +0000 (11:19 +0100)
commit337959860dbb02120a029dcd169a26ae596c92ee
treeacd3e7601dc294ee92cf459572e117a01d205118
parenteb1ac3330573e0d6cb0f8dccde34112929fc1344
x86/acpi/cstate: Improve Intel Family model checks

Update the Intel Family checks to consistently use Family 15 instead of
Family 0xF. Also, get rid of one of last usages of x86_model by using
the new VFM checks.

Update the incorrect comment since the check has changed since the
initial commit:

  ee1ca48fae7e ("ACPI: Disable ARB_DISABLE on platforms where it is not needed")

The two changes were:

 - 3e2ada5867b7 ("ACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression")
   removed the P4 - Family 15.

 - 03a05ed11529 ("ACPI: Use the ARB_DISABLE for the CPU which model id is less than 0x0f.")
   got rid of CORE_YONAH - Family 6, model E.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20250219184133.816753-9-sohil.mehta@intel.com
arch/x86/include/asm/intel-family.h
arch/x86/kernel/acpi/cstate.c