Add support to prevent trace flush hang during power collapse
by ensuring trace data is flushed and funnel port is disabled
before CPU is powered down.
Change-Id: I78907c40bcb9e237b6fa4e319013d478751f55da
Signed-off-by: Aparna Das <adas@codeaurora.org>
Debug and ETM registers do not retain their state on power collapse.
This change provides save-restore support for these registers to allow
debugging and tracing across power collapse. Add this support on ARMv8
targets.
Change-Id: I67fe7c236267ba741b3e926bd3c10658f137611c
Signed-off-by: Aparna Das <adas@codeaurora.org>
Architectural changes in the ARM Linux kernel tree requires
the removal of the mach-* directories. Move the jtag driver
to drivers/soc/qcom and the jtag header to include/soc/qcom
to support that removal.
Change-Id: Ia54ae8ab83c1a529eefc9f949f19160de531fbfb
Signed-off-by: Aparna Das <adas@codeaurora.org>