Explorar o código

msm: eva: BUG_ON in case Tensillica noc is not in LPI

If we are not getting QACCEPT from NOC LPI status for
~2s then will crash the target. No need to go further
and unload the FW.

Change-Id: I29b30ca2e4c0a98ce180df094bc8d12cf20735bf
Signed-off-by: Palak Joshi <[email protected]>
Palak Joshi hai 1 ano
pai
achega
439638488c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      msm/eva/cvp_hfi.c

+ 2 - 0
msm/eva/cvp_hfi.c

@@ -4862,6 +4862,8 @@ static void __enter_cpu_noc_lpi(struct iris_hfi_device *device)
 			__func__, lpi_status, wfi_status, pc_ready);
 
 		__print_sidebandmanager_regs(device);
+		dprintk(CVP_ERR, "%s, crashing the target\n", __func__);
+		BUG_ON(1);
 	}
 }