From 439638488c85ff1ee6354a7259683187ecb6b1d0 Mon Sep 17 00:00:00 2001 From: Palak Joshi Date: Wed, 22 Nov 2023 18:57:58 +0530 Subject: [PATCH] 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 --- msm/eva/cvp_hfi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msm/eva/cvp_hfi.c b/msm/eva/cvp_hfi.c index cec6d9e967..4b46e4304a 100644 --- a/msm/eva/cvp_hfi.c +++ b/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); } }