Skip to content

Commit 9ae13b2

Browse files
claudiu-mkuba-moo
authored andcommitted
net: enetc: Remove CBDR cacheability AXI settings for ENETC v4
For ENETC v4 these settings are controlled by the global ENETC command cache attribute registers (EnCAR), from the IERB register block. The hardcoded CDBR cacheability settings were inherited from LS1028A, and should be removed from the ENETC v4 driver as they conflict with the global IERB settings. Fixes: e3f4a0a ("net: enetc: add command BD ring support for i.MX95 ENETC") Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Reviewed-by: Wei Fang <wei.fang@nxp.com> Link: https://patch.msgid.link/20260130141035.272471-3-claudiu.manoil@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent a69c172 commit 9ae13b2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/freescale/enetc/enetc_cbdr.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ int enetc4_setup_cbdr(struct enetc_si *si)
7474
if (!user->ring)
7575
return -ENOMEM;
7676

77-
/* set CBDR cache attributes */
78-
enetc_wr(hw, ENETC_SICAR2,
79-
ENETC_SICAR_RD_COHERENT | ENETC_SICAR_WR_COHERENT);
80-
8177
regs.pir = hw->reg + ENETC_SICBDRPIR;
8278
regs.cir = hw->reg + ENETC_SICBDRCIR;
8379
regs.mr = hw->reg + ENETC_SICBDRMR;

0 commit comments

Comments
 (0)