OSDN Git Service

octeontx2-af: cn10k: Use FLIT0 register instead of FLIT1
authorGeetha sowjanya <gakula@marvell.com>
Sun, 22 Aug 2021 12:02:27 +0000 (17:32 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Aug 2021 20:38:16 +0000 (21:38 +0100)
commit623da5ca70b70f01cd483585f5cd4c463cf2f2da
treeedaccde81c6436c3bf17b10c58470901342b09ae
parente7938365459f3a6d4edf212f435c4ad635621450
octeontx2-af: cn10k: Use FLIT0 register instead of FLIT1

RVU SMMU widget stores the final translated PA at
RVU_AF_SMMU_TLN_FLIT0<57:18> instead of FLIT1 register. This patch
fixes the address translation logic to use the correct register.

Fixes: 893ae97214c3 ("octeontx2-af: cn10k: Support configurable LMTST regions")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h