On 2019-10-16 07:29:34 [+0800], Guo Ren wrote: > Could CONFIG_PREEMPT_RT be supported in csky ? Any arch backend porting ?
It could. HIGH_RES_TIMERS is useful and IRQ_FORCED_THREADING is required. You already have PREEMPT(ION) which is good. Then you would have to try and my guess would be that some of spinlock_t vs raw_spinlock_t could require changes but we should have lockdep support for that which would make things easier. Sebastian