forked from Minki/linux
96e4be06cb
After destroying the EQ, the object responsible for generating interrupts, call synchronize_irq() to ensure that any handler routines running on other CPU cores finish execution. Only then free the EQ buffer. This patch solves a very rare case when we get panic on driver unload. The same thing is done when we destroy a CQ which is one of the sources generating interrupts. In the case of CQ we want to avoid completion handlers on a CQ that was destroyed. In the case we do the same to avoid receiving asynchronous events after the EQ has been destroyed and its buffers freed. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
alloc.c | ||
cmd.c | ||
cq.c | ||
debugfs.c | ||
eq.c | ||
fw.c | ||
health.c | ||
Kconfig | ||
mad.c | ||
main.c | ||
Makefile | ||
mcg.c | ||
mlx5_core.h | ||
mr.c | ||
pagealloc.c | ||
pd.c | ||
port.c | ||
qp.c | ||
srq.c | ||
uar.c |