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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux