diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-14 11:25:32 +0300 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2024-10-25 16:58:18 +0300 |
commit | 10b8a0cc84d28decb75bfc91f4395e176228a4ff (patch) | |
tree | 598ba9853313b73883d7f6d788d8d700aa09c390 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) | |
download | linux-10b8a0cc84d28decb75bfc91f4395e176228a4ff.tar.xz |
soc: ti: knav_qmss_queue: Use IRQF_NO_AUTOEN flag in request_irq()
As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
said, reqeust_irq() and then disable_irq() is unsafe. In the small time gap
between request_irq() and disable_irq(), interrupts can still come.
IRQF_NO_AUTOEN flag can be used by drivers to request_irq(). It prevents
the automatic enabling of the requested interrupt in the same
safe way. With that the usage can be simplified and corrected.
Compile-tested only.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240914082532.344456-1-ruanjinjie@huawei.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions