Re: [PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-05 Thread Vitaly Kuznetsov
Saurabh Singh Sengar writes: > On Mon, Nov 04, 2024 at 05:48:24PM +0100, Vitaly Kuznetsov wrote: >> It was found that unloading 'hid_hyperv' module results in a devres >> complaint: >> >> ... >> hv_vmbus: unregistering driver hid_hyperv >> [ cut here ] >> WARNING: CPU

Re: Hyper-V HID driver failure in linux-next-20241101

2024-11-05 Thread Saurabh Singh Sengar
On Sun, Nov 03, 2024 at 05:17:19AM +, Michael Kelley wrote: > I was running the linux-next-20241101 kernel in a Hyper-V guest VM today, > and the Hyper-V guest HID (mouse) driver is failing to probe during boot. > I bisected the problem to commit 8b7fd6a15f8c: > > HID: bpf: move HID-BPF re

Re: [PATCH] HID: hyperv: streamline driver probe to avoid devres issues

2024-11-05 Thread Saurabh Singh Sengar
On Mon, Nov 04, 2024 at 05:48:24PM +0100, Vitaly Kuznetsov wrote: > It was found that unloading 'hid_hyperv' module results in a devres > complaint: > > ... > hv_vmbus: unregistering driver hid_hyperv > [ cut here ] > WARNING: CPU: 2 PID: 3983 at drivers/base/devres.c:6

Re: [PATCH v2] tools/hv: terminate fcopy daemon if read from uio fails

2024-11-05 Thread Saurabh Singh Sengar
On Tue, Nov 05, 2024 at 09:14:04AM +0100, Olaf Hering wrote: > Terminate endless loop in reading fails, to avoid flooding syslog. > > This happens if the state of "Guest services" integration service > is changed from "enabled" to "disabled" at runtime in the VM > settings. In this case pread retu

[PATCH v2] tools/hv: terminate fcopy daemon if read from uio fails

2024-11-05 Thread Olaf Hering
Terminate endless loop in reading fails, to avoid flooding syslog. This happens if the state of "Guest services" integration service is changed from "enabled" to "disabled" at runtime in the VM settings. In this case pread returns EIO. Also handle an interrupted system call, and continue in this