• Hendrik Brueckner's avatar
    [S390] pm: hvc_iucv power management callbacks · 0259162e
    Hendrik Brueckner authored
    The patch adds supporting for suspending and resuming IUCV HVC terminal
    devices from disk. The obligatory Linux device driver interfaces has
    been added by registering a device driver on the IUCV bus.
    For each IUCV HVC terminal device the driver creates a respective device
    on the IUCV bus.
    
    To support suspend and resume, the PM freeze callback severs any established
    IUCV communication path and triggers a HVC tty hang-up when the system image
    is restored.
    IUCV communication path are no longer valid when the z/VM guest is halted.
    
    The device driver initialization has been updated to register devices and
    the a new routine has been extracted to facilitate the hang-up of IUCV HVC
    terminal devices.
    Signed-off-by: default avatarHendrik Brueckner <brueckner@linux.vnet.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    0259162e
hvc_iucv.c 37 KB