]> git.baikalelectronics.ru Git - kernel.git/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)
commit27d671ad31f04711b910ab64fb723d0eccad92ee
tree91f7a4d1ddc4cbb3b7196f50f2b4881ef78522bd
parentc265c816cd1f11248dcf5726befdf983f004294d
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