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 1/4] restart: give poweroff_machine and restart_machine a flag parameter
Date: Tue, 22 Apr 2025 13:36:03 +0200	[thread overview]
Message-ID: <174532176372.3575143.11614215243352392946.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250422075615.220139-1-a.fatoum@pengutronix.de>


On Tue, 22 Apr 2025 09:56:12 +0200, Ahmad Fatoum wrote:
> We currently do differentiate between warm and cold reset, but
> restart_machine has no flag to choose between them and instead users
> need to iterate over all registered handlers and choose a suitable one
> and then call hat handler's action.
> 
> In preparation for making warm/cold reset and any other flags we may
> require a feature an argument to the driver action, change all
> poweroff_machine and restart_machine calls to take a flags parameter.
> 
> [...]

Applied, thanks!

[1/4] restart: give poweroff_machine and restart_machine a flag parameter
      https://git.pengutronix.de/cgit/barebox/commit/?id=14e928800a18 (link may not be stable)
[2/4] restart: give all restart_handler::restart callbacks a flags parameter
      https://git.pengutronix.de/cgit/barebox/commit/?id=a375e0c5e4e7 (link may not be stable)
[3/4] poweroff: give all poweroff_handler::poweroff callbacks a flags parameter
      https://git.pengutronix.de/cgit/barebox/commit/?id=3fd1ec8bbefd (link may not be stable)
[4/4] restart: make warm reboot a callback argument
      https://git.pengutronix.de/cgit/barebox/commit/?id=fa8e10d7617b (link may not be stable)

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




      parent reply	other threads:[~2025-04-22 12:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-22  7:56 Ahmad Fatoum
2025-04-22  7:56 ` [PATCH 2/4] restart: give all restart_handler::restart callbacks a flags parameter Ahmad Fatoum
2025-04-22  7:56 ` [PATCH 3/4] poweroff: give all poweroff_handler::poweroff " Ahmad Fatoum
2025-04-22 10:32   ` Sascha Hauer
2025-04-22 10:42     ` Ahmad Fatoum
2025-04-22  7:56 ` [PATCH 4/4] restart: make warm reboot a callback argument Ahmad Fatoum
2025-04-22 11:36 ` 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=174532176372.3575143.11614215243352392946.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