]> git.baikalelectronics.ru Git - kernel.git/commit
s390/airq: simplify adapter interrupt code
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Jun 2013 08:30:41 +0000 (10:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:28 +0000 (21:10 +0200)
commit5e6c84e53dc2a9009c0be48e5fe501bd13fda8bf
treeec3d6a527bf276a92e8befd559d9a0f0866ab7bd
parent7d9b16ec22d490c3e6a197c713bdbb98d69b9f6a
s390/airq: simplify adapter interrupt code

There are three users of adapter interrupts: AP, QDIO and PCI. Each
registers a single adapter interrupt with independent ISCs. Define
a "struct airq" with the interrupt handler, a pointer and a mask for
the local summary indicator and the ISC for the adapter interrupt
source. Convert the indicator array with its fixed number of adapter
interrupt sources per ISE to an array of hlists. This removes the
limitation to 32 adapter interrupts per ISC and allows for arbitrary
memory locations for the local summary indicator.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/airq.h
arch/s390/pci/pci.c
drivers/s390/cio/airq.c
drivers/s390/cio/qdio_thinint.c
drivers/s390/crypto/ap_bus.c