summaryrefslogtreecommitdiff
path: root/crypto/algboss.c
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2011-08-03 14:44:17 (GMT)
committerHeiko Carstens <heiko.carstens@de.ibm.com>2011-08-03 14:44:19 (GMT)
commitbe8d97a540cec5d272b1e08e27741a3c3aa38f66 (patch)
tree39fc55cde3cdf81aea341dd1de1d2957988b97b1 /crypto/algboss.c
parented8f37370d83e695c0a4fa5d5fc7a83ecb947526 (diff)
downloadlinux-fsl-qoriq-be8d97a540cec5d272b1e08e27741a3c3aa38f66.tar.xz
[S390] qdio: 2nd stage retry on SIGA-W busy conditions
The SIGA-W may return with the busy bit set which means the device was blocked. The busy loop which retries the SIGA-W for 100us may not be long enough when running under a heavily loaded hypervisor. Extend the retry mechanism by adding a longer second stage which retries the SIGA-W for up to 10s. In difference to the first retry loop the second stage is using mdelay to stop the cpu between the retries and thereby avoid additional preassure in on the hypervisor. If the second stage retry is successfull a device reset is avoided. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'crypto/algboss.c')
0 files changed, 0 insertions, 0 deletions