Re: [PATCH] kcov, usb, vhost: specify contexts for remote coverage sections

2020-10-07 Thread Andrey Konovalov
On Wed, Oct 7, 2020 at 10:07 PM Alan Stern wrote: > > On Wed, Oct 07, 2020 at 09:54:57PM +0200, Andrey Konovalov wrote: > > On Wed, Oct 7, 2020 at 9:29 PM Alan Stern wrote: > > > > > > On Wed, Oct 07, 2020 at 07:30:51PM +0200, Andrey Konovalov wrote: > > > > Currently there's a KCOV remote

Re: [PATCH] kcov, usb, vhost: specify contexts for remote coverage sections

2020-10-07 Thread Alan Stern
On Wed, Oct 07, 2020 at 09:54:57PM +0200, Andrey Konovalov wrote: > On Wed, Oct 7, 2020 at 9:29 PM Alan Stern wrote: > > > > On Wed, Oct 07, 2020 at 07:30:51PM +0200, Andrey Konovalov wrote: > > > Currently there's a KCOV remote coverage collection section in > > > __usb_hcd_giveback_urb().

Re: [PATCH] kcov, usb, vhost: specify contexts for remote coverage sections

2020-10-07 Thread Andrey Konovalov
On Wed, Oct 7, 2020 at 9:29 PM Alan Stern wrote: > > On Wed, Oct 07, 2020 at 07:30:51PM +0200, Andrey Konovalov wrote: > > Currently there's a KCOV remote coverage collection section in > > __usb_hcd_giveback_urb(). Initially that section was added based on the > > assumption that

Re: [PATCH] kcov, usb, vhost: specify contexts for remote coverage sections

2020-10-07 Thread Alan Stern
On Wed, Oct 07, 2020 at 07:30:51PM +0200, Andrey Konovalov wrote: > Currently there's a KCOV remote coverage collection section in > __usb_hcd_giveback_urb(). Initially that section was added based on the > assumption that usb_hcd_giveback_urb() can only be called in interrupt > context as

Re: [PATCH] kcov, usb, vhost: specify contexts for remote coverage sections

2020-10-07 Thread Andrey Konovalov
On Wed, Oct 7, 2020 at 7:30 PM Andrey Konovalov wrote: > > Currently there's a KCOV remote coverage collection section in > __usb_hcd_giveback_urb(). Initially that section was added based on the > assumption that usb_hcd_giveback_urb() can only be called in interrupt > context as indicated by a

[PATCH] kcov, usb, vhost: specify contexts for remote coverage sections

2020-10-07 Thread Andrey Konovalov
Currently there's a KCOV remote coverage collection section in __usb_hcd_giveback_urb(). Initially that section was added based on the assumption that usb_hcd_giveback_urb() can only be called in interrupt context as indicated by a comment before it. As it turns out, it's actually valid to call