aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2023-02-20 19:01:01 +0000
committerThomas Gleixner <[email protected]>2023-02-20 22:29:54 +0100
commit0af2795f936f1ea1f9f1497447145dfcc7ed2823 (patch)
tree34f8f58dafce13a36072f518cd14f7ce02733743 /tools/perf/scripts/python/flamegraph.py
parentfeabecaff5902f896531dde90646ca5dfa9d4f7d (diff)
genirq/msi: Take the per-device MSI lock before validating the control structure
Calling msi_ctrl_valid() ultimately results in calling msi_get_device_domain(), which requires holding the device MSI lock. However, in msi_domain_populate_irqs() the lock is taken right after having called msi_ctrl_valid(), which is just a tad too late. Take the lock before invoking msi_ctrl_valid(). Fixes: 40742716f294 ("genirq/msi: Make msi_add_simple_msi_descs() device domain aware") Reported-by: "Russell King (Oracle)" <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Russell King (Oracle) <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/Y/Opu6ETe3ZzZ/[email protected] Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions