On Mon, 24 Feb 2020 06:40:46 -0500 Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote: > The sclp interrupt is kind of special. The ultravisor polices that we > do not inject an sclp interrupt with payload if no sccb is outstanding. > On the other hand we have "asynchronous" event interrupts, e.g. for > console input. > We separate both variants into sclp interrupt and sclp event interrupt. > The sclp interrupt is masked until a previous servc instruction has > finished (sie exit 108). > > [frankja@xxxxxxxxxxxxx: factoring out write_sclp] > Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx> > Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> > --- > arch/s390/include/asm/kvm_host.h | 6 +- > arch/s390/kvm/intercept.c | 27 +++++++++ > arch/s390/kvm/interrupt.c | 95 ++++++++++++++++++++++++++------ > arch/s390/kvm/kvm-s390.c | 6 ++ > 4 files changed, 115 insertions(+), 19 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>