Re: [RFC PATCH 0/4] Implement a PSCI SYSTEM_RESET2 reboot-mode driver

From: Florian Fainelli
Date: Tue Jul 25 2023 - 15:12:20 EST


Hello,

On 7/24/23 15:30, Elliot Berman wrote:
PSCI implements a restart notifier for architectural defined resets.
The SYSTEM_RESET2 call allows vendor firmware to define additional reset
types which could be mapped to the reboot reason.

Implement a driver to wire the reboot-mode framework to make vendor
SYSTEM_RESET2 calls on reboot.

This is a continuation from https://lore.kernel.org/all/4a679542-b48d-7e11-f33a-63535a5c68cb@xxxxxxxxxxx/

Would appreciate being CC'd on a the non-RFC postings of this patch. FWIW, my use case is better described with this earlier submission:

https://lore.kernel.org/lkml/20220122035421.4086618-1-f.fainelli@xxxxxxxxx/T/#m74e4243c1af3a8d896e19b573b58f562fa09961d

It would be neat if I could leverage your driver in order to implement this custom "reboot powercycle" implementation. Towards that goal, we would likely need to specify the desired reboot "sub" operation alongside its PSCI SYSTEM_RESET2 reboot type argument?

Thanks!
--
Florian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature