On 7/3/23 22:33, Bernhard Beschow wrote:
Paolo, Peter: Should we switch to pci_device_reset() in pci_xen_ide_unplug()? Or is device_cold_reset() supposed to do everything?
device_cold_reset() does not reset state that is part of the bus, so I think it's consistent that it doesn't call pci_do_device_reset().
I agree that calling pci_device_reset() would be a better match for pci_xen_ide_unplug().
Paolo
