forked from Minki/linux
da995d538d
This is done by adding a zpci_hot_reset_device() call which does a low level reset of the PCI function without changing its higher level function state. This way it can be used while the zPCI function is bound to a driver and with DMA tables being controlled either through the IOMMU or DMA APIs which is prohibited when using zpci_disable_device() as that drop existing DMA translations. As this reset, unlike a normal FLR, also calls zpci_clear_irq() we need to implement arch_restore_msi_irqs() and make sure we re-enable IRQs for the PCI function if they were previously disabled. Reviewed-by: Pierre Morel <pmorel@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> |
||
---|---|---|
.. | ||
Makefile | ||
pci_bus.c | ||
pci_bus.h | ||
pci_clp.c | ||
pci_debug.c | ||
pci_dma.c | ||
pci_event.c | ||
pci_insn.c | ||
pci_iov.c | ||
pci_iov.h | ||
pci_irq.c | ||
pci_mmio.c | ||
pci_sysfs.c | ||
pci.c |