Messages in this thread |  | | Date | Tue, 15 Apr 2025 02:52:55 +0000 | | From | Tzung-Bi Shih <> | | Subject | Re: [PATCH v8 2/7] reboot: hw_protection_trigger: use standardized numeric shutdown/reboot reasons instead of strings |
| |
On Fri, Apr 11, 2025 at 02:17:52PM +0200, Oleksij Rempel wrote: > Prepares the kernel for the Power State Change Reason (PSCR) recorder, > which will store shutdown and reboot reasons in persistent storage. > > Instead of using string-based reason descriptions, which are often too > large to fit within limited storage spaces (e.g., RTC clocks with only 8 > bits of battery-backed storage), we introduce `enum psc_reason`. This > enumerates predefined reasons for power state changes, making it > efficient to store and retrieve shutdown causes. > > [...] > drivers/platform/chrome/cros_ec_lpc.c | 2 +-
Acked-by: Tzung-Bi Shih <tzungbi@kernel.org>
|  |