[PATCH v19 00/10] Implement PSCI reboot mode driver for PSCI resets
Shivendra Pratap
shivendra.pratap at oss.qualcomm.com
Sat Jan 24 02:38:11 PST 2026
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?
thanks,
Shivendra
More information about the linux-arm-kernel
mailing list