Re: "RTOS unfriendly" in chipidea udc code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux