acrn-kernel/arch/um/drivers
Johannes Berg dde8b58d51 um: add a pseudo RTC
Add a pseudo RTC that simply is able to send an alarm signal
waking up the system at a given time in the future.

Since apparently timerfd_create() FDs don't support SIGIO, we
use the sigio-creating helper thread, which just learned to do
suspend/resume properly in the previous patch.

For time-travel mode, OTOH, just add an event at the specified
time in the future, and that's already sufficient to wake up
the system at that point in time since suspend will just be in
an "endless wait".

For s2idle support also call pm_system_wakeup().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-02-12 21:38:52 +01:00
..
Kconfig um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
Makefile um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
chan.h
chan_kern.c
chan_user.c um: tty: Fix handling of close in tty lines 2020-12-13 22:38:28 +01:00
chan_user.h
cow.h
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c
daemon_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
fd.c
harddog_kern.c
harddog_user.c
hostaudio_kern.c
line.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
line.h um: line, remove put_char 2020-06-24 16:53:37 +02:00
mconsole.h
mconsole_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
mconsole_kern.h
mconsole_user.c
mmapper_kern.c
net_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
net_user.c
null.c
pcap_kern.c
pcap_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
pcap_user.h
port.h
port_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
port_user.c
pty.c
random.c um: Remove IRQ_NONE type 2020-12-13 22:22:29 +01:00
rtc.h um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
rtc_kern.c um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
rtc_user.c um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
slirp.h
slirp_kern.c
slirp_user.c
ssl.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
stderr_console.c
stdio_console.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
stdio_console.h
tty.c
ubd.h
ubd_kern.c Revert "um: allocate a guard page to helper threads" 2021-01-26 22:11:38 +01:00
ubd_user.c
umcast.h
umcast_kern.c
umcast_user.c
vde.h
vde_kern.c
vde_user.c
vector_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
vector_kern.h
vector_transports.c
vector_user.c um: vector: Add dynamic tap interfaces and scripting 2020-10-11 23:26:37 +02:00
vector_user.h
vhost_user.h
virtio_uml.c um: virtio: allow devices to be configured for wakeup 2021-02-12 21:25:46 +01:00
xterm.c um: chan_xterm: Fix fd leak 2020-12-13 22:38:28 +01:00
xterm.h
xterm_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00