Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe1796a4 authored by Da Hoon Pyun's avatar Da Hoon Pyun Committed by Gerrit - the friendly Code Review server
Browse files

msm: npu: Add more error logs to retrieve network info



This change is to gather more information during
network transaction failure.

Change-Id: I43721388cfb9e77335c3be1f1d39e7cda395dbc8
Signed-off-by: default avatarDa Hoon Pyun <dpyun@codeaurora.org>
parent 25c4776b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1261,6 +1261,11 @@ static void app_msg_proc(struct npu_host_ctx *host_ctx, uint32_t *msg)
			NPU_ERR("execute_pkt trans_id is not match %d:%d\n",
				network->trans_id,
				exe_rsp_pkt->header.trans_id);
			NPU_ERR("execute_pkt network hdl check %d:%d\n",
				network->network_hdl,
				exe_rsp_pkt->network_hdl);
			NPU_ERR("execute_pkt network_id check %x\n",
				network->id);
			network_put(network);
			break;
		}
@@ -1306,6 +1311,11 @@ static void app_msg_proc(struct npu_host_ctx *host_ctx, uint32_t *msg)
			NPU_ERR("execute_pkt_v2 trans_id is not match %d:%d\n",
				network->trans_id,
				exe_rsp_pkt->header.trans_id);
			NPU_ERR("execute_pkt_v2 network hdl check %d:%d\n",
				network->network_hdl,
				exe_rsp_pkt->network_hdl);
			NPU_ERR("execute_pkt_v2 network id check %x\n",
				network->id);
			network_put(network);
			break;
		}