------- Comment From [email protected] 2020-05-07 09:31 EDT-------
Ok I can provide a backport.
pci_dev_is_added() was added in

44bda4b7d26e9 PCI: Fix is_added/is_busmaster race condition

It looks to me like we can just replace the call with "dev-is_added" but
I'll have to test this.

Indeed, the first patch alone fixes the original problem, the second only fixes 
a racing deadlock that could happen when /sys/bus/pci/devices/<dev>/recover 
(which previously didn't work) collides with  /sys/bus/pci/slots/<slot>/power.
This should be quite hard to hit but nevertheless I'd like this to get fixed as 
well.

------- Comment From [email protected] 2020-05-07 09:32 EDT-------
"dev->is_added" of course.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870320

Title:
  [UBUNTU 18.04] zpcictl --reset - contribution for kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1870320/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to