Skip to content

Convert blackfin to phc and remove timecompare

Richard Cochran netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v1 RFC4 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bfin_mac: only advertise hardware time stamped when enabled.drivers/net/ethernet/adi/bfin_mac.c+4 -01 reply
2/4bfin_mac: replace sys time stamps with raw ones instead.drivers/net/ethernet/adi/bfin_mac.c drivers/net/ethernet/adi/bfin_mac.h+28 -701 reply
3/4bfin_mac: offer a PTP Hardware Clock.drivers/net/ethernet/adi/Kconfig drivers/net/ethernet/adi/bfin_mac.c drivers/net/ethernet/adi/bfin_mac.h+175 -31 reply
4/4time: remove the timecompare code.include/linux/timecompare.h kernel/time/Makefile kernel/time/timecompare.c+1 -3191 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJohn StultzBob Liu
1/4T-b
2/4T-b
3/4T-b
4/4A-b T-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 net-next 0/4] Convert blackfin to phc and remove timecompare

* Changes in V2:
- Correct the wrong direction of the shift when converting time stamps to nanoseconds
- Add John Stultz's ack on patch 4

This patch series takes care of a legacy issue in the time keeping core by moving blackfin over to PHC model and removing the dubious timecompare code.

The blackfin is quite similar to the other MAC based PTP hardware clocks, and so the implementation is straightforward.

The first patch is a bug fix that should be merged in any case. Pacthes two and three convert the bfin_mac to offer a PHC device. The last patch removes the timecompare code.

Thanks,
Richard

Richard Cochran (4):
bfin_mac: only advertise hardware time stamped when enabled.
bfin_mac: replace sys time stamps with raw ones instead.
bfin_mac: offer a PTP Hardware Clock.
time: remove the timecompare code.

 drivers/net/ethernet/adi/Kconfig    |    2 +-
 drivers/net/ethernet/adi/bfin_mac.c |  259 ++++++++++++++++++++++++++---------
 drivers/net/ethernet/adi/bfin_mac.h |   13 +-
 include/linux/timecompare.h         |  125 -----------------
 kernel/time/Makefile                |    2 +-
 kernel/time/timecompare.c           |  193 --------------------------
 6 files changed, 205 insertions(+), 389 deletions(-)
 delete mode 100644 include/linux/timecompare.h
 delete mode 100644 kernel/time/timecompare.c
Signature · 1 line
1.7.2.5