diff options
| author | Keith Busch <kbusch@kernel.org> | 2026-01-30 08:59:51 -0800 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-02-06 16:53:27 -0600 |
| commit | 1f5e57c622b4dc9b8e7d291d560138d92cfbe5bf (patch) | |
| tree | 7076eae7af9a31dbbabd59fdec94f5b9047fc3ec /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 9368d1ee62829b08aa31836b3ca003803caf0b72 (diff) | |
PCI: Fix pci_slot_lock () device locking
Like pci_bus_lock(), pci_slot_lock() needs to lock the bridge device to
prevent warnings like:
pcieport 0000:e2:05.0: unlocked secondary bus reset via: pciehp_reset_slot+0x55/0xa0
Take and release the lock for the bridge providing the slot for the
lock/trylock and unlock routines.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://patch.msgid.link/20260130165953.751063-3-kbusch@meta.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
