aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2024-10-31 11:23:21 +0100
committerHans Verkuil <[email protected]>2024-11-07 09:05:58 +0100
commit1429826883bb18847092b2e04c6598ef34bae1d4 (patch)
treeb0f46756804336a936d56aed44a27aaed15be26a /tools/perf/scripts/python/sched-migration.py
parent0a33a4e050acb2b03826021ca46077cb33b5ef64 (diff)
media: intel/ipu6: do not handle interrupts when device is disabled
Some IPU6 devices have shared interrupts. We need to handle properly case when interrupt is triggered from other device on shared irq line and IPU6 itself disabled. In such case we get 0xffffffff from ISR_STATUS register and handle all irq's cases, for what we are not not prepared and usually hang the whole system. To avoid the issue use pm_runtime_get_if_active() to check if the device is enabled and prevent suspending it when we handle irq until the end of irq. Additionally use synchronize_irq() in suspend Fixes: ab29a2478e70 ("media: intel/ipu6: add IPU6 buttress interface driver") Cc: [email protected] Signed-off-by: Stanislaw Gruszka <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Tested-by: Hans de Goede <[email protected]> # ThinkPad X1 Yoga Gen 8, ov2740 Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions