Skip to content

Commit a2fb468

Browse files
committed
x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation
JIRA: https://issues.redhat.com/browse/RHEL-68394 commit c9a4b55 Author: Len Brown <len.brown@intel.com> Date: Tue Nov 12 21:07:00 2024 -0500 x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation Under some conditions, MONITOR wakeups on Lunar Lake processors can be lost, resulting in significant user-visible delays. Add Lunar Lake to X86_BUG_MONITOR so that wake_up_idle_cpu() always sends an IPI, avoiding this potential delay. Reported originally here: https://bugzilla.kernel.org/show_bug.cgi?id=219364 [ dhansen: tweak subject ] Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc:stable@vger.kernel.org Link: https://lore.kernel.org/all/a4aa8842a3c3bfdb7fe9807710eef159cbf0e705.1731463305.git.len.brown%40intel.com Signed-off-by: David Arcari <darcari@redhat.com>
1 parent 05a6bd3 commit a2fb468

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/x86/kernel/cpu/intel.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,9 @@ static void init_intel(struct cpuinfo_x86 *c)
631631
c->x86_vfm == INTEL_WESTMERE_EX))
632632
set_cpu_bug(c, X86_BUG_CLFLUSH_MONITOR);
633633

634-
if (boot_cpu_has(X86_FEATURE_MWAIT) && c->x86_vfm == INTEL_ATOM_GOLDMONT)
634+
if (boot_cpu_has(X86_FEATURE_MWAIT) &&
635+
(c->x86_vfm == INTEL_ATOM_GOLDMONT ||
636+
c->x86_vfm == INTEL_LUNARLAKE_M))
635637
set_cpu_bug(c, X86_BUG_MONITOR);
636638

637639
#ifdef CONFIG_X86_64

0 commit comments

Comments
 (0)