[PATCH V2] accel/amdxdna: Check interrupt register before mailbox_rx_worker exits
Mario Limonciello
mario.limonciello at amd.com
Thu Feb 27 15:00:32 UTC 2025
On 2/27/2025 02:36, Jacek Lawrynowicz wrote:
> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>
>
> On 2/26/2025 5:18 PM, Lizhi Hou wrote:
>> There is a timeout failure been found during stress tests. If the firmware
>> generates a mailbox response right after driver clears the mailbox channel
>> interrupt register, the hardware will not generate an interrupt for the
>> response. This causes the unexpected mailbox command timeout.
>>
>> To handle this failure, driver checks the interrupt register before
>> exiting mailbox_rx_worker(). If there is a new response, driver goes back
>> to process it.
>>
>> Signed-off-by: Lizhi Hou <lizhi.hou at amd.com>
>> ---
Applied to drm-misc-next.
cd740b873f8f6 accel/amdxdna: Check interrupt register before
mailbox_rx_worker exits
More information about the dri-devel
mailing list