Merge "msm: cvp: Avoid interrupting FW after WFI"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
b9eddedc29
@@ -2452,6 +2452,8 @@ static int __power_collapse(struct iris_hfi_device *device, bool force)
|
||||
else if (rc)
|
||||
goto skip_power_off;
|
||||
|
||||
__flush_debug_queue(device, device->raw_packet);
|
||||
|
||||
pc_ready = __read_register(device, CVP_CTRL_STATUS) &
|
||||
CVP_CTRL_STATUS_PC_READY;
|
||||
if (!pc_ready) {
|
||||
@@ -2506,8 +2508,6 @@ static int __power_collapse(struct iris_hfi_device *device, bool force)
|
||||
}
|
||||
}
|
||||
|
||||
__flush_debug_queue(device, device->raw_packet);
|
||||
|
||||
rc = __suspend(device);
|
||||
if (rc)
|
||||
dprintk(CVP_ERR, "Failed __suspend\n");
|
||||
|
@@ -1315,8 +1315,9 @@ int msm_cvp_noc_error_info(struct msm_cvp_core *core)
|
||||
|
||||
last_fault_count = core->smmu_fault_count;
|
||||
core->ssr_count++;
|
||||
dprintk(CVP_ERR, "cvp ssr count %d %d\n", core->ssr_count,
|
||||
core->resources.max_ssr_allowed);
|
||||
dprintk(CVP_ERR, "cvp ssr count %d %d %d\n", core->ssr_count,
|
||||
core->resources.max_ssr_allowed,
|
||||
core->smmu_fault_count);
|
||||
hdev = core->device;
|
||||
call_hfi_op(hdev, noc_error_info, hdev->hfi_device_data);
|
||||
|
||||
|
Reference in New Issue
Block a user