Skip to content

Fix hang of Armada 8040 SoC in orion-mdio

[email protected] netdev stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- fixed condition for priting the warning (Andrew Lunn)
- rephrased commit description for deferred probing (Andrew Lunn)
- fixed compiler warnings (kbuild test robot)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: allow up to four clocks for orion-mdioDocumentation/devicetree/bindings/net/marvell-orion-mdio.txt+1 -11 reply
2/4net: mvmdio: allow up to four clocks to be specified for orion-mdiodrivers/net/ethernet/marvell/mvmdio.c+1 -10 replies
3/4net: mvmdio: print warning when orion-mdio has too many clocksdrivers/net/ethernet/marvell/mvmdio.c+4 -01 reply
4/4net: mvmdio: defer probe of orion-mdio if a clock is not readydrivers/net/ethernet/marvell/mvmdio.c+5 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Fix hang of Armada 8040 SoC in orion-mdio

From: Josua Mayer <[email protected]>

With a modular kernel as configured by Debian a hang was observed with the Armada 8040 SoC in the Clearfog GT and Macchiatobin boards.

The 8040 SoC actually requires four clocks to be enabled for the mdio interface to function. All 4 clocks are already specified in armada-cp110.dtsi. It has however been missed that the orion-mdio driver only supports enabling up to three clocks.

This patch-set allows the orion-mdio driver to handle four clocks and adds a warning when more clocks are specified to prevent this particular oversight in the future.

Changes since v1:
- fixed condition for priting the warning (Andrew Lunn)
- rephrased commit description for deferred probing (Andrew Lunn)
- fixed compiler warnings (kbuild test robot)

Josua Mayer (4):
dt-bindings: allow up to four clocks for orion-mdio
net: mvmdio: allow up to four clocks to be specified for orion-mdio
net: mvmdio: print warning when orion-mdio has too many clocks
net: mvmdio: defer probe of orion-mdio if a clock is not ready

 Documentation/devicetree/bindings/net/marvell-orion-mdio.txt |  2 +-
 drivers/net/ethernet/marvell/mvmdio.c                        | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)
Signature · 1 line
2.16.4