diff --git a/msm/eva/cvp_hfi.c b/msm/eva/cvp_hfi.c index 50773274cf..29fd81a99b 100644 --- a/msm/eva/cvp_hfi.c +++ b/msm/eva/cvp_hfi.c @@ -4032,8 +4032,6 @@ err_tzbsp_suspend: static void power_off_iris2(struct iris_hfi_device *device) { u32 lpi_status, reg_status = 0, count = 0, max_count = 1000; - u32 pc_ready, wfi_status, sbm_ln0_low; - u32 main_sbm_ln0_low, main_sbm_ln1_high; if (!device->power_enabled || !device->res->sw_power_collapsible) return; @@ -4060,18 +4058,24 @@ static void power_off_iris2(struct iris_hfi_device *device) "Noc: lpi_status %x noc_status %x (count %d)\n", lpi_status, reg_status, count); if (count == max_count) { + u32 pc_ready, wfi_status, sbm_ln0_low; + /*u32 main_sbm_ln0_low, main_sbm_ln1_high; */ + wfi_status = __read_register(device, CVP_WRAPPER_CPU_STATUS); pc_ready = __read_register(device, CVP_CTRL_STATUS); sbm_ln0_low = __read_register(device, CVP_NOC_SBM_SENSELN0_LOW); + /*temp commented till dependency ready*/ + /* main_sbm_ln0_low = __read_register(device, CVP_NOC_MAIN_SIDEBANDMANAGER_SENSELN0_LOW); main_sbm_ln1_high = __read_register(device, CVP_NOC_MAIN_SIDEBANDMANAGER_SENSELN1_HIGH); + */ dprintk(CVP_WARN, - "NOC not in qaccept status %x %x %x %x %x %x %x\n", + "NOC not in qaccept status %x %x %x %x %x\n", reg_status, lpi_status, wfi_status, pc_ready, - sbm_ln0_low, main_sbm_ln0_low, main_sbm_ln1_high); + sbm_ln0_low); } /* HPG 6.1.2 Step 3, debug bridge to low power BYPASSED */ diff --git a/msm/eva/cvp_hfi_io.h b/msm/eva/cvp_hfi_io.h index c83f6793e3..fb9c66d7e3 100644 --- a/msm/eva/cvp_hfi_io.h +++ b/msm/eva/cvp_hfi_io.h @@ -182,9 +182,9 @@ #define CVP_NOC_CORE_BASE_OFFS 0x00010000 #define CVP_NOC_MAIN_SIDEBANDMANAGER_SENSELN0_LOW \ - (CVP_NOC_CORE_BASE_OFFS + 0x1100) + (CVP_NOC_CORE_BASE_OFFS + 0x7100) #define CVP_NOC_MAIN_SIDEBANDMANAGER_SENSELN1_HIGH \ - (CVP_NOC_CORE_BASE_OFFS + 0x110C) + (CVP_NOC_CORE_BASE_OFFS + 0x710C) #define CVP_NOC_CORE_ERR_SWID_LOW_OFFS \ (CVP_NOC_CORE_BASE_OFFS + 0x1200) #define CVP_NOC_CORE_ERR_SWID_HIGH_OFFS \