Re: [patch 05/12] usb: xhci: Remove in_interrupt() checks

2020-10-23 Thread Mathias Nyman
On 14.10.2020 17.52, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > xhci_set_hc_event_deq() has an !in_interrupt() check which is pointless > because the function is only invoked from xhci_mem_init() which is

[patch 05/12] usb: xhci: Remove in_interrupt() checks

2020-10-14 Thread Thomas Gleixner
From: Ahmed S. Darwish The usage of in_interrupt() in drivers is phased out for various reasons. xhci_set_hc_event_deq() has an !in_interrupt() check which is pointless because the function is only invoked from xhci_mem_init() which is clearly task context as it does GFP_KERNEL allocations.