summaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-12-02 20:58:06 +0100
committerRichard Weinberger <richard@nod.at>2020-12-13 22:22:46 +0100
commit92dcd3d31843fbe1a95d880dc912e1f6beac6632 (patch)
treedb1504515c3e6c742212573aaef535345de81655 /arch/um/Kconfig
parentum: time: Fix read_persistent_clock64() in time-travel (diff)
downloadlinux-92dcd3d31843fbe1a95d880dc912e1f6beac6632.tar.xz
linux-92dcd3d31843fbe1a95d880dc912e1f6beac6632.zip
um: Allow PM with suspend-to-idle
In order to be able to experiment with suspend in UML, add the minimal work to be able to suspend (s2idle) an instance of UML, and be able to wake it back up from that state with the USR1 signal sent to the main UML process. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r--arch/um/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index 4b799fad8b48..1c57599b82fa 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -192,3 +192,8 @@ config UML_TIME_TRAVEL_SUPPORT
endmenu
source "arch/um/drivers/Kconfig"
+
+config ARCH_SUSPEND_POSSIBLE
+ def_bool y
+
+source "kernel/power/Kconfig"