net: enetc: remove ERR050089 workaround for i.MX95
The ERR050089 workaround causes performance degradation and potential functional issues (e.g., RCU stalls) under certain workloads. Since new SoCs like i.MX95 do not require this workaround, use a static key to compile out enetc_lock_mdio() and enetc_unlock_mdio() at runtime, improving performance and avoiding unnecessary logic. Signed-off-by:Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by:
Wei Fang <wei.fang@nxp.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please sign in to comment