commit | 358c301c7d1b5f489cb99ed4c73be0b027c2a6dc | [log] [tgz] |
---|---|---|
author | Michael Ryleev <gmar@google.com> | Thu Nov 03 21:47:51 2016 -0700 |
committer | Michael Ryleev <gmar@google.com> | Mon Nov 07 23:01:18 2016 -0800 |
tree | ab8ecc95007e15cd1508cbcdfdacda2c347f2eca | |
parent | a4eb04e08959b7eb11d64cf9c470c773811c418e [diff] |
[dev][arm_generic_timer] Add suspend hook and supporting routines On some platforms the state of arm-deneric timer might be lost in suspend as well as some (deeper) cpu idle related states. This patch adds routine to export timer state in raw and more generic form and implements suspend hooks that saves and restores timer state in per cpu variable across suspend/resume cycle. Change-Id: I736fa25c933b5814bee8047c36ccb8a68d34060a