summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorMaciej Falkowski <maciej.falkowski@linux.intel.com>2025-04-01 18:57:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-22 15:31:57 +0300
commit17fd30647956e61b40048e9a082250bec2c5693a (patch)
treea95af2f749db95ee5c3b58017c939fa210cb68cc /scripts/gdb/linux/xarray.py
parent20a05c3a8b9c0a8913da9bd2bc3d028a7b50041c (diff)
downloadlinux-17fd30647956e61b40048e9a082250bec2c5693a.tar.xz
accel/ivpu: Flush pending jobs of device's workqueues
commit 683e9fa1c885a0cffbc10b459a7eee9df92af1c1 upstream. Use flush_work() instead of cancel_work_sync() for driver IRQ workqueues to guarantee that remaining pending work will be handled. This resolves two issues that were encountered where a driver was left in an incorrect state as the bottom-half was canceled: 1. Cancelling context-abort of a job that is still executing and is causing translation faults which is going to cause additional TDRs 2. Cancelling bottom-half of a DCT (duty-cycle throttling) request which will cause a device to not be adjusted to an external frequency request. Fixes: bc3e5f48b7ee ("accel/ivpu: Use workqueue for IRQ handling") Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com> Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://lore.kernel.org/r/20250401155755.4049156-1-maciej.falkowski@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions