diff options
author | Sibi Sankar <quic_sibis@quicinc.com> | 2024-06-24 12:22:13 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-06-26 07:22:43 +0300 |
commit | dc18836435e7f8dda019db2c618c69194933157f (patch) | |
tree | 9bbd99ddff2b1f134a2172e8dd3d12893d47e30c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 530c66142ec4871f71cf1d19e101426bd53e42dd (diff) | |
download | linux-dc18836435e7f8dda019db2c618c69194933157f.tar.xz |
soc: qcom: icc-bwmon: Allow for interrupts to be shared across instances
The multiple BWMONv4 instances available on the X1E80100 SoC use the
same interrupt number. Mark them are shared to allow for re-use across
instances.
Using IRQF_SHARED coupled with devm_request_threaded_irq implies that
the irq can still trigger during/after bwmon_remove due to other active
bwmon instances. Handle this race by relying on bwmon_disable to disable
the interrupt and coupled with explicit request/free irqs.
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240624092214.146935-4-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions