]> git.baikalelectronics.ru Git - kernel.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)
commitd8ce8343c067dc8eecafb7538c0765391ef6190e
tree3c0ec43cacc0ec7ec2eea4ea831396995bbe1d03
parent0192c751b7e5c6cb1ddf5fb24e59d601c74396b9
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