platform: tegra: nvadsp: add adma reg dump

Add ADMA regs as part of dump_adsp_sys() which is called
on irrecoverable errors on ADSP.

Bug 200295526

Change-Id: Iacb315d6b188d1b98085e59a86c74212246308da
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/1466422
(cherry picked from commit 4df02685ef33a9b3058d63bc1c09ceb4a726aa70)
Reviewed-on: http://git-master/r/1465573
(cherry picked from commit 83fa5779125c024dd0101215c4d37df8e89a9619)
Reviewed-on: https://git-master/r/1513584
Reviewed-on: https://git-master.nvidia.com/r/1537328
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Nitin Kumbhar
2017-04-19 16:52:43 +05:30
committed by Laxman Dewangan
parent 808af08cb9
commit 7e75728df7

View File

@@ -49,6 +49,10 @@
#include "hwmailbox.h"
#include "log_state.h"
void tegra_adma_dump_ch_reg(void)
{
}
#define NVADSP_ELF "adsp.elf"
#define NVADSP_FIRMWARE NVADSP_ELF
@@ -1286,6 +1290,7 @@ void dump_adsp_sys(void)
dump_adsp_logs();
dump_mailbox_regs();
get_adsp_state();
tegra_adma_dump_ch_reg();
print_agic_irq_states();
}
EXPORT_SYMBOL(dump_adsp_sys);