ANDROID: power: wakeup_reason: wake reason enhancements

These changes build upon the existing Android kernel wakeup reason code
* improve the positioning of suspend abort logging calls in suspend flow
* add logging of abnormal wakeup reasons like unexpected HW IRQs and
  IRQs configured as both wake-enabled and no-suspend
* add support for capturing deferred-processing threaded nested IRQs as
  wakeup reasons rather than their synchronously-processed parents

Bug: 150970830
Bug: 140217217

Signed-off-by: Kelly Rossmoyer <>
Change-Id: I903b811a0fe11a605a25815c3a341668a23de700
8 files changed