We want more control over what kind of reset PCI core can apply. Have the application explicitly requested allowed reset types. differences from v1: Add reset type to pci_reset_bus() per feedbeck from Alex. Sinan Kaya (6): PCI: Expose reset_type to users of __pci_reset_function_locked() PCI: Expose reset_type to users of pci_reset_function() PCI: Expose reset_type to users of pci_reset_function_locked() PCI: Expose reset type to users of pci_try_reset_function() PCI: Expose reset type to users of pci_probe_reset_function() PCI: Expose reset type to users of pci_reset_bus() drivers/hid/intel-ish-hid/ipc/ipc.c | 2 +- drivers/misc/genwqe/card_base.c | 2 +- .../net/ethernet/cavium/liquidio/lio_main.c | 2 +- .../net/ethernet/qlogic/qlcnic/qlcnic_ctx.c | 2 +- drivers/net/ethernet/sfc/mcdi.c | 2 +- drivers/pci/pci-sysfs.c | 2 +- drivers/pci/pci.c | 134 ++++++++++++------ drivers/pci/pci.h | 2 +- drivers/pci/probe.c | 2 +- drivers/vfio/pci/vfio_pci.c | 11 +- drivers/vfio/pci/vfio_pci_config.c | 4 +- drivers/xen/xen-pciback/pci_stub.c | 6 +- include/linux/pci.h | 21 ++- 13 files changed, 126 insertions(+), 66 deletions(-) -- 2.18.0