aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/controller/dwc/pcie-qcom-common.c
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2025-08-26 10:52:09 +0200
committerBjorn Helgaas <bhelgaas@google.com>2025-09-26 16:01:17 -0500
commit60e7b5aa85712f7f2fc75b2e9d28444de88ab47f (patch)
tree807b7d3a7d97d934af13f69b77f0c8370f6c0483 /drivers/pci/controller/dwc/pcie-qcom-common.c
parentPCI/IOV: Add PCI rescan-remove locking when enabling/disabling SR-IOV (diff)
downloadwireguard-linux-60e7b5aa85712f7f2fc75b2e9d28444de88ab47f.tar.xz
wireguard-linux-60e7b5aa85712f7f2fc75b2e9d28444de88ab47f.zip
PCI: Add lockdep assertion in pci_stop_and_remove_bus_device()
Removing a PCI devices requires holding pci_rescan_remove_lock. Prompted by this being missed in sriov_disable() and going unnoticed since its inception, add a lockdep assert so this doesn't get missed again in the future. Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Reviewed-by: Julian Ruess <julianr@linux.ibm.com> Link: https://patch.msgid.link/20250826-pci_fix_sriov_disable-v1-2-2d0bc938f2a3@linux.ibm.com
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions