On Sat, Jun 10, 2023 at 01:57:27PM +0300, Arınç ÜNAL wrote:
I was able to confirm all user ports of the MT7531BE switch transmit/receive
traffic to/from the SGMII CPU port and computer fine after getting rid of
priv->info->cpu_port_config().
Tried all user ports being affine to the RGMII CPU port, that works too.
https://github.com/arinc9/linux/commit/4e79313a95d45950cab526456ef0030286ba4d4e
Did you do black-box testing after removing the code, or were you
also able to independently confirm that the configurations done by
cpu_port_config() were later overwritten? I'm trying to disambiguate
between "works by coincidence" and "works because the analysis was
correct".