]> err.no Git - linux-2.6/commit
IB/ipath: Remove unsafe fastrcvint code from interrupt handler
authorDave Olson <dave.olson@qlogic.com>
Fri, 20 Jul 2007 19:50:55 +0000 (12:50 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 30 Jul 2007 20:16:45 +0000 (13:16 -0700)
commitf17fddc9e266281bbb4d384b031e1521e1f2510e
tree91f7a4d1ddc4cbb3b7196f50f2b4881ef78522bd
parent1655fc2e12ed7d208403c043428291b83aa833bb
IB/ipath: Remove unsafe fastrcvint code from interrupt handler

The fastrcvint code's purpose was to avoid reading the interrupt
status if kernel packets were in the receive queue (to reduce
overhead).  Because intstatus was not read, we could miss the error
interrupt bit indicating freeze mode, since it only delivers a single
interrupt, even if still pending after intclear is written.

This patch removes that unsafe optimization.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_common.h
drivers/infiniband/hw/ipath/ipath_intr.c