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

Commit 677d2d3f authored by Da Hoon Pyun's avatar Da Hoon Pyun
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 e80972da
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1269,6 +1269,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;
		}
@@ -1314,6 +1319,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;
		}