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
16 May, 2014
1 commit
-
The patch adds functionality to retrieve the IBC configuration
by means of function sclp_get_ibc().Signed-off-by: Michael Mueller
Acked-by: Cornelia Huck
Acked-by: Heiko Carstens
Acked-by: Christian Borntraeger
22 Apr, 2014
1 commit
-
Check if siif is available before setting.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
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
25 Feb, 2014
1 commit
-
Currently we return a negative block count if SCLP returns HSA block
count zero. The reason is that we subtract one for the header page.So fix this and correctly return zero block count if SCLP returns zero.
Signed-off-by: Michael Holzheu
Signed-off-by: Martin Schwidefsky
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 -
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 -
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 -
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
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
15 Nov, 2013
3 commits
-
The new function calls the old ones. The sclp_event_mask_early() is removed
and replaced by one invocation of sclp_set_event_mask(0, 0).Reviewed-by: Heiko Carstens
Signed-off-by: Michael Holzheu
Signed-off-by: Martin Schwidefsky -
The early SCLP driver code in sclp_cmd.c belongs to sclp_early.c
because it is independent from the 'normal' SCLP driver. So move
it to sclp_early.cReviewed-by: Heiko Carstens
Signed-off-by: Michael Holzheu
Signed-off-by: Martin Schwidefsky -
Currently we have hardcoded the HSA size to 32 MiB. With this patch the
HSA size is determined dynamically via SCLP in early.c.Reviewed-by: Heiko Carstens
Signed-off-by: Michael Holzheu
Signed-off-by: Martin Schwidefsky