mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH master] common: misc: do not run pollers inside panic()
Date: Mon, 01 Jul 2024 14:11:06 +0200	[thread overview]
Message-ID: <171983586644.1493916.13211587647238402962.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240620125829.550300-1-a.fatoum@pengutronix.de>


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@pengutronix.de>




      reply	other threads:[~2024-07-01 12:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 12:58 Ahmad Fatoum
2024-07-01 12:11 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171983586644.1493916.13211587647238402962.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox