]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/pci: try harder to modify a function
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 29 Aug 2013 17:38:33 +0000 (19:38 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 30 Aug 2013 06:57:18 +0000 (08:57 +0200)
commitd03abe5882cc4815bf98c0e01a1deafa4a5d6730
treea255145e80f4f0593b89aef58a20ef497f874c8e
parent1d57896638f080165165dd9fb4cf848220dfd853
s390/pci: try harder to modify a function

In rare situations a PCI function can report a busy condition
when we issue the modify pci function command. A temporary busy
condition can exceed 1 second but not 2 seconds. Increase the
time until we report an error to 2 seconds. Also increase the
time we sleep between the retries to reduce the load in this
case.

Suggested-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_clp.c