[PATCH v6 0/8] Add support for cyclic function execution infrastruture

Stefan Roese sr at denx.de
Wed Sep 14 16:29:36 CEST 2022


On 14.09.22 14:58, Tom Rini wrote:
> On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote:
> 
>> This patchset adds the basic infrastructure to periodically execute
>> code, e.g. all 100ms. Examples for such functions might be LED blinking
>> etc. The functions that are hooked into this cyclic list should be
>> small timewise as otherwise the execution of the other code that relies
>> on a high frequent polling (e.g. UART rx char ready check) might be
>> delayed too much. This patch also adds the Kconfig option
>> CONFIG_CYCLIC_MAX_CPU_TIME_US, which configures the max allowed time
>> for such a cyclic function. If it's execution time exceeds this time,
>> this cyclic function will get removed from the cyclic list.
>>
>> [...]
> 
> For the series, applied to u-boot/next, thanks!

Thanks Tom.

This patch series should not introduce any functional changes. The
next one though, which migrates the WATCHDOG_RESET into the cyclic
function execution IF needs a quite some testing. Perhaps it makes
sense to pull this other series as well quite early in the release
cycle, so that it receives a lot of "attention"? So that we have
time to fix potential problems here.

What do you think?

Thanks,
Stefan


More information about the U-Boot mailing list