soc: qcom: pil: Incorporate timeouts for notifications

Currently the SSR notification framework will allow the kernel
to silently get stuck if there is a large delay introduced by
sysmon communication between subsystems, or a callback
registered with a subsystem's notifications through the
subsystem notifier framework.This could be an indicator that
something has gone wrong.

Implement initial framework to detect these type of issues.
In case the framework does detect an issue, trigger kernel
panic or emit warning based on configuration flags.

Change-Id: Ia09cc74dd7a961c83e6470cbd66102f133de5c97
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
3 files changed