pci-err-8-pci-err-event.patch [RFC] PCI Error distribution utility routine. This patch defines a utility routine that hasn't yet been discussed much on the mailing list; I've made this architecture independent with the idea that various architectures may find it handy, but its not directly required, or relevant, to the overall EEH error recovery mechanism. (It could be buried in arch-dependent code or implemented differently.) The current design has the arch dependent code detect a PCI bus error. That code uses this utility to generate a detection event. This event is then caught by PCI hotplug code, which drives the slot recovery. If the affected device drivers have recovery callbacks, these are used; all other devices are hotplugged. There are certainly other (simpler) ways to attach the arch-specific error detection code to the hot-plug mediated recovery code; this routine is rather left-over from earlier email discussions. Should this stay, or not? Signed-off-by: Linas Vepstas