linux_dsm_epyc7002/drivers/cpuidle
Venki Pallipadi 8e92b6605d cpuidle: fix 100% C0 statistics regression
commit 9b12e18cdc
'ACPI: cpuidle: Support C1 idle time accounting'
was implicated in a 100% C0 idle regression.
http://bugzilla.kernel.org/show_bug.cgi?id=10076

It pointed out a potential problem where the menu governor
may get confused by the C-state residency time from poll
idle or C1 idle, where this timing info is not accurate.
This inaccuracy is due to interrupts being handled
before we account for C-state exit.

Do not mark TIME_VALID for CO poll state.
Mark C1 time as valid only with the MWAIT (CSTATE_FFH) entry method.

This makes governors use the timing information only when it is correct and
eliminates any wrong policy decisions that may result from invalid timing
information.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-03-26 00:58:19 -04:00
..
governors pm qos infrastructure and interface 2008-02-05 09:44:22 -08:00
cpuidle.c cpuidle: fix 100% C0 statistics regression 2008-03-26 00:58:19 -04:00
cpuidle.h
driver.c
governor.c cpuidle: remove unused exports 2007-10-29 17:27:50 -04:00
Kconfig ACPI: CONFIG_CPU_IDLE=ACPI by default 2007-11-19 22:22:37 -05:00
Makefile
sysfs.c cpuidle: fix cpuidle time and usage overflow 2008-03-26 00:45:26 -04:00