add hwtstamp_get callback to phy drivers
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest7 patches 1 replyApplied 7/7
- v47 patches 2 repliesSuperseded
- v39 patches 14 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 9 patches | 12 replies | Superseded | |
| v1 | 8 patches | 1 reply | Superseded |
Changes in v5 from the cover letter
* adjust comment about dev_get_hwtstamp_phylib() regarding new callback v3 -> v4:
* drop patches 5 and 6 from previous version as these drivers need logic upgrade to report configuration correctly. I'll send these updates as separate patchset
Patches in v5 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | phy: rename hwtstamp callback to hwtstamp_setdrivers/ drivers/ drivers/ +8 more | +46 | 0 replies | Applied |
| 2/7 | phy: add hwtstamp_get callback to phy driversdrivers/ include/ net/ | +13 | 0 replies | Applied |
| 3/7 | net: phy: broadcom: add HW timestamp configuration reportingdrivers/ | +13 | 1 reply | Applied |
| 4/7 | net: phy: dp83640: add HW timestamp configuration reportingdrivers/ | +17 | 0 replies | Applied |
| 5/7 | phy: mscc: add HW timestamp configuration reportingdrivers/ | +13 | 0 replies | Applied |
| 6/7 | net: phy: nxp-c45-tja11xx: add HW timestamp configuration reportingdrivers/ | +14 | 0 replies | Applied |
| 7/7 | ptp: ptp_ines: add HW timestamp configuration reportingdrivers/ | +23 | 0 replies | Applied |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Russell King (Oracle) | Kory Maincent | Andrew Lunn | Florian Fainelli |
|---|---|---|---|---|
| 1/7 | R-b | R-b | R-b | |
| 2/7 | R-b | R-b | ||
| 3/7 | R-b | R-b | ||
| 4/7 | R-b | |||
| 5/7 | R-b | |||
| 6/7 | R-b | |||
| 7/7 | R-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 4 reviewers.
Cover letter [PATCH net-next v5 0/7] add hwtstamp_get callback to phy drivers
PHY drivers are able to configure HW time stamping and are not able to report configuration back to user space. Add callback to report configuration like it's done for net_device and add implementation to the drivers.
v4 -> v5:
* adjust comment about dev_get_hwtstamp_phylib() regarding new callback v3 -> v4:
* drop patches 5 and 6 from previous version as these drivers need logic upgrade to report configuration correctly. I'll send these updates as separate patchset
v2 -> v3:
* remove SIOCGHWTSTAMP in phy_mii_ioctl() as we discourage usage of deprecated interface
v1 -> v2:
* split the first patch to rename part and add new callback part
* fix netcp driver calling mii_timestamper::hwtstamp
Vadim Fedorenko (7):
phy: rename hwtstamp callback to hwtstamp_set
phy: add hwtstamp_get callback to phy drivers
net: phy: broadcom: add HW timestamp configuration reporting
net: phy: dp83640: add HW timestamp configuration reporting
phy: mscc: add HW timestamp configuration reporting
net: phy: nxp-c45-tja11xx: add HW timestamp configuration reporting
ptp: ptp_ines: add HW timestamp configuration reporting
drivers/net/ethernet/ti/netcp_ethss.c | 2 +- drivers/net/phy/bcm-phy-ptp.c | 21 ++++++++++++++---- drivers/net/phy/dp83640.c | 29 ++++++++++++++++++------- drivers/net/phy/micrel.c | 16 +++++++------- drivers/net/phy/microchip_rds_ptp.c | 8 +++---- drivers/net/phy/mscc/mscc_ptp.c | 21 ++++++++++++++---- drivers/net/phy/nxp-c45-tja11xx.c | 22 +++++++++++++++---- drivers/net/phy/phy.c | 14 ++++++++---- drivers/ptp/ptp_ines.c | 31 +++++++++++++++++++++++---- include/linux/mii_timestamper.h | 13 +++++++---- include/linux/phy.h | 4 ++-- net/core/dev_ioctl.c | 9 ++++---- 12 files changed, 139 insertions(+), 51 deletions(-)
Signature · 1 line
2.47.3