Hello Luis, Hello Bjorn, Interesting timing, I currently have a very similar patch lying around though with also exporting pci_dev_lock(). I'm planning to use that for upcoming support of automatic PCI devices recovery on s390x following the Documentation/PCI/pci-error-recovery.rst recovery flow. There too exprting these functions would make the code simpler to grok in my opinion. So if Bjorn accepts this there could soon be another user, not sure if one would want to then already export pci_dev_lock() too or wait until my patches so it's not exported without users. Best regards, Niklas Schnelle