linux_dsm_epyc7002/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 [S390] workqueue fixes. 2006-12-08 15:53:52 +01:00
ctrlchar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defkeymap.c Build fix for drivers/s390/char/defkeymap.c 2008-03-04 08:01:26 -08:00
defkeymap.map Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fs3270.c fs3270: Correct error returns 2008-10-13 09:51:44 -07:00
Kconfig [S390] tape block: fix dependencies 2009-01-09 12:15:04 +01:00
keyboard.c unicode diacritics support 2007-10-17 08:42:52 -07:00
keyboard.h unicode diacritics support 2007-10-17 08:42:52 -07:00
Makefile [S390] sclp: convert channel path configure code to use sync interface. 2008-01-26 14:11:10 +01:00
monreader.c [S390] convert monreader printks to pr_xxx macros. 2008-12-25 13:39:22 +01:00
monwriter.c [S390] convert monwriter printks to pr_xxx macros. 2008-12-25 13:39:23 +01:00
raw3270.c device create: s390: convert device_create_drvdata to device_create 2008-10-16 09:24:44 -07:00
raw3270.h [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
sclp_cmd.c [S390] fix "mem=" handling in case of standby memory 2009-02-19 15:19:19 +01:00
sclp_con.c [S390] pm: power management support for SCLP drivers. 2009-06-16 10:31:16 +02:00
sclp_config.c [S390] convert sclp printks to pr_xxx macros. 2008-12-25 13:39:24 +01:00
sclp_cpi_sys.c [S390] convert sclp printks to pr_xxx macros. 2008-12-25 13:39:24 +01:00
sclp_cpi_sys.h [S390] sclp: sysfs interface for SCLP cpi 2008-01-26 14:11:08 +01:00
sclp_cpi.c [S390] sclp: sysfs interface for SCLP cpi 2008-01-26 14:11:08 +01:00
sclp_quiesce.c [S390] Cleanup sclp printk messages. 2008-07-14 10:02:19 +02:00
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 [S390] convert sclp printks to pr_xxx macros. 2008-12-25 13:39:24 +01:00
sclp_tty.c [S390] sclp_tty: Fix scheduling while atomic bug. 2008-07-14 10:02:25 +02:00
sclp_tty.h [S390] sclp_tty: remove ioctl interface. 2008-07-14 10:02:25 +02:00
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 [S390] tape: New read configuration data. 2007-05-04 18:48:26 +02:00
tape_block.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
tape_char.c [S390] tape message cleanup 2009-03-26 15:24:25 +01:00
tape_class.c device create: s390: convert device_create_drvdata to device_create 2008-10-16 09:24:44 -07:00
tape_class.h [S390] tape: duplicate sysfs filename when setting tape device online 2008-04-17 07:46:59 +02:00
tape_core.c [S390] pm: tape power management callbacks 2009-06-16 10:31:16 +02:00
tape_proc.c [S390] tape message cleanup 2009-03-26 15:24:25 +01:00
tape_std.c [S390] BUG to BUG_ON changes 2009-03-26 15:24:28 +01:00
tape_std.h [PATCH] s390: tape 3590 changes 2006-04-28 08:33:48 -07:00
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 [S390] Get rid of a bunch of sparse warnings again. 2007-10-12 16:13:06 +02:00
vmcp.c [S390] convert vmcp printks to pr_xxx macros. 2008-12-25 13:39:18 +01:00
vmcp.h [S390] vmcp cleanup 2007-07-17 13:36:19 +02:00
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 [S390] vmur: Use wait queue instead of mutex to serialize open 2008-04-17 07:46:59 +02:00
vmwatchdog.c [S390] pm: vmwatchdog power management callbacks. 2009-06-16 10:31:14 +02:00
zcore.c [S390] Use csum_partial in checksum.h 2009-03-26 15:24:27 +01:00