2009/7/30 Mike Mason <mmlnx@xxxxxxxxxx>: > This is the third of three patches that implement a bit field that PCI > Express device drivers can use to indicate they need a fundamental reset > during error recovery. > > By default, the EEH framework on powerpc does what's known as a "hot reset" > during recovery of a PCI Express device. We've found a case where the > device needs a "fundamental reset" to recover properly. The current PCI > error recovery and EEH frameworks do not support this distinction. > > The attached patch makes changes to EEH to utilize the new bit field. > > These patches supersede the previously submitted patch that implemented a > fundamental reset bit field. > > Please review and let me know of any concerns. > > Signed-off-by: Mike Mason <mmlnx@xxxxxxxxxx> > Signed-off-by: Richard Lary <rlary@xxxxxxxxxx> Signed-off-by: Linas Vepstas <linasvepstas@xxxxxxxxx> > + /* Determine type of EEH reset required by device, > + * default hot reset or fundamental reset > + */ > + if (dev->needs_freset) > + rtas_pci_slot_reset(pdn, 3); > + else > + rtas_pci_slot_reset(pdn, 1); Gack! I remember deluges of emails and conference calls where the hardware guys went on about this; and I admit I didn't quite get it, which I guess is why this patch is showing up many years late. FWIW some of the variants of the IPR chipset almost surely need the freset bit set. --linas -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html