Re: [PATCH] media: qcom: iris: add firmware debug logging support
From: Renjiang Han
Date: Wed Sep 02 2026 - 00:31:09 EST
On 9/2/2026 12:15 PM, Vishnu Reddy wrote:
On 9/2/2026 9:32 AM, Renjiang Han wrote:If this level is not enabled, it will not introduce any performance
On 9/1/2026 12:13 PM, Vishnu Reddy wrote:It's better to include it in this patch, since this change can directly trigger
Setting the firmware log level to 0x0000003f may cause hardware responseYes, but this patch is for fw log feature, response timeout value is
timeouts due to excessive serial logging. HW_RESPONSE_TIMEOUT_VALUE should
be increased accordingly.
performance issue.
I think we'd better use another patch to fix it. What do you think of it?
response timeouts when high FW log levels are enabled.
impact. Even when enabled, any performance overhead caused by the
logging at this level would only occur during debugging.
However, without the current patch, the functionality of the Iris
driver is incomplete. When a firmware issue occurs, there is essentially
no way to perform root cause analysis or identify the problem. Therefore,
this patch is necessary to ensure proper debugging and issue localization
when firmware-related problems are encountered.
--
Best regards,
Renjiang Han