linux/drivers/s390/char
Michael Holzheu 62b7494209 [S390] pm: power management support for SCLP drivers.
The SCLP base driver defines a new notifier call back for all upper level SCLP
drivers, like the SCLP console, etc. This guarantees that in suspend first the
upper level drivers are suspended and afterwards the SCLP base driver. For
resume it is the other way round. The SCLP base driver itself registers a
new platform device at the platform bus and gets PM notifications via
the dev_pm_ops.

In suspend, the SCLP base driver switches off the receiver and sender mask
This is done in sclp_deactivate(). After suspend all new requests will be
rejected with -EIO and no more interrupts will be received, because the masks
are switched off. For resume the sender and receiver masks are reset in
the sclp_reactivate() function.

When the SCLP console is suspended, all new messages are cached in the
sclp console buffers. In resume, all the cached messages are written to the
console. In addition to that we have an early resume function that removes
the cached messages from the suspend image.

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-06-16 10:31:16 +02:00
..
con3215.c [S390] pm: con3215 power management callbacks 2009-06-16 10:31:12 +02:00
con3270.c [S390] 3270: lock dependency fixes 2009-06-12 10:27:33 +02:00
ctrlchar.c
ctrlchar.h
defkeymap.c
defkeymap.map
fs3270.c
Kconfig
keyboard.c
keyboard.h
Makefile
monreader.c
monwriter.c
raw3270.c
raw3270.h
sclp_cmd.c
sclp_con.c [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
sclp_config.c
sclp_cpi_sys.c
sclp_cpi_sys.h
sclp_cpi.c
sclp_quiesce.c
sclp_rw.c [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
sclp_rw.h [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
sclp_sdias.c
sclp_tty.c
sclp_tty.h
sclp_vt220.c [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
sclp.c [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
sclp.h [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
tape_34xx.c [S390] pm: tape power management callbacks 2009-06-16 10:31:16 +02:00
tape_3590.c [S390] pm: tape power management callbacks 2009-06-16 10:31:16 +02:00
tape_3590.h
tape_block.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
tape_char.c
tape_class.c
tape_class.h
tape_core.c [S390] pm: tape power management callbacks 2009-06-16 10:31:16 +02:00
tape_proc.c
tape_std.c [S390] BUG to BUG_ON changes 2009-03-26 15:24:28 +01:00
tape_std.h
tape.h [S390] pm: tape power management callbacks 2009-06-16 10:31:16 +02:00
tty3270.c [S390] 3270: lock dependency fixes 2009-06-12 10:27:33 +02:00
tty3270.h
vmcp.c
vmcp.h
vmlogrdr.c [S390] pm: vmlogrdr power management callbacks 2009-06-16 10:31:15 +02:00
vmur.c [S390] pm: vmur driver power management callbacks 2009-06-16 10:31:15 +02:00
vmur.h
vmwatchdog.c [S390] pm: vmwatchdog power management callbacks. 2009-06-16 10:31:14 +02:00
zcore.c