소스 검색

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 1 년 전
부모
커밋
439638488c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);
 	}
 }