[Letux-kernel] jz4730-i2c - clocksource

H. Nikolaus Schaller hns at goldelico.com
Wed Mar 3 21:44:29 CET 2021

> Am 03.03.2021 um 21:40 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> So we have a new information:
> * cevt is only really used if we have clocksource=ingenic-timer
> * there are really no interrupts from TCU1 (OST1) although requested

Sorry that was a mis-interpretation. It is sometimes too complex...

cevt uses TCU0 (OST0) and there are interrupts delivered (later).

And my test code seems to not catch the first call to the interrupt
handler (which might occur much later).

So we may have a pure initialization sequence issue?

> * someone seems to remove the mask
> * cevt interrupts are also not delivered if clocksource=jiffies
> * but then it seems to be harmless because scheduling happens differently
> In summary the bug may also be in the interrupt controller
> and not in the ingenic-timer itself (which also has issues).
> Any ideas here?

More information about the Letux-kernel mailing list