Re: [PATCH v2 2/5] tick/broadcast: Split __tick_broadcast_oneshot_control() into a helper
From: Will Deacon
Date: Thu May 27 2021 - 07:56:55 EST
On Thu, May 27, 2021 at 07:35:03PM +0800, Xin Hao wrote:
>
> 在 2021/5/27 下午4:22, Will Deacon 写道:
> > On Thu, May 27, 2021 at 03:23:06PM +0800, Xin Hao wrote:
> > > I had backport you tick/broadcast: Prefer per-cpu relatives patches,
> > >
> > > but i did not get the true result, the Wakeup Devices are all null, why?
> > Probably because you don't have any suitable per-cpu timers to act as a
> > wakeup. Do you have a per-cpu timer registered with CLOCK_EVT_FEAT_PERCPU
>
> Yes, you are right, but i want to know why the timer do not support
> CLOCK_EVT_FEAT_PERCPU.
I defer to Thomas on this one. The approach I have taken here (of printing
<NULL>) follows what is done elsewhere for the timer readout and probably
helps with parsing this stuff.
Will