summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-adp5588.c
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-02-26 08:18:10 -0800
committerMario Limonciello <mario.limonciello@amd.com>2025-02-27 08:41:46 -0600
commitcd740b873f8f6f5f4558723241ba9c09eb36d0ba (patch)
tree6c71ff28f8e6bdec7f7b384c61bfb98f245c9c9f /drivers/gpio/gpio-adp5588.c
parent4444e4d789d64f053435713e5984f0ef31a7633b (diff)
accel/amdxdna: Check interrupt register before mailbox_rx_worker exitsHEADfor-linux-nextdrm-misc-next
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@amd.com> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250226161810.4188334-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/gpio/gpio-adp5588.c')
0 files changed, 0 insertions, 0 deletions