]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - arch/s390/kvm/interrupt.c
KVM: s390: add gib_alert_irq_handler()
authorMichael Mueller <mimu@linux.ibm.com>
Thu, 31 Jan 2019 08:52:44 +0000 (09:52 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 5 Feb 2019 13:29:23 +0000 (14:29 +0100)
commit9f30f62163786a0b80e0886046b5c66e714e7e71
treee96e4deba1cfed939ea9fa5dc80d78ecf208b75b
parent174dd4f88875f6ebad7ad1dff3c3e9530a1e3506
KVM: s390: add gib_alert_irq_handler()

The patch implements a handler for GIB alert interruptions
on the host. Its task is to alert guests that interrupts are
pending for them.

A GIB alert interrupt statistic counter is added as well:

$ cat /proc/interrupts
          CPU0       CPU1
  ...
  GAL:      23         37   [I/O] GIB Alert
  ...

Signed-off-by: Michael Mueller <mimu@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Message-Id: <20190131085247.13826-14-mimu@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/irq.h
arch/s390/include/asm/isc.h
arch/s390/include/asm/kvm_host.h
arch/s390/kernel/irq.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c