Skip to content

Handle CrOS EC Panics

Rob Barnes chrome-platform lkml 3 versions – Applied

Status from this message: This series was applied to chrome-platform/linux.git (for-kernelci)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied 2/2
  2. v22 patches 2 repliesSuperseded
  3. v11 patch 9 repliesSuperseded

Changes in v3 from the cover letter

- Minor updates to commit messages

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2platform/chrome: cros_ec: Poll EC log on EC panicdrivers/platform/chrome/cros_ec_debugfs.c drivers/platform/chrome/cros_ec_lpc.c include/linux/platform_data/cros_ec_proto.h+39 -02 repliesApplied
2/2platform/chrome: cros_ec: Shutdown on EC Panicdrivers/platform/chrome/cros_ec_lpc.c+3 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPrashant Malani
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [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(+)
Signature · 1 line
2.39.0.314.g84b9a713c41-goog