Re: [PATCH v3 2/2] platform/chrome: cros_ec: Shutdown on EC Panic

From: Prashant Malani
Date: Wed Jan 04 2023 - 13:42:01 EST


On Tue, Jan 3, 2023 at 5:15 PM Rob Barnes <robbarnes@xxxxxxxxxx> wrote:
>
> When an EC panic is reported, attempt an orderly shutdown.
> Force a shutdown after a brief timeout if the orderly shutdown
> fails for any reason.
>
> Using the common hw_protection_shutdown utility function since
> an EC panic has the potential to cause hw damage.
>
> This is all best effort. EC should also force a hard reset after a
> short timeout.
>
> Signed-off-by: Rob Barnes <robbarnes@xxxxxxxxxx>
FWIW:
Reviewed-by: Prashant Malani <pmalani@xxxxxxxxxxxx>