diff options
author | Jens Freimann <jfrei@linux.vnet.ibm.com> | 2014-07-29 09:11:49 -0400 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-11-28 07:59:04 -0500 |
commit | 383d0b050106abecb82f43101cac94fa423af5cd (patch) | |
tree | 0c774c70890bc3423147f366549a47d34a19dd6a /arch/s390/include | |
parent | c0e6159d519ec429ebf0d54025726cbe41b9e456 (diff) |
KVM: s390: handle pending local interrupts via bitmap
This patch adapts handling of local interrupts to be more compliant with
the z/Architecture Principles of Operation and introduces a data
structure
which allows more efficient handling of interrupts.
* get rid of li->active flag, use bitmap instead
* Keep interrupts in a bitmap instead of a list
* Deliver interrupts in the order of their priority as defined in the
PoP
* Use a second bitmap for sigp emergency requests, as a CPU can have
one request pending from every other CPU in the system.
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/kvm_host.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index 624a821fcba0..9cba74d5d853 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h | |||
@@ -398,8 +398,6 @@ struct kvm_s390_irq_payload { | |||
398 | 398 | ||
399 | struct kvm_s390_local_interrupt { | 399 | struct kvm_s390_local_interrupt { |
400 | spinlock_t lock; | 400 | spinlock_t lock; |
401 | struct list_head list; | ||
402 | atomic_t active; | ||
403 | struct kvm_s390_float_interrupt *float_int; | 401 | struct kvm_s390_float_interrupt *float_int; |
404 | wait_queue_head_t *wq; | 402 | wait_queue_head_t *wq; |
405 | atomic_t *cpuflags; | 403 | atomic_t *cpuflags; |