[PATCH master] common: misc: do not run pollers inside panic()

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 1 05:11:06 PDT 2024


On Thu, 20 Jun 2024 14:58:29 +0200, Ahmad Fatoum wrote:
> When panic() is not configured to hang, it will wait 100 ms for messages
> to go out before trying to poweroff or reset the machine.
> 
> The wait is implemented using udelay(), which runs pollers if the delay
> duration exceeds 100 us. This is a bad idea as it needlessly exposes
> barebox to hang indefinitely if the driver that's being polled had
> something to do with why we ended up in the panic in the first place.
> 
> [...]

Applied, thanks!

[1/1] common: misc: do not run pollers inside panic()
      https://git.pengutronix.de/cgit/barebox/commit/?id=b026cd03f940 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list