[PATCH 7/7] ppc64: EEH Halt if bad drivers spin in error condition
linas
linas at austin.ibm.com
Sat Oct 1 00:58:23 EST 2005
On Thu, Sep 29, 2005 at 11:49:09PM -0500, Doug Maxey was heard to remark:
>
> On Thu, 29 Sep 2005 20:02:28 CDT, linas wrote:
> >
> >07-eeh-spin-counter.patch
> >
> >One an EEH event is triggers, all further I/O to a device is blocked (until
> >reset). Bad device drivers may end up spinning in their interrupt handlers,
> >trying to read an interrupt status register that will never change state.
> >This patch moves that spin counter to a per-device structure, and adds
> >some diagnostic prints to help locate the bad driver.
> >
>
> Which struct gets the element?
struct pci_dn, which Paulus recently introduced; it splits off the pci
parts from struct device_node. Think of it as holding all the firmaware
and arch-specific peices that can't be jammed in the generic struct pci_dev.
--linas
More information about the Linuxppc64-dev
mailing list