git.iko.soy/typeable/nixpkgs
on master help sign in
Kernel config: Separate power management and debugging
commit26da67ff734385eb53763d8b70aa5b0126a209f6 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateWed 4 Mar 2015, 16:37 (12 years ago) parent13764f0
1 file changed+13−11
pkgs/os-specific/linux/kernel/common-config.nix+13−11
pkgs/os-specific/linux/kernel/common-config.nix+13−11
@@ -3,19 +3,9 @@
33with stdenv.lib;
44
55''
6− # Power management and debugging.
6+ # Debugging.
77 DEBUG_KERNEL y
8− PM_ADVANCED_DEBUG y
9− ${optionalString (versionOlder version "3.19") ''
10− PM_RUNTIME y
11− ''}
12− ${optionalString (versionAtLeast version "3.10") ''
13− X86_INTEL_PSTATE y
14− ''}
158 TIMER_STATS y
16− ${optionalString (versionOlder version "3.10") ''
17− USB_SUSPEND y
18− ''}
199 BACKTRACE_SELF_TEST n
2010 CPU_NOTIFIER_ERROR_INJECT? n
2111 DEBUG_DEVRES n
@@ -28,6 +18,18 @@ with stdenv.lib;
2818 SCHEDSTATS n
2919 DETECT_HUNG_TASK y
3020
21+ # Power management.
22+ ${optionalString (versionOlder version "3.19") ''
23+ PM_RUNTIME y
24+ ''}
25+ PM_ADVANCED_DEBUG y
26+ ${optionalString (versionAtLeast version "3.10") ''
27+ X86_INTEL_PSTATE y
28+ ''}
29+ ${optionalString (versionOlder version "3.10") ''
30+ USB_SUSPEND y
31+ ''}
32+
3133 # Support drivers that need external firmware.
3234 STANDALONE n
3335