Re: [PATCH v4 15/36] KVM: s390: protvirt: Add SCLP interrupt handling

Cornelia Huck
2020-02-25T12:12:00Z

On Mon, 24 Feb 2020 06:40:46 -0500
Christian Borntraeger <borntraeger@de.ibm.com> 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@linux.ibm.com: factoring out write_sclp]
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
> 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@redhat.com>