mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
1. Register resume_noirq handler for profiling the time when early driver resume sequence is started. Since this driver is loaded after boot, this should get called very early in the resume sequence. 2. Register PM notifier to know when resume is complete. This helps in profiling the time when entire resume sequence is complete. These 2 timestamps should approximately indicate the time it takes for Linux to resume. Adding this code in this driver removes dependency of providing this information from some other driver. Bug 4454722 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Change-Id: I214eb4ff2808ecb87b828cb4556a2a00cc2d4545 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3047836 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3062030 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>