Re: [PATCH v15 1/6] power: Extend power_on_reason.h for upcoming PSCRR framework

From: Oleksij Rempel

Date: Fri Oct 02 2026 - 00:23:22 EST


On Thu, Oct 01, 2026 at 10:22:44PM +0200, Daniel Lezcano wrote:
> On 9/24/26 09:08, Faruque Ansari wrote:
> > Prepare for the introduction of the Power State Change Reason Recorder
> > (PSCRR) framework by expanding the power_on_reason.h header. This
> > extension includes new power-on reasons:
> > - POWER_ON_REASON_OVER_CURRENT for over-current conditions.
> > - POWER_ON_REASON_REGULATOR_FAILURE for regulator failures.
> > - POWER_ON_REASON_OVER_TEMPERATURE for over temperature situations.
> > - POWER_ON_REASON_EC_PANIC for EC panics.
>
> How the system knows an EC panic happened?

Hm... looks like I lost this change on the way. I added it for this
case:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/chrome/cros_ec_lpc.c?h=v7.3-rc5#n458


--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |