Please sign in to comment.
cpuidle: add a sysfs entry to disable specific C state for debug purp…
…ose. 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@example.com: check kstrtol return value] Signed-off-by: ShuoX Liu <firstname.lastname@example.org> Reviewed-by: Yanmin Zhang <email@example.com> Reviewed-and-Tested-by: Deepthi Dharwar <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Len Brown <firstname.lastname@example.org>
- Loading branch information...
Showing with 51 additions and 1 deletion.