octeontx2-af: cn10kb: fix interrupt csr addresses
authorHariprasad Kelam <hkelam@marvell.com>
Fri, 30 Jun 2023 06:28:42 +0000 (11:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Jul 2023 14:47:18 +0000 (15:47 +0100)
commit4c5a331cacda995e995a7857f0e44e8937d98d2c
tree273d3d568a6ffda8b5a5dbc781d9890e205d6b75
parentc97d3fb9e0e716b77d5c0d3051d46e2f41dc6fe4
octeontx2-af: cn10kb: fix interrupt csr addresses

The current design is that, for asynchronous events like link_up and
link_down firmware raises the interrupt to kernel. The previous patch
which added RPM_USX driver has a bug where it uses old csr addresses
for configuring interrupts. Which is resulting in losing interrupts
from source firmware.

This patch fixes the issue by correcting csr addresses.

Fixes: b9d0fedc6234 ("octeontx2-af: cn10kb: Add RPM_USX MAC support")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rpm.c
drivers/net/ethernet/marvell/octeontx2/af/rpm.h