common/cnxk: enable RVUM interrupt errata
authorHarman Kalra <hkalra@marvell.com>
Tue, 21 Sep 2021 11:00:37 +0000 (16:30 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 1 Oct 2021 05:31:39 +0000 (07:31 +0200)
commitf11873922a3a8a846042251e75640b59682fee89
tree836d319e5f4c6dc814013d46d0df25948ac795e8
parent515d20195b17444262a5732831c0615146c7189c
common/cnxk: enable RVUM interrupt errata

As per an known HW issue RVUM interrupts may get dropped, If an RVUM
interrupt event occurs when PCCPF_XXX_MSIX_CAP_HDR[MSIXEN]=0 then no
interrupt is triggered, which is expected. But after MSIXEN is set to
1, subsequently if same interrupts event occurs again, still no
interrupt will be triggered.

As a workaround, all RVUM interrupt lines should be cleared between
MSIXEN=0 and MSIXEN=1.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_dev.c