]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
intel_idle: Allow loading ACPI tables for any family
authorLen Brown <len.brown@intel.com>
Fri, 8 Aug 2025 19:37:14 +0000 (15:37 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Aug 2025 19:43:26 +0000 (21:43 +0200)
There is no reason to limit intel_idle's loading of ACPI tables to
family 6.  Upcoming Intel processors are not in family 6.

Below "Fixes" really means "applies cleanly until".
That syntax commit didn't change the previous logic,
but shows this patch applies back 5-years.

Fixes: 4a9f45a0533f ("intel_idle: Convert to new X86 CPU match macros")
Signed-off-by: Len Brown <len.brown@intel.com>
Link: https://patch.msgid.link/06101aa4fe784e5b0be1cb2c0bdd9afcf16bd9d4.1754681697.git.len.brown@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c

index 73747d20df85d5cc8daf781c3d3b01ff3ccd6af3..91a7b7e7c0c8e3c8ab9dcc0da7098bde88d5c499 100644 (file)
@@ -1679,7 +1679,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
 };
 
 static const struct x86_cpu_id intel_mwait_ids[] __initconst = {
-       X86_MATCH_VENDOR_FAM_FEATURE(INTEL, 6, X86_FEATURE_MWAIT, NULL),
+       X86_MATCH_VENDOR_FAM_FEATURE(INTEL, X86_FAMILY_ANY, X86_FEATURE_MWAIT, NULL),
        {}
 };