public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] accel/ivpu: Increase state dump msg timeout
@ 2025-04-25  9:28 Jacek Lawrynowicz
  2025-04-25 17:09 ` Jeff Hugo
  2025-04-30  9:54 ` Jacek Lawrynowicz
  0 siblings, 2 replies; 3+ messages in thread
From: Jacek Lawrynowicz @ 2025-04-25  9:28 UTC (permalink / raw)
  To: dri-devel; +Cc: quic_jhugo, lizhi.hou, Jacek Lawrynowicz, stable

Increase JMS message state dump command timeout to 100 ms. On some
platforms, the FW may take a bit longer than 50 ms to dump its state
to the log buffer and we don't want to miss any debug info during TDR.

Fixes: 5e162f872d7a ("accel/ivpu: Add FW state dump on TDR")
Cc: <stable@vger.kernel.org> # v6.13+
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
---
 drivers/accel/ivpu/ivpu_hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/accel/ivpu/ivpu_hw.c b/drivers/accel/ivpu/ivpu_hw.c
index ec9a3629da3a9..633160470c939 100644
--- a/drivers/accel/ivpu/ivpu_hw.c
+++ b/drivers/accel/ivpu/ivpu_hw.c
@@ -119,7 +119,7 @@ static void timeouts_init(struct ivpu_device *vdev)
 		else
 			vdev->timeout.autosuspend = 100;
 		vdev->timeout.d0i3_entry_msg = 5;
-		vdev->timeout.state_dump_msg = 10;
+		vdev->timeout.state_dump_msg = 100;
 	}
 }
 
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] accel/ivpu: Increase state dump msg timeout
  2025-04-25  9:28 [PATCH] accel/ivpu: Increase state dump msg timeout Jacek Lawrynowicz
@ 2025-04-25 17:09 ` Jeff Hugo
  2025-04-30  9:54 ` Jacek Lawrynowicz
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Hugo @ 2025-04-25 17:09 UTC (permalink / raw)
  To: Jacek Lawrynowicz, dri-devel; +Cc: lizhi.hou, stable

On 4/25/2025 3:28 AM, Jacek Lawrynowicz wrote:
> Increase JMS message state dump command timeout to 100 ms. On some
> platforms, the FW may take a bit longer than 50 ms to dump its state
> to the log buffer and we don't want to miss any debug info during TDR.
> 
> Fixes: 5e162f872d7a ("accel/ivpu: Add FW state dump on TDR")
> Cc: <stable@vger.kernel.org> # v6.13+
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>

Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>

As a side note, my email address changed a little bit ago, but I suspect 
you are not aware as I'm still getting patches addressed to my old 
address.  While I still have access to the old address, I'm not entirely 
sure how long that will last and I'd like to avoid missing anything.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] accel/ivpu: Increase state dump msg timeout
  2025-04-25  9:28 [PATCH] accel/ivpu: Increase state dump msg timeout Jacek Lawrynowicz
  2025-04-25 17:09 ` Jeff Hugo
@ 2025-04-30  9:54 ` Jacek Lawrynowicz
  1 sibling, 0 replies; 3+ messages in thread
From: Jacek Lawrynowicz @ 2025-04-30  9:54 UTC (permalink / raw)
  To: dri-devel; +Cc: quic_jhugo, lizhi.hou, stable

Applied to drm-misc-fixes

On 4/25/2025 11:28 AM, Jacek Lawrynowicz wrote:
> Increase JMS message state dump command timeout to 100 ms. On some
> platforms, the FW may take a bit longer than 50 ms to dump its state
> to the log buffer and we don't want to miss any debug info during TDR.
> 
> Fixes: 5e162f872d7a ("accel/ivpu: Add FW state dump on TDR")
> Cc: <stable@vger.kernel.org> # v6.13+
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
> ---
>  drivers/accel/ivpu/ivpu_hw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/accel/ivpu/ivpu_hw.c b/drivers/accel/ivpu/ivpu_hw.c
> index ec9a3629da3a9..633160470c939 100644
> --- a/drivers/accel/ivpu/ivpu_hw.c
> +++ b/drivers/accel/ivpu/ivpu_hw.c
> @@ -119,7 +119,7 @@ static void timeouts_init(struct ivpu_device *vdev)
>  		else
>  			vdev->timeout.autosuspend = 100;
>  		vdev->timeout.d0i3_entry_msg = 5;
> -		vdev->timeout.state_dump_msg = 10;
> +		vdev->timeout.state_dump_msg = 100;
>  	}
>  }
>  


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-30  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  9:28 [PATCH] accel/ivpu: Increase state dump msg timeout Jacek Lawrynowicz
2025-04-25 17:09 ` Jeff Hugo
2025-04-30  9:54 ` Jacek Lawrynowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox