]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: cros_ec: Add support for dumping panic information
authorNicolas Boichat <drinkcat@chromium.org>
Tue, 16 May 2017 15:46:48 +0000 (17:46 +0200)
committerBenson Leung <bleung@chromium.org>
Fri, 16 Jun 2017 20:57:45 +0000 (13:57 -0700)
commit9492bf1a36b62f6a09556bd7f70a41357e2cd9e9
tree85dc68b480c186c5a4d9a7445005175c507bec9a
parentcf263471fa4e66c89bab0b2748df316f26ef81df
mfd: cros_ec: Add support for dumping panic information

This dumps the EC panic information from the previous reboot.

Similar to the information presented by ectool panicinfo, except
that we do not bother doing any parsing (we should write a small
offline tool for that).

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/cros_ec_debugfs.c