s390/zcrypt: Fix AP queue handling if queue is full
authorIngo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Fri, 27 Nov 2015 07:33:27 +0000 (08:33 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Nov 2015 08:23:29 +0000 (09:23 +0100)
commit2bc53b8046ce9a1543204b6c6da1ab95e4caac76
tree88a7e1d773fd04399c071087c6fb39912c42a70d
parent78c4a49a69e910a162b05e4e8727b9bdbf948f13
s390/zcrypt: Fix AP queue handling if queue is full

When the AP queue depth of requests was reached additional requests
have been ignored. These request are stuck in the request queue.

The AP queue handling now push the next waiting request into the
queue after fetching a previous serviced and finished reply.

Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c