]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit0c2d7f2a4919037402631cc0b931371815e87908
tree4e0d0b553055c7089958516abb2faf66b5ed732f
parent3b70d3b5b9d9346cce254c56af8fae0624a7dd26
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