diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-08-12 10:00:04 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-08-12 14:14:50 -0500 |
commit | 7eb6ea4148579b85540a41d57bcec315b8af8ff8 (patch) | |
tree | ef5aeb3142492db44de106d3a27f864881795134 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e15ac2080ec2fde6ebc59f1c8afdf7c52374035e (diff) |
PCI: Fix pci_dev_str_match_path() alloc while atomic bug
pci_dev_str_match_path() is often called with a spinlock held so the
allocation has to be atomic. The call tree is:
pci_specified_resource_alignment() <-- takes spin_lock();
pci_dev_str_match()
pci_dev_str_match_path()
Fixes: 45db33709ccc ("PCI: Allow specifying devices using a base bus and path of devfns")
Link: https://lore.kernel.org/r/20210812070004.GC31863@kili
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions