Re: [PATCH 4/7] accel/ivpu: Gracefully shutdown NPU before reset

2024-02-06 Thread Jacek Lawrynowicz
On 05.02.2024 09:39, Jacek Lawrynowicz wrote: > On 26.01.2024 19:23, Jeffrey Hugo wrote: >> On 1/26/2024 5:28 AM, Jacek Lawrynowicz wrote: >>> From: "Wachowski, Karol" >>> >>> Replace forceful disable of power domains with requests to disable >>> TOP NOC CPU_CTRL and HOSTIF_L2CACHE through QREQN.

Re: [PATCH 4/7] accel/ivpu: Gracefully shutdown NPU before reset

2024-02-05 Thread Jacek Lawrynowicz
On 26.01.2024 19:23, Jeffrey Hugo wrote: > On 1/26/2024 5:28 AM, Jacek Lawrynowicz wrote: >> From: "Wachowski, Karol" >> >> Replace forceful disable of power domains with requests to disable >> TOP NOC CPU_CTRL and HOSTIF_L2CACHE through QREQN. >> >> In case of failure retry multiple times followi

Re: [PATCH 4/7] accel/ivpu: Gracefully shutdown NPU before reset

2024-01-26 Thread Jeffrey Hugo
On 1/26/2024 5:28 AM, Jacek Lawrynowicz wrote: From: "Wachowski, Karol" Replace forceful disable of power domains with requests to disable TOP NOC CPU_CTRL and HOSTIF_L2CACHE through QREQN. In case of failure retry multiple times following HAS sequence of checking both QACCEPN and QDENYN regis

[PATCH 4/7] accel/ivpu: Gracefully shutdown NPU before reset

2024-01-26 Thread Jacek Lawrynowicz
From: "Wachowski, Karol" Replace forceful disable of power domains with requests to disable TOP NOC CPU_CTRL and HOSTIF_L2CACHE through QREQN. In case of failure retry multiple times following HAS sequence of checking both QACCEPN and QDENYN registers. This fixes VPU hangs with PCODE released i