Re: [PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread David Hildenbrand
On 27.03.20 10:58, Christian Borntraeger wrote: >>> I fail to see where that is triggered in the kernel. >>> >>> t480s: ~/git/linux/arch/s390/kvm (HEAD losgelöst bei next/master) $ git >>> grep "EINTR" >>> kvm-s390.c: if (exit_reason == -EINTR) { >>> kvm-s390.c: return -EINTR; >>> k

Re: [PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread Christian Borntraeger
>> I fail to see where that is triggered in the kernel. >> >> t480s: ~/git/linux/arch/s390/kvm (HEAD losgelöst bei next/master) $ git >> grep "EINTR" >> kvm-s390.c: if (exit_reason == -EINTR) { >> kvm-s390.c: return -EINTR; >> kvm-s390.c: rc = -EINTR; >> vsie.c: if (rc =

Re: [PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread David Hildenbrand
On 27.03.20 10:54, Christian Borntraeger wrote: > > > On 27.03.20 10:49, David Hildenbrand wrote: >> On 27.03.20 10:43, Christian Borntraeger wrote: >>> PV_ENABLE (and maybe others) might return -EINTR when a signal is >>> pending. Let us retry the ioctl in that case. >>> >>> Fixes: 4d226deafc44

Re: [PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread Christian Borntraeger
On 27.03.20 10:49, David Hildenbrand wrote: > On 27.03.20 10:43, Christian Borntraeger wrote: >> PV_ENABLE (and maybe others) might return -EINTR when a signal is >> pending. Let us retry the ioctl in that case. >> >> Fixes: 4d226deafc44 ("s390x: protvirt: Support unpack facility") >> Reported-b

Re: [PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread Janosch Frank
On 3/27/20 10:43 AM, Christian Borntraeger wrote: > PV_ENABLE (and maybe others) might return -EINTR when a signal is > pending. Let us retry the ioctl in that case. > > Fixes: 4d226deafc44 ("s390x: protvirt: Support unpack facility") > Reported-by: Marc Hartmayer > Tested-by: Marc Hartmayer > S

Re: [PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread David Hildenbrand
On 27.03.20 10:43, Christian Borntraeger wrote: > PV_ENABLE (and maybe others) might return -EINTR when a signal is > pending. Let us retry the ioctl in that case. > > Fixes: 4d226deafc44 ("s390x: protvirt: Support unpack facility") > Reported-by: Marc Hartmayer > Tested-by: Marc Hartmayer > Sig

[PATCH] s390x/pv: Retry ioctls on -EINTR

2020-03-27 Thread Christian Borntraeger
PV_ENABLE (and maybe others) might return -EINTR when a signal is pending. Let us retry the ioctl in that case. Fixes: 4d226deafc44 ("s390x: protvirt: Support unpack facility") Reported-by: Marc Hartmayer Tested-by: Marc Hartmayer Signed-off-by: Christian Borntraeger --- hw/s390x/pv.c | 6