Re: [PATCH v24 00/12] Implement PSCI reboot mode driver for PSCI resets

From: Shivendra Pratap

Date: Fri Sep 04 2026 - 10:42:21 EST




On 9/4/2026 12:47 PM, Ulf Hansson wrote:
On Thu, Sep 3, 2026 at 6:04 PM Lee Jones <lee@xxxxxxxxxx> wrote:

On Mon, 03 Aug 2026, Shivendra Pratap wrote:

Userspace should be able to initiate device reboots using the various
PSCI SYSTEM_RESET and SYSTEM_RESET2 types defined by PSCI spec. This
patch series introduces psci-reboot-mode driver that will induce
command-based resets to psci driver for executing the device reset.

The more I read through this submission, the more convinced I get that
it does not belong in MFD. This is a potentially nice "architectural
workaround" if it a) didn't break some of MFD's fundamental "real
devices only" rules, of which cpuidle and reboot-mode certainly are not
and b) didn't require a massive expansion of what the MFD core is
designed to do. I am more that a little uncomfortable with the 150
lines being added to MFD core support this workaround.

My best suggestion so far would be to base these changes inside
drivers/firmware/psci and use the aux bus to communicate with the
various components.

We had some off list discussions about this as well and it seems like
we are in agreement. What you are suggesting makes perfect sense to
me.

Thanks for reviews. I will move this to Aux and re-post.

thanks,
Shivendra