Re: [PATCH V5 2/9] firmware: imx: scu: increase RPC timeout

From: Shawn Guo
Date: Sun Aug 06 2023 - 22:27:45 EST


On Mon, Jul 31, 2023 at 05:04:42PM +0800, Peng Fan (OSS) wrote:
> From: Dong Aisheng <aisheng.dong@xxxxxxx>
>
> When system loading is high, we can met some command timeout

s/met/meet

> issue occasionaly, so increase the timeout to a more safe value.

s/occasionaly/occasionally

Shawn

>
> Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> ---
> drivers/firmware/imx/imx-scu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/imx/imx-scu.c b/drivers/firmware/imx/imx-scu.c
> index 2d24359420d8..14ff9d3504bf 100644
> --- a/drivers/firmware/imx/imx-scu.c
> +++ b/drivers/firmware/imx/imx-scu.c
> @@ -20,7 +20,7 @@
> #include <linux/platform_device.h>
>
> #define SCU_MU_CHAN_NUM 8
> -#define MAX_RX_TIMEOUT (msecs_to_jiffies(30))
> +#define MAX_RX_TIMEOUT (msecs_to_jiffies(3000))
>
> struct imx_sc_chan {
> struct imx_sc_ipc *sc_ipc;
> --
> 2.37.1
>