linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Implement a PSCI SYSTEM_RESET2 reboot-mode driver
@ 2023-07-24 22:30 Elliot Berman
  2023-07-24 22:30 ` [RFC PATCH 1/4] power: reset: reboot-mode: Allow magic to be 0 Elliot Berman
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Elliot Berman @ 2023-07-24 22:30 UTC (permalink / raw)
  To: Mark Rutland, Lorenzo Pieralisi, Sebastian Reichel
  Cc: Elliot Berman, Krzysztof Kozlowski, Conor Dooley, Rob Herring,
	linux-arm-kernel, linux-pm, devicetree, linux-kernel,
	linux-arm-msm, kernel, Satya Durga Srinivasu Prabhala,
	Melody Olvera, Prasad Sodagudi

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@quicinc.com/

Elliot Berman (4):
  power: reset: reboot-mode: Allow magic to be 0
  power: reset: reboot-mode: Wire reboot_mode enum to magic
  dt-bindings: power: reset: Document arm,psci-vendor-reset
  power: reset: Implement a PSCI SYSTEM_RESET2 reboot-mode driver

 .../power/reset/arm,psci-vendor-reset.yaml    | 35 +++++++++++++
 MAINTAINERS                                   |  2 +
 drivers/firmware/psci/psci.c                  |  9 ++++
 drivers/power/reset/Kconfig                   |  9 ++++
 drivers/power/reset/Makefile                  |  1 +
 drivers/power/reset/psci-vendor-reset.c       | 49 +++++++++++++++++++
 drivers/power/reset/reboot-mode.c             | 44 ++++++++++++-----
 include/linux/psci.h                          |  2 +
 8 files changed, 139 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/reset/arm,psci-vendor-reset.yaml
 create mode 100644 drivers/power/reset/psci-vendor-reset.c


base-commit: 6eaae198076080886b9e7d57f4ae06fa782f90ef
-- 
2.41.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-07-27  3:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24 22:30 [RFC PATCH 0/4] Implement a PSCI SYSTEM_RESET2 reboot-mode driver Elliot Berman
2023-07-24 22:30 ` [RFC PATCH 1/4] power: reset: reboot-mode: Allow magic to be 0 Elliot Berman
2023-07-26  5:06   ` Pavan Kondeti
2023-07-24 22:30 ` [RFC PATCH 2/4] power: reset: reboot-mode: Wire reboot_mode enum to magic Elliot Berman
2023-07-25 10:03   ` Mukesh Ojha
2023-07-25 21:04     ` Elliot Berman
2023-07-26  5:10       ` Pavan Kondeti
2023-07-24 22:30 ` [RFC PATCH 3/4] dt-bindings: power: reset: Document arm,psci-vendor-reset Elliot Berman
2023-07-24 23:23   ` Rob Herring
2023-07-25 18:01     ` Elliot Berman
2023-07-25 20:26       ` Elliot Berman
2023-07-26 13:45       ` Rob Herring
2023-07-26 17:18         ` Elliot Berman
2023-07-25  8:29   ` Mukesh Ojha
2023-07-24 22:30 ` [RFC PATCH 4/4] power: reset: Implement a PSCI SYSTEM_RESET2 reboot-mode driver Elliot Berman
2023-07-25  5:44   ` Krzysztof Kozlowski
2023-07-26 10:41   ` Pavan Kondeti
2023-07-26 17:19     ` Elliot Berman
2023-07-27  3:00       ` Pavan Kondeti
2023-07-25 19:12 ` [RFC PATCH 0/4] " Florian Fainelli
2023-07-25 20:27   ` Elliot Berman
2023-07-26 17:38     ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).