linux-kernelorg-stable/drivers/net/dsa/b53
Jonas Gorski 3fbe3f4c57 net: dsa: b53: do not enable EEE on bcm63xx
commit 1237c2d4a8 upstream.

BCM63xx internal switches do not support EEE, but provide multiple RGMII
ports where external PHYs may be connected. If one of these PHYs are EEE
capable, we may try to enable EEE for the MACs, which then hangs the
system on access of the (non-existent) EEE registers.

Fix this by checking if the switch actually supports EEE before
attempting to configure it.

Fixes: 22256b0afb ("net: dsa: b53: Move EEE functions to b53")
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Link: https://patch.msgid.link/20250602193953.1010487-2-jonas.gorski@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-09 18:58:20 +02:00
..
Kconfig
Makefile
b53_common.c net: dsa: b53: do not enable EEE on bcm63xx 2025-09-09 18:58:20 +02:00
b53_mdio.c
b53_mmap.c
b53_priv.h net: dsa: b53/bcm_sf2: implement .support_eee() method 2025-09-09 18:58:19 +02:00
b53_regs.h net: dsa: b53: fix IP_MULTICAST_CTRL on BCM5325 2025-08-20 18:30:40 +02:00
b53_serdes.c
b53_serdes.h
b53_spi.c
b53_srab.c