diff options
Diffstat (limited to 'kernel/power/Kconfig')
| -rw-r--r-- | kernel/power/Kconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 619ecabf7c58..825068ca3479 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
| @@ -36,6 +36,17 @@ config PM_DEBUG | |||
| 36 | code. This is helpful when debugging and reporting various PM bugs, | 36 | code. This is helpful when debugging and reporting various PM bugs, |
| 37 | like suspend support. | 37 | like suspend support. |
| 38 | 38 | ||
| 39 | config DISABLE_CONSOLE_SUSPEND | ||
| 40 | bool "Keep console(s) enabled during suspend/resume (DANGEROUS)" | ||
| 41 | depends on PM && PM_DEBUG | ||
| 42 | default n | ||
| 43 | ---help--- | ||
| 44 | This option turns off the console suspend mechanism that prevents | ||
| 45 | debug messages from reaching the console during the suspend/resume | ||
| 46 | operations. This may be helpful when debugging device drivers' | ||
| 47 | suspend/resume routines, but may itself lead to problems, for example | ||
| 48 | if netconsole is used. | ||
| 49 | |||
| 39 | config PM_TRACE | 50 | config PM_TRACE |
| 40 | bool "Suspend/resume event tracing" | 51 | bool "Suspend/resume event tracing" |
| 41 | depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL | 52 | depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL |
| @@ -53,6 +64,17 @@ config PM_TRACE | |||
| 53 | CAUTION: this option will cause your machine's real-time clock to be | 64 | CAUTION: this option will cause your machine's real-time clock to be |
| 54 | set to an invalid time after a resume. | 65 | set to an invalid time after a resume. |
| 55 | 66 | ||
| 67 | config PM_SYSFS_DEPRECATED | ||
| 68 | bool "Driver model /sys/devices/.../power/state files (DEPRECATED)" | ||
| 69 | depends on PM && SYSFS | ||
| 70 | default n | ||
| 71 | help | ||
| 72 | The driver model started out with a sysfs file intended to provide | ||
| 73 | a userspace hook for device power management. This feature has never | ||
| 74 | worked very well, except for limited testing purposes, and so it will | ||
| 75 | be removed. It's not clear that a generic mechanism could really | ||
| 76 | handle the wide variability of device power states; any replacements | ||
| 77 | are likely to be bus or driver specific. | ||
| 56 | 78 | ||
| 57 | config SOFTWARE_SUSPEND | 79 | config SOFTWARE_SUSPEND |
| 58 | bool "Software Suspend" | 80 | bool "Software Suspend" |
