Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: Loongson (and other $ARCHs?) idle VS timer enqueue | Date | Fri, 21 Apr 2023 22:28:15 +0200 |
| |
On Fri, Apr 21 2023 at 18:55, Frederic Weisbecker wrote: > On Fri, Apr 21, 2023 at 05:24:36PM +0200, Thomas Gleixner wrote: >> It's far from trivial because you'd need correlation between the >> interrupt entry and the enter to and return from arch_cpu_idle(). >> >> I fear manual inspection is the main tool here :( > > I thought so :) > > I'm already halfway through the architectures, then will come the cpuidle drivers...
For objtool covered architectures you might come up with some annotation which allows objtool to yell, when it discovers a local_irq_enable() or such at the wrong place.
Thanks,
tglx
| |