Commit Graph
2 Commits
Author SHA1 Message Date
ShuoX Liu 3a53396b03 cpuidle: add a sysfs entry to disable specific C state for debug purpose.
Some C states of new CPU might be not good.  One reason is BIOS might
configure them incorrectly.  To help developers root cause it quickly, the
patch adds a new sysfs entry, so developers could disable specific C state
manually.

In addition, C state might have much impact on performance tuning, as it
takes much time to enter/exit C states, which might delay interrupt
processing.  With the new debug option, developers could check if a deep C
state could impact performance and how much impact it could cause.

Also add this option in Documentation/cpuidle/sysfs.txt.

[[email protected]: check kstrtol return value]
Signed-off-by: ShuoX Liu <[email protected]>
Reviewed-by: Yanmin Zhang <[email protected]>
Reviewed-and-Tested-by: Deepthi Dharwar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
2012-03-30 01:52:58 -04:00
Venkatesh Pallipadi fe8e288a63 cpuidle: Add Documentation
Documentation for cpuidle infrastructure. (resend)

Signed-off-by: Venkatesh Pallipadi <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Signed-off-by: Len Brown <[email protected]>
2008-02-14 00:16:13 -05:00