tegra: dce: Add debugfs node to show boot status

This patch adds a debugfs node to show DCE boot status.

It also adds following dce boot marker in logs
  - DCE_BOOT_DONE
  - DCE_BOOT_FAILED

JIRA TDS-5691

Change-Id: Iada5c1234e5e5f1a5e7afd88dcb94c2da6a3fe1c
Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-t23x/+/2361287
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Arun Swain <arswain@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Santosh Galma <galmar@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Mahesh Kumar
2020-06-16 06:21:38 +05:30
committed by Laxman Dewangan
parent 91c35f09be
commit dc3e980731
8 changed files with 196 additions and 18 deletions

View File

@@ -41,6 +41,7 @@ typedef uint32_t hsp_sema_t;
#define DCE_WAIT_DEBUG DCE_BIT(30) // wait in debug loop
#define DCE_SC7_RESUME DCE_BIT(29) // resume using saved SC7 state
// rather than a full restart
#define DCE_OS_BITMASK (DCE_BOOT_INT | DCE_WAIT_DEBUG | DCE_SC7_RESUME)
/*
* Bits set by the R5 and examined by the OS