Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fix from Rafael Wysocki:
"Fix the handling of processors that stop the TSC in deeper C-states in
the intel_idle driver (Thomas Gleixner)"

* tag 'pm-6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
intel_idle: Handle older CPUs, which stop the TSC in deeper C states, correctly

+4
+4
drivers/idle/intel_idle.c
··· 56 56 #include <asm/intel-family.h> 57 57 #include <asm/mwait.h> 58 58 #include <asm/spec-ctrl.h> 59 + #include <asm/tsc.h> 59 60 #include <asm/fpu/api.h> 60 61 61 62 #define INTEL_IDLE_VERSION "0.5.1" ··· 1799 1798 1800 1799 if (intel_idle_state_needs_timer_stop(state)) 1801 1800 state->flags |= CPUIDLE_FLAG_TIMER_STOP; 1801 + 1802 + if (cx->type > ACPI_STATE_C1 && !boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) 1803 + mark_tsc_unstable("TSC halts in idle"); 1802 1804 1803 1805 state->enter = intel_idle; 1804 1806 state->enter_s2idle = intel_idle_s2idle;