• Martin Schwidefsky's avatar
    [S390] pm: con3215 power management callbacks · 77812a27
    Martin Schwidefsky authored
    Introduce the power management callbacks to the 3215 console. On suspend
    the console buffer is flushed to the 3215 device to have an empty console
    buffer. Printks done while the 3215 device is suspended are buffered in
    the 64K buffer of the 3215 device. If the buffer is full new messages will
    push out the oldest messages to make room for the most recent message.
    On resume the buffered messages are printed. If the system panics before
    the 3215 device is resumed ccw_device_force_console is used to get the
    console working again.
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    77812a27
con3215.c 29.8 KB