aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-02-13 11:42:44 +0100
committerMarc Zyngier <[email protected]>2023-02-13 19:31:24 +0000
commit3f883c38f5628f46b30bccf090faec054088e262 (patch)
treef9eaac516f5c7c2829d575db35f59d1fcf4fbf67 /scripts/gdb/linux/config.py
parentb06730a571a9ff1ba5bd6b20bf9e50e5a12f1ec6 (diff)
irqdomain: Fix disassociation race
The global irq_domain_mutex is held when mapping interrupts from non-hierarchical domains but currently not when disposing them. This specifically means that updates of the domain mapcount is racy (currently only used for statistics in debugfs). Make sure to hold the global irq_domain_mutex also when disposing mappings from non-hierarchical domains. Fixes: 9dc6be3d4193 ("genirq/irqdomain: Add map counter") Cc: [email protected] # 4.13 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