diff options
author | Iulian Olaru <[email protected]> | 2020-09-17 13:56:26 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-17 15:53:15 +0100 |
commit | 18ebffe4d043bf5f3a9b669d8d91f855bde8f6b7 (patch) | |
tree | f3a997d4ad181819419c20f3e894efdb1619394c /scripts/gdb/linux/device.py | |
parent | d70a4412e264cd8ff7a034505184c0b54876532a (diff) |
ASoC: SOF: imx: Add debug support for imx platforms
This patch adds debug support for imx platforms. This is important in
order to gather information about the state of the DSP in case of an
oops and the reason for the oops.
This is done by checking if a message with a panic code has been placed
in the debug box, in the imx8_dsp_handle_request function from sof/imx.
If positive, the function imx8_dump, added in common, will be called.
The first step is to gather information about the registers, filename,
line number and stack by calling the imx8_get_registers, added in common.
Then the information will be printed to the console by calling the
get_status function.
Signed-off-by: Iulian Olaru <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Signed-off-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions