• Martin Schwidefsky's avatar
    s390/sclp: reduce dependency on event type masks · ea61a579
    Martin Schwidefsky authored
    The event type masks can change asynchronously. These changes are reported
    by SCLP to the OS by state-change events which are retrieved with the read
    event data command. The SCLP driver has a request queue, there is a window
    where the read event data request has not completed yet but the SCLP console
    drivers are trying to queue output requests. As the masks are not updated
    yet the requests are discarded.
    
    The simplest fix is to queue the console requests independent of the
    event type masks and rely on SCLP to return with an error code if a
    specific event type is not available.
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    ea61a579
sclp_rw.c 12.4 KB