]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
IB/ehca: Filter PATH_MIG events if QP was never armed
authorJoachim Fenkes <fenkes@de.ibm.com>
Tue, 22 Jul 2008 21:18:07 +0000 (14:18 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Jul 2008 21:18:07 +0000 (14:18 -0700)
commit5b673b71c8ca0fbdb99dc1b1434cfb554212d6ff
tree6ef6d830a63e9fe417f6f05e819e5af56979d422
parentd35cb360c29956510b2fe1a953bd4968536f7216
IB/ehca: Filter PATH_MIG events if QP was never armed

Certain firmware versions sometimes cause spurious PATH_MIG events to
occur during QP creation.  Filter these events by making sure PATH_MIG
events are only handed down when they actually make sense (i.e. when
the QP has been armed at least once).

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_irq.c
drivers/infiniband/hw/ehca/ehca_qp.c