drivers/octeontx2: fix recursive interrupts
authorHarman Kalra <hkalra@marvell.com>
Thu, 25 Jul 2019 10:26:54 +0000 (10:26 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jul 2019 20:18:01 +0000 (22:18 +0200)
commit9f741506f838dd25fce1cee0b904590f10f56f1e
treedb5f528b04c3cb7586905155f3c025647110cb00
parentef9f8bb6d52c1ee324e14c3a6cc7167386ac6252
drivers/octeontx2: fix recursive interrupts

In case of QINT interrupt occurrence, SW fails to clear the QINT
line resulting in recursive interrupts because currently interrupt
handler gets the cause of the interrupt by reading
NIX_LF_RQ[SQ/CQ/AURA/POOL]_OP_INT but does not write 1 to clear
RQ[SQ/CQ/ERR]_INT field in respective NIX_LF_RQ[SQ/CQ/AURA/POOL]_OP_INT
registers.

Fixes: dc47ba15f645 ("net/octeontx2: handle queue specific error interrupts")
Fixes: 50b95c3ea7af ("mempool/octeontx2: add NPA IRQ handler")

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/mempool/octeontx2/otx2_mempool_irq.c
drivers/net/octeontx2/otx2_ethdev_irq.c