Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common/cnxk: reset stale values on error debug registers
[ upstream commit 9b7198e ] LF's error debug registers like NIX_LF_SQ_OP_ERR_DBG, NIX_LF_MNQ_ERR_DBG, NIX_LF_SEND_ERR_DBG captures debug info for an error detected during LMT operation or meta enqueue or after meta enqueue granted respectively. HW sets a valid bit when info is captured and SW is expected to clear this valid bit by writing 1, else these registers will show stale values of first interrupt when occurred and will never update with subsequent interrupts. Fixes: f6d567b ("common/cnxk: support NIX IRQ") Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
- Loading branch information