diff options
| author | Mete Durlu <meted@linux.ibm.com> | 2024-07-04 14:10:08 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-07-10 19:50:45 +0200 |
| commit | f4493954215ceb8b22aca3ee6b10c6172f20a9fc (patch) | |
| tree | 0e05b5054b2d3376ba8a111c492f28c267bd94a3 /arch/s390/include | |
| parent | 97999f8c62a43cf2af5d725b045b82f9b47d83ea (diff) | |
| download | linux-f4493954215ceb8b22aca3ee6b10c6172f20a9fc.tar.gz linux-f4493954215ceb8b22aca3ee6b10c6172f20a9fc.tar.bz2 linux-f4493954215ceb8b22aca3ee6b10c6172f20a9fc.zip | |
s390/hypfs_diag: Diag204 busy loop
When diag204 busy-indiciation facility is installed and diag204 is
returning busy, hypfs diag204 handler now does an interruptable busy
wait until diag204 is no longer busy. If there is a signal pending, call
would be restarted with -ERESTARTSYSCALL, except for fatal signals.
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Tobias Huschle <huschle@linux.ibm.com>
Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include')
| -rw-r--r-- | arch/s390/include/asm/diag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/diag.h b/arch/s390/include/asm/diag.h index 6527d7e8e010..c0d43512f4fc 100644 --- a/arch/s390/include/asm/diag.h +++ b/arch/s390/include/asm/diag.h @@ -119,6 +119,7 @@ enum diag204_sc { #define DIAG204_SUBCODE_MASK 0xffff #define DIAG204_BIF_BIT 0x80000000 +#define DIAG204_BUSY_WAIT (HZ / 10) /* The two available diag 204 data formats */ enum diag204_format { |
