]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/hypfs_diag: Diag204 busy loop
authorMete Durlu <meted@linux.ibm.com>
Thu, 4 Jul 2024 12:10:08 +0000 (14:10 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 10 Jul 2024 17:50:45 +0000 (19:50 +0200)
commitf4493954215ceb8b22aca3ee6b10c6172f20a9fc
tree0e05b5054b2d3376ba8a111c492f28c267bd94a3
parent97999f8c62a43cf2af5d725b045b82f9b47d83ea
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>
arch/s390/hypfs/hypfs_dbfs.c
arch/s390/hypfs/hypfs_diag.c
arch/s390/include/asm/diag.h