msm: qdss: restore trace state for cores early during hotplug on
Earlier we were relying on non-boot cores going through the first
idle WFI or idle power collapse after hotplug turn on to restore the
trace state from the previous hotplug turn off.
This could take a long time (causing us to loose trace information
during this time) and more so now since we don't save and restore
trace state across WFI. This could also cause the state to not get
restored if idle power collapse is disabled for non-boot cores.
We now restore the trace state for non-boot cores early on as part of
hotplug turn on itself to alleviate above pitfalls.
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
4 files changed