Searched hist:"0 cf5f08a205e4877c9daef5d90e1086643590226" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/common/ |
| H A D | sunxi_scpi_pm.c | 0cf5f08a205e4877c9daef5d90e1086643590226 Sun May 14 14:52:32 UTC 2023 Andrey Skvortsov <andrej.skvortzov@gmail.com> feat(allwinner): use reset through scpi for warm/soft reset
On systems with SCP (running crust) scpi_system_reboot action performs board-level (PMIC) reboot. This doesn't preserve RAM content on A64 PinePhone at least.
warm/soft system reset without RAM reset is required to get pstore (persistent storage) in RAM working with Linux kernel. That is very useful for oops/panic logging for post mortem analysis.
scpi_system_reset action performs reset via SoC reset (using watchdog) and RAM content is preserved in this case. Linux kernel detects system_reset2 support and uses it for warm reset automatically.
Change-Id: I1c21aa8f27c8e0395e2326034788693b59b80bc4 Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
|