]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
octeontx2-af: Use separate handlers for interrupts
authorSubbaraya Sundeep <sbhatta@marvell.com>
Mon, 18 Mar 2024 09:29:58 +0000 (14:59 +0530)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:20:12 +0000 (18:20 -0400)
commitdc29dd00705a62c77de75b6d752259b869aac49d
treee82f408c5f28334665251ba00c1f3b6f0cf466af
parent85724ee6e274e6991f7b84b029e2d574ea8ccdd8
octeontx2-af: Use separate handlers for interrupts

[ Upstream commit 50e60de381c342008c0956fd762e1c26408f372c ]

For PF to AF interrupt vector and VF to AF vector same
interrupt handler is registered which is causing race condition.
When two interrupts are raised to two CPUs at same time
then two cores serve same event corrupting the data.

Fixes: 7304ac4567bc ("octeontx2-af: Add mailbox IRQ and msg handlers")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c