]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Workaround problem of errormask register being overwritten
authorDave Olson <dave.olson@qlogic.com>
Fri, 20 Jul 2007 21:41:26 +0000 (14:41 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 30 Jul 2007 20:16:46 +0000 (13:16 -0700)
commit78d1e02fac0595a8aa8a5064d1bd0c0ea55b22b0
tree3c0ec43cacc0ec7ec2eea4ea831396995bbe1d03
parent3810f2a84e994e295e181eb9bd4b8007f611b5eb
IB/ipath: Workaround problem of errormask register being overwritten

On some system hardware, we are seeing moderately common cases of the
chip errormask register being overwritten due to a chip bug in iba6120
that is triggered by a vendor-specific PCIe broadcast message.  This
patch merely checks periodically, and corrects it if needed (the
overwrite can cause us to not get error and hardware error
interrupts).  Also, make dd->ipath_errormask the one, true canonical
source for kr_errormask, and remove references to ipath_ignorederrs as
it is currently unused.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: John Gregor <john.gregor@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_intr.c
drivers/infiniband/hw/ipath/ipath_kernel.h
drivers/infiniband/hw/ipath/ipath_stats.c