Searched hist:a9045c2210448473a321a8bf266541e5644aaae2 (Results 1 – 1 of 1) sorted by relevance
/linux/arch/s390/pci/ |
H A D | pci.c | diff a9045c2210448473a321a8bf266541e5644aaae2 Fri Mar 05 14:32:02 CET 2021 Niklas Schnelle <schnelle@linux.ibm.com> s390/pci: deconfigure device on release
When zpci_release_device() is called on a zPCI function that is still configured it would not be deconfigured. Until now this hasn't caused any problems because zpci_zdev_put() is only ever called for devices in Standby or Reserved. Fix it by adding sclp_pci_deconfigure() to the switch when in Configured state.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
|