aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2022-06-14 00:57:26 -0700
committerTzung-Bi Shih <[email protected]>2022-06-14 08:18:18 +0000
commit74bb746407bf0d7c7d126c7731dbcd66d467619b (patch)
tree23f81ab37576833940299cdf370c466d558619bb /scripts/gdb/linux/tasks.py
parent203b2aff4786d16ef0cd1a6a9405043a99a5b3fb (diff)
platform/chrome: cros_ec: Always expose last resume result
The last resume result exposing logic in cros_ec_sleep_event() incorrectly requires S0ix support, which doesn't work on ARM based systems where S0ix doesn't exist. That's because cros_ec_sleep_event() only reports the last resume result when the EC indicates the last sleep event was an S0ix resume. On ARM systems, the last sleep event is always S3 resume, but the EC can still detect sleep hang events in case some other part of the AP is blocking sleep. Always expose the last resume result if the EC supports it so that this works on all devices regardless of S0ix support. This fixes sleep hang detection on ARM based chromebooks like Trogdor. Cc: Rajat Jain <[email protected]> Cc: Matthias Kaehlcke <[email protected]> Cc: Hsin-Yi Wang <[email protected]> Cc: Tzung-Bi Shih <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Evan Green <[email protected]> Fixes: 7235560ac77a ("platform/chrome: Add support for v1 of host sleep event") Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions