Skip to content

add phy shared storage

Michael Walle lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 7 repliesSuperseded
  3. v13 patches 1 replySuperseded

Changes in v3 from the cover letter

- restore page to standard after reading the base address in the mscc driver, thanks Antoine.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: phy: add concept of shared storage for PHYsdrivers/net/phy/mdio_bus.c drivers/net/phy/phy_device.c include/linux/phy.h+228 -00 replies
2/3net: phy: bcm54140: use phy_package_shareddrivers/net/phy/bcm54140.c+11 -460 replies
3/3net: phy: mscc: use phy_package_shareddrivers/net/phy/mscc/mscc.h drivers/net/phy/mscc/mscc_main.c+32 -700 replies

Reviews trailers per patch

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

PatchAndrew LunnFlorian FainelliVladimir Oltean
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] add phy shared storage

Introduce the concept of a shared PHY storage which can be used by some QSGMII PHYs to ease initialization and access to global per-package registers.

Changes since v2:
- restore page to standard after reading the base address in the mscc driver, thanks Antoine.

Changes since v1:
- fix typos and add a comment, thanks Florian.
- check for "addr < 0" in phy_package_join()
- remove multiple blank lines and make "checkpatch.pl --strict" happy

Changes since RFC:
- check return code of kzalloc()
- fix local variable ordering (reverse christmas tree)
- add priv_size argument to phy_package_join()
- add Tested-by tag, thanks Vladimir.

Michael Walle (3):
net: phy: add concept of shared storage for PHYs
net: phy: bcm54140: use phy_package_shared
net: phy: mscc: use phy_package_shared

 drivers/net/phy/bcm54140.c       |  57 +++----------
 drivers/net/phy/mdio_bus.c       |   1 +
 drivers/net/phy/mscc/mscc.h      |   1 -
 drivers/net/phy/mscc/mscc_main.c | 101 +++++++---------------
 drivers/net/phy/phy_device.c     | 138 +++++++++++++++++++++++++++++++
 include/linux/phy.h              |  90 ++++++++++++++++++++
 6 files changed, 271 insertions(+), 117 deletions(-)
Signature · 1 line
2.20.1