25 Sep, 2014

1 commit

  • 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: Martin Schwidefsky

    Martin Schwidefsky
     

16 May, 2014

1 commit


22 Apr, 2014

1 commit


17 Mar, 2014

1 commit

  • Limit the number of bits to the maximum number of cpus a machine
    can have.
    possible_cpu_mask typically will have more bits set than a machine
    may physically have. This results in wasted memory during per-cpu
    memory allocations, if the possible mask contains more cpus than
    physically possible for a given configuration.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     

25 Feb, 2014

1 commit


16 Dec, 2013

4 commits

  • Add SCLP console detect functions to encapsulate detection of SCLP console
    capabilities, for example, VT220 support. Reuse the sclp_send/receive masks
    that were stored by the most recent sclp_set_event_mask() call to prevent
    unnecessary SCLP calls.

    Signed-off-by: Hendrik Brueckner
    Reviewed-by: Michael Holzheu
    Reviewed-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     
  • Add a sccb pointer parameter to *_detect() functions instead of accessing
    the global sccb_early variable directly.

    Signed-off-by: Hendrik Brueckner
    Reviewed-by: Michael Holzheu
    Reviewed-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     
  • Replace early_read_info_sccb and use sccb_early instead.
    Also saves some memory.

    Signed-off-by: Hendrik Brueckner
    Reviewed-by: Michael Holzheu
    Reviewed-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     
  • The early sclp detect functions gather the available SCLP facility
    information. The sclp_early_read_info_sccb_valid indicates whether the
    early sclp request was valid. However, one external reference to it
    checks for particular sclp facility bits and this should be sufficient.
    Another occurance is in the sclp_get_ipl_info() function that is called
    later. Because all information are available at the early stage, save
    the ipl information when detecting the sclp facilities. Hence, no more
    checks for sclp_early_read_info_sccb_valid are required.

    Signed-off-by: Hendrik Brueckner
    Reviewed-by: Michael Holzheu
    Reviewed-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     

02 Dec, 2013

1 commit

  • Commit "s390/sclp: Consolidate early sclp init calls to sclp_early_detect()"
    (7b50da53f6ad2048241bef232bfc22a132a40283) replaced the sclp_event_mask_early()
    with sclp_set_event_mask(). The early_event_mask_sccb variable is no longer
    initialized but is still used in sclp_has_linemode() and sclp_has_vt220().

    Replace early_event_mask_sccb with the sccb_early variable in both
    functions.

    Signed-off-by: Hendrik Brueckner
    Signed-off-by: Martin Schwidefsky

    Hendrik Brueckner
     

15 Nov, 2013

3 commits