On Wed, 10 Feb 2021 14:20:11 +0100 Pierre Morel <pmorel@xxxxxxxxxxxxx> wrote: > In order to ease the writing of tests based on: > - interrupt > - enabling a subchannel > - using multiple I/O on a channel without disabling it > > We do the following simplifications: > - the I/O interrupt handler is registered on CSS initialization > - We do not enable again a subchannel in senseid if it is already > enabled > - we add a css_enabled() function to test if a subchannel is enabled > > Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx> > --- > lib/s390x/css.h | 1 + > lib/s390x/css_lib.c | 37 ++++++++++++++++++++++---------- > s390x/css.c | 51 ++++++++++++++++++++++++++------------------- > 3 files changed, 56 insertions(+), 33 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>