diff options
author | Johan Hovold <[email protected]> | 2023-02-13 11:42:43 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-02-13 19:31:24 +0000 |
commit | b06730a571a9ff1ba5bd6b20bf9e50e5a12f1ec6 (patch) | |
tree | f3fdbc115004bf5965ad48dec74a9e12bf824340 /scripts/gdb/linux/config.py | |
parent | 5dc4c995db9eb45f6373a956eb1f69460e69e6d4 (diff) |
irqdomain: Fix association race
The sanity check for an already mapped virq is done outside of the
irq_domain_mutex-protected section which means that an (unlikely) racing
association may not be detected.
Fix this by factoring out the association implementation, which will
also be used in a follow-on change to fix a shared-interrupt mapping
race.
Fixes: ddaf144c61da ("irqdomain: Refactor irq_domain_associate_many()")
Cc: [email protected] # 3.11
Tested-by: Hsin-Yi Wang <[email protected]>
Tested-by: Mark-PK Tsai <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions