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

Tom Rini trini at konsulko.com
Wed Sep 14 16:47:04 CEST 2022


On Wed, Sep 14, 2022 at 04:29:36PM +0200, Stefan Roese wrote:
> 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?

Yes, the watchdog series should come to next, for v2023.01 as well. Are
you comfortable with it now, or are you planning to v2 it?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220914/f1b9baff/attachment.sig>


More information about the U-Boot mailing list