[S390] zcrypt: fix possible dead lock in AP bus module
authorRalph Wuerthner <rwuerthn@de.ibm.com>
Mon, 19 Mar 2007 12:19:14 +0000 (13:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 19 Mar 2007 12:19:14 +0000 (13:19 +0100)
commitcf352ce0b9104dc6a1c11df52db9f910f1f6cd2e
tree166082c005e653747eea14d2a761119d8425decb
parentfb1c171992041e1d4bfb8c010548fa97f2106827
[S390] zcrypt: fix possible dead lock in AP bus module

AP bus module uses bus_for_each_dev() in software interrupt context to
poll for completed requests which might cause dead locks. Solution: use
private AP device list for polling in software interrupt context.

Signed-off-by: Ralph Wuerthner <rwuerthn@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h