coresight: cpu-debug: Add support to dump PMPCSR
commit f5f4a285b3fe4c6dc29b1617333510f67bce62d3 from git@git.assembla.com:cavium/WindRiver.linux.git For ARM cores implementing FEAT_PCSRv8p2, the PC Sample-based profiling registers are implemented the External PMU register space. Hence, detect this feature and read PCSR accordingly. Also introduce a new API, print_arch_cpu_state() which prints the PC value along with execution state. Thi can be used by other modules in the kernel for debugging purposes. Change-Id: Ia73dd0e733b24f84770934ca2f31a81ee0f4197b Signed-off-by:Suman Ghosh <sumang@marvell.com> Signed-off-by:
Tanmay Jagdale <tanmay@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/102608 Reviewed-by:
Linu Cherian <lcherian@marvell.com> Tested-by:
Linu Cherian <lcherian@marvell.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment