linux_dsm_epyc7002/drivers/net/ethernet/marvell
Russell King 6791c10260 net: mvpp2: cycle comphy to power it down
Presently, at boot time, the comphys are enabled. For firmware
compatibility reasons, the comphy driver does not power down the
comphys at boot. Consequently, the ethernet comphys are left active
until the network interfaces are brought through an up/down cycle.

If the port is never used, the port wastes power needlessly. Arrange
for the ethernet comphys to be cycled by the mvpp2 driver as if the
interface went through an up/down cycle during driver probe, thereby
powering them down.

This saves:
  270mW per 10G SFP+ port on the Macchiatobin Single Shot (eth0/eth1)
  370mW per 10G PHY port on the Macchiatobin Double Shot (eth0/eth1)
  160mW on the SFP port on either Macchiatobin flavour (eth3)

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-19 17:27:29 -08:00
..
mvpp2 net: mvpp2: cycle comphy to power it down 2019-12-19 17:27:29 -08:00
octeontx2 octeontx2-af: Fix uninitialized variable in debugfs 2019-11-21 11:42:19 -08:00
Kconfig net: mvneta: introduce page pool API for sw buffer manager 2019-10-21 10:36:07 -07:00
Makefile octeontx2-af: Add Marvell OcteonTX2 RVU AF driver 2018-10-10 10:06:01 -07:00
mv643xx_eth.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
mvmdio.c drivers/net/ethernet/marvell/mvmdio.c: Fix non OF case 2019-08-05 13:30:48 -07:00
mvneta_bm.c net: mvneta: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:52:33 -07:00
mvneta_bm.h net: mvneta: make stub functions static inline 2019-10-25 16:21:48 -07:00
mvneta.c net: phylink: rename mac_link_state() op to mac_pcs_get_state() 2019-11-23 16:13:39 -08:00
pxa168_eth.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
skge.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
skge.h
sky2.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
sky2.h