Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e8626459 authored by Eric Caruso's avatar Eric Caruso Committed by Benson Leung
Browse files

mfd: cros_ec: add debugfs, console log file



If the EC supports the new CONSOLE_READ command type, then we
place a console_log file in debugfs for that EC device which allows
us to grab EC logs. The kernel will poll every 10 seconds for the
log and keep its own buffer, but userspace should grab this and
write it out to some logs which actually get rotated.

Signed-off-by: default avatarEric Caruso <ejcaruso@chromium.org>
Signed-off-by: default avatarNicolas Boichat <drinkcat@chromium.org>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Tested-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
[bleung: restored original version of this commit, with pointer size
 issue to be fixed in next commit]
Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
parent 0aa877c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment