platform: nvadsp: add dfs comm logs

Add messages for logs added on adsp for dfs mailbox
communication.

Bug 200295526

Change-Id: I19048f755578359a673d164be3d4f5601cb82634
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/1496891
(cherry picked from commit 06fec301a0d744108ac890a87bd187efd956a688)
Reviewed-on: https://git-master/r/1513589
Reviewed-on: https://git-master.nvidia.com/r/1537333
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Nitin Kumbhar
2017-06-06 17:52:05 +05:30
committed by Laxman Dewangan
parent da4867a93c
commit 5711c0800c
2 changed files with 8 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ ENUM_VALUE(ADSP_RESUME_ARAM_RESTORED, 0x333)
ENUM_VALUE(ADSP_RESUME_COMPLETE, 0x334)
ENUM_VALUE(ADSP_WFI_ENTER, 0x335)
ENUM_VALUE(ADSP_WFI_EXIT, 0x336)
ENUM_VALUE(ADSP_DFS_MBOX_RECV, 0x337)
ENUM_VALUE(ADSP_DFS_MBOX_SENT, 0x338)
ENUM_END(adsp_state)

View File

@@ -1332,6 +1332,12 @@ static void get_adsp_state(void)
case ADSP_WFI_EXIT:
msg = "WFI: Exiting WFI, Failed to Enter";
break;
case ADSP_DFS_MBOX_RECV:
msg = "DFS: mbox received";
break;
case ADSP_DFS_MBOX_SENT:
msg = "DFS: mbox sent";
break;
default:
msg = "Unrecognized ADSP state!!";
break;