From 81cf72e4ab97aa6e25a8046a206767105f56faa5 Mon Sep 17 00:00:00 2001 From: Smita Ghosh Date: Tue, 27 Sep 2022 09:29:17 -0700 Subject: [PATCH] smcinvoke: Print retry_count value This is important to estimate how long each clients are waiting for secure side. Signed-off-by: Smita Ghosh --- smcinvoke/smcinvoke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smcinvoke/smcinvoke.c b/smcinvoke/smcinvoke.c index 5aca50b447..c94a407726 100644 --- a/smcinvoke/smcinvoke.c +++ b/smcinvoke/smcinvoke.c @@ -1646,7 +1646,7 @@ static int prepare_send_scm_msg(const uint8_t *in_buf, phys_addr_t in_paddr, &response_type, &data, in_shm, out_shm); if (ret == -EBUSY) { - pr_err("Secure side is busy,will retry after 30 ms\n"); + pr_err("Secure side is busy,will retry after 30 ms, retry_count = %d",retry_count); mutex_unlock(&g_smcinvoke_lock); msleep(SMCINVOKE_SCM_EBUSY_WAIT_MS); mutex_lock(&g_smcinvoke_lock);