linux/arch/s390/kvm
Jens Freimann a91b8ebe86 KVM: s390: limit floating irqs
Userspace can flood the kernel with interrupts as of now, so let's
limit the number of pending floating interrupts injected via either
the floating interrupt controller or the KVM_S390_INTERRUPT ioctl.

We can have up to 4*64k pending subchannels + 8 adapter interrupts,
as well as up to ASYNC_PF_PER_VCPU*KVM_MAX_VCPUS pfault done interrupts.
There are also sclp and machine checks. This gives us
(4*65536+8+64*64+1+1) = 266250 interrupts.

Suggested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2014-01-30 10:25:23 +01:00
..
Kconfig KVM: s390: Wire up ioeventfd. 2013-03-05 19:12:17 -03:00
Makefile KVM: get rid of $(addprefix ../../../virt/kvm/, ...) in Makefiles 2013-05-19 15:14:00 +03:00
diag.c KVM: s390: ioeventfd: ignore leftmost bits 2013-12-11 19:05:41 +01:00
gaccess.h KVM: s390: Helper for converting real addresses to absolute 2013-09-24 19:12:20 +02:00
intercept.c KVM: s390: enable Transactional Execution 2014-01-17 13:12:01 +01:00
interrupt.c KVM: s390: limit floating irqs 2014-01-30 10:25:23 +01:00
kvm-s390.c KVM: s390: add floating irq controller 2014-01-30 10:25:20 +01:00
kvm-s390.h KVM: s390: enable Transactional Execution 2014-01-17 13:12:01 +01:00
priv.c First round of KVM updates for 3.14; PPC parts will come next week. 2014-01-22 21:40:43 -08:00
sigp.c KVM: s390: SIGP START has to report BUSY while stopping a CPU 2013-12-11 19:05:21 +01:00
trace-s390.h KVM: s390: Add support for channel I/O instructions. 2013-01-07 19:53:43 -02:00
trace.h KVM: s390: Add SIGP store-status-at-address order 2013-11-28 11:08:16 +01:00