]> 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)
commit3db9963f624761d5fd60080027048b604af46600
treeec3d6a527bf276a92e8befd559d9a0f0866ab7bd
parente3e1dc089b7fe6d31705cfb3d605dba007a95adb
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