On 2020-09-14 10:01:46 [+0900], Jeaho Hwang wrote: > The function hw_usb_reset, called by isr_reset_handler, is using > udelay to wait hw reset and commented "RTOS unfriendly". Can I be sure > RT-safe is it? Could you suggest any better alternative? If I traced it right, that function is used as an interrupt handler which should run threaded on PREEMPT_RT (it should be requested via request_irq() or so). That means that the udelay() can be preempted by a task with higher priority. > Thanks. Regards Sebastian