About Full c3-stop status.

From: Yun Levi
Date: Thu Sep 09 2021 - 21:23:25 EST


Hi all.

Sorry to interrupt you but I have a question while I am reading the
tick-broadcast codes.

When a cpu goes to c3-stop, I confirm it calls the
tick_broadcast_enter function with TICK_BROADCAST_ENTER.

While entering, it calls the broadcast_needs_cpu with current cpu.

In the last condition of broadcast_needs_cpu, it checks whether the
broadcast device is bound on this cpu.

However, except the ce_broadcast_hrtimer in tick-broadcast-hrtimer.c,
all other real devices set bound_on fields as 0, Therefore, it seems
that cpu 0 couldn't enter c3-stop though it has the feature.

My question is
1. Couldn't cpu 0 enter c3-stop?
2. If true, why don't we set bound_on fields specifically?

Thanks.

HTH.
Levi.