]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: eq: Avoid enabling interrupts on TSU EQs until the initialization is complete
authorKnut Omang <knut.omang@oracle.com>
Mon, 18 Jul 2016 11:30:01 +0000 (13:30 +0200)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 27 Jul 2016 17:24:21 +0000 (10:24 -0700)
commit72f5f2a78eebc52d567d4daa39a8bba431942846
tree4f88c68911c81a043d6a1084885af1fa9cd5899b
parent419a5dfc85fdf480ec184d41f7c56c597659ba25
sif: eq: Avoid enabling interrupts on TSU EQs until the initialization is complete

During driver load we might have some rare conditions where external events
are occuring before the driver is ready to accept them. The hardware workarounds
to handle issues with QP flushing are particularly sensitive to this.

Delay enabling of the IRQs that can generate interrupts for all
event queues except the EPS event queue(s) until everything is set up and ready.

Note that this commit will also implicitly cause interrupts for EQs 1-3 for each EPSA
not to be enabled. This is no big deal as they are currently not used anyway.

Orabug: 24296729

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
drivers/infiniband/hw/sif/sif_dev.h
drivers/infiniband/hw/sif/sif_eq.c
drivers/infiniband/hw/sif/sif_eq.h
drivers/infiniband/hw/sif/sif_main.c