netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 net-next 0/2] update stmmac fix_mac_speed
@ 2023-08-04 14:46 Shenwei Wang
  2023-08-04 14:46 ` [PATCH v4 net-next 1/2] net: stmmac: add new mode parameter for fix_mac_speed Shenwei Wang
  2023-08-04 14:46 ` [PATCH v4 net-next 2/2] net: stmmac: dwmac-imx: pause the TXC clock in fixed-link Shenwei Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Shenwei Wang @ 2023-08-04 14:46 UTC (permalink / raw)
  To: Marc Kleine-Budde, Russell King, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Maxime Coquelin, Shawn Guo,
	Sascha Hauer, Neil Armstrong, Kevin Hilman, Vinod Koul,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Jerome Brunet, Martin Blumenstingl, Bhupesh Sharma,
	Nobuhiro Iwamatsu, Simon Horman, Andrew Halaney,
	Bartosz Golaszewski, Shenwei Wang, Wong Vee Khee,
	Revanth Kumar Uppala, Jochen Henneberg, netdev, linux-stm32,
	linux-arm-kernel, linux-kernel, linux-amlogic, imx

Changes in V4:
  - Keep the 'unsigned int' type specifier in the fix_mac_speed
    function declarations.
  - Move imx93_dwmac_fix_mac_speed into the SoC specific ops.
  - Use a read back to replace the wmb() instruction.
  - Correct the target to 'net-next'.

Changes in V3:
  - fixed the build errors reported by 'kernel test robot'.
  - Only perform clock pause in RGMII fixed-link usecase.

Changes in V2:
  - Call fix_mac_speed() with new mode parameter added.
  - reorg the function of imx_dwmac_fix_speed_mx93 by using the
    mode parameter.

Shenwei Wang (2):
  net: stmmac: add new mode parameter for fix_mac_speed
  net: stmmac: dwmac-imx: pause the TXC clock in fixed-link

 .../stmicro/stmmac/dwmac-dwc-qos-eth.c        |  2 +-
 .../net/ethernet/stmicro/stmmac/dwmac-imx.c   | 45 ++++++++++++++++++-
 .../stmicro/stmmac/dwmac-intel-plat.c         |  4 +-
 .../ethernet/stmicro/stmmac/dwmac-ipq806x.c   |  2 +-
 .../net/ethernet/stmicro/stmmac/dwmac-meson.c |  2 +-
 .../stmicro/stmmac/dwmac-qcom-ethqos.c        |  2 +-
 .../net/ethernet/stmicro/stmmac/dwmac-rk.c    |  2 +-
 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   |  2 +-
 .../ethernet/stmicro/stmmac/dwmac-starfive.c  |  2 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sunxi.c |  2 +-
 .../ethernet/stmicro/stmmac/dwmac-visconti.c  |  2 +-
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |  2 +-
 include/linux/stmmac.h                        |  2 +-
 13 files changed, 57 insertions(+), 14 deletions(-)

--
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-06  2:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 14:46 [PATCH v4 net-next 0/2] update stmmac fix_mac_speed Shenwei Wang
2023-08-04 14:46 ` [PATCH v4 net-next 1/2] net: stmmac: add new mode parameter for fix_mac_speed Shenwei Wang
2023-08-06  2:48   ` kernel test robot
2023-08-04 14:46 ` [PATCH v4 net-next 2/2] net: stmmac: dwmac-imx: pause the TXC clock in fixed-link Shenwei Wang
2023-08-04 14:56   ` Russell King (Oracle)
2023-08-04 15:08     ` [EXT] " Shenwei Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).