[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230104011524.369764-1-robbarnes@google.com>
Date: Wed, 4 Jan 2023 01:15:22 +0000
From: Rob Barnes <robbarnes@...gle.com>
To: groeck@...omium.org, pmalani@...omium.org
Cc: chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org,
dtor@...omium.org, Rob Barnes <robbarnes@...gle.com>
Subject: [PATCH v3 0/2] Handle CrOS EC Panics
Currently the OS ignores EC panics when they occur.
After reporting a panic, the EC will force a hard reset,
possibly after a short delay. This may cause loss of data.
These patches add a handler for CrOS EC panics. When
a panic is detected the OS will attempt to flush critical
data for debugging purposes and attempt an orderly shutdown.
Changelog since v2:
- Minor updates to commit messages
Changelog since v1:
- Updated commit messages
- Split into two patches
- Moved panic handle before mkbp loop
- Switched to dev_emerg
Rob Barnes (2):
platform/chrome: cros_ec: Poll EC log on EC panic
platform/chrome: cros_ec: Shutdown on EC Panic
drivers/platform/chrome/cros_ec_debugfs.c | 23 +++++++++++++++++++++
drivers/platform/chrome/cros_ec_lpc.c | 10 +++++++++
include/linux/platform_data/cros_ec_proto.h | 9 ++++++++
3 files changed, 42 insertions(+)
--
2.39.0.314.g84b9a713c41-goog
Powered by blists - more mailing lists