s390/ipl: Implement diag308 loop for zfcpdump
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Mon, 21 Jan 2013 17:35:15 +0000 (18:35 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 14 Feb 2013 14:55:05 +0000 (15:55 +0100)
commit0894b3ae776a60c6bad994e1d8f809ceb59904da
treec59763b4aa4959cca69fb584d4f32feffd240419
parent9a17e972529e07d6e2531e6b6712bf29687df8a6
s390/ipl: Implement diag308 loop for zfcpdump

When a zfcpdump is triggered and a second dump on the same CEC is
already in progress for another LPAR, diagnose 308 returns with
an error code until the first dump is finished. Currently the
second Linux stops with a disabled wait PSW in that case.

This is improved now by by triggering diag 308 in a loop until
it works.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/ipl.c