Linux Power Management development
 help / color / mirror / Atom feed
From: Sebastian Reichel <sebastian.reichel@collabora.com>
To: sre@kernel.org, Tian Xuechen <202300460064@mail.sdu.edu.cn>
Cc: linux-pm@vger.kernel.org
Subject: Re: [PATCH v2] power: reset: hisi: Manage restart handler and MMIO mapping
Date: Sun, 06 Dec 2026 03:20:32 +0100	[thread overview]
Message-ID: <179652363243.329577.4433482460270146645.b4-ty@b4> (raw)
In-Reply-To: <20261206014632.3414204-1-202300460064@mail.sdu.edu.cn>


On Sun, 06 Dec 2026 09:46:32 +0800, Tian Xuechen wrote:
> The HiSilicon reboot driver leaves its restart handler registered and
> its MMIO mapping in place when the device is unbound.
> 
> Keep the reboot registers and offset in per-device data and pass that
> data to a managed restart handler. Map the registers before registering
> the handler so devres unregisters the handler before unmapping the
> registers and freeing the callback data. Keep the existing restart
> priority.
> 
> [...]

Applied, thanks!

[1/1] power: reset: hisi: Manage restart handler and MMIO mapping
      commit: bc2de0ff51a59327fa2955e0605076279998b450

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>


      reply	other threads:[~2026-12-06  2:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-06  1:46 [PATCH v2] power: reset: hisi: Manage restart handler and MMIO mapping Tian Xuechen
2026-12-06  2:20 ` Sebastian Reichel [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=179652363243.329577.4433482460270146645.b4-ty@b4 \
    --to=sebastian.reichel@collabora.com \
    --cc=202300460064@mail.sdu.edu.cn \
    --cc=linux-pm@vger.kernel.org \
    --cc=sre@kernel.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