Files
linux/drivers/pci
Dan Carpenter 1a091bfd11 PCI: Fix pci_dev_str_match_path() alloc while atomic bug
[ Upstream commit 7eb6ea4148 ]

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: 45db33709c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 11:48:13 +02:00
..
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2021-09-22 11:47:57 +02:00
2018-08-15 14:59:01 -05:00
2019-05-14 19:17:53 +02:00
2018-03-19 14:20:43 -05:00
2021-05-22 10:59:48 +02:00
2018-05-16 07:23:35 +02:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2018-03-19 14:20:43 -05:00