Re: [PATCH v19 00/10] Implement PSCI reboot mode driver for PSCI resets

From: Shivendra Pratap

Date: Mon Mar 02 2026 - 07:46:43 EST




On 10-02-2026 19:35, Shivendra Pratap wrote:


On 1/26/2026 7:08 PM, Lorenzo Pieralisi wrote:
On Sat, Jan 24, 2026 at 04:08:11PM +0530, Shivendra Pratap wrote:


On 1/6/2026 4:38 PM, Shivendra Pratap wrote:


On 12/28/2025 10:50 PM, 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 registers with
reboot-mode framework to provide this functionality.

The PSCI system reset calls takes two arguments: reset_type and cookie.
It defines predefined reset types, such as warm and cold reset, and
vendor-specific reset types which are SoC vendor specific. To support
these requirements, the reboot-mode framework is enhanced in two key
ways:
1. 64-bit magic support: Extend reboot-mode to handle two 32-bit
arguments (reset_type and cookie) by encoding them into a single 64-bit
magic value.
2. Predefined modes: Add support for predefined reboot modes in the
framework.

With these enhancements, the patch series enables:
- Warm reset and cold reset as predefined reboot modes.
- Vendor-specific resets exposed as tunables, configurable via the
SoC-specific device tree.

Together, these changes allow userspace to trigger all above PSCI resets
from userspace.


Hi Lorenzo,

Is this patch series now converging towards the design changes you
proposed in v17? We’d like to conclude the design so we can move it
towards closure.

Hi Lorenzo,

Can you please review if the design aligns with your proposed changes?

I will try to do it this week.

Hi Lorenzo,

Any pointers, if the change aligns towards your suggestions about the
psci_sys_resets?

Hi Lorenzo,

Was planning to address the current reviews to send the next version, wanted to check if you could check this approach towards psci-reboot-modes?

thanks,
Shivendra