cyclic: Don't disable cylic function upon exceeding CPU time
authorStefan Roese <sr@denx.de>
Mon, 17 Oct 2022 07:00:58 +0000 (09:00 +0200)
committerStefan Roese <sr@denx.de>
Mon, 24 Oct 2022 09:10:21 +0000 (11:10 +0200)
commitddc8d36a745517fec57787ec9b17ab44c7ad973c
tree4e0d0b553055c7089958516abb2faf66b5ed732f
parent374d5d9971d70f1bf9443d75b5dea03701edcfeb
cyclic: Don't disable cylic function upon exceeding CPU time

With the migration of the watchdog infrastructure to cyclic functions
it's been noticed, that at least one watchdog driver is broken now. As
the execution time of it's watchdog reset function is quite long.

In general it's not really necessary (right now) to disable the cyclic
function upon exceeding CPU time usage. So instead of disabling the
cylic function in this case, let's just print a warning once to show
this potential problem to the user.

Signed-off-by: Stefan Roese <sr@denx.de>
Suggested-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Cc: Tom Rini <trini@konsulko.com>
Cc: Pali Rohár <pali@kernel.org>
common/cyclic.c
include/cyclic.h