This series makes cyclecounter part of timecounter and introduces two
new interface functions timecounter_initialize() for initializing both
timecounter and cyclecounter fields and timecounter_reset() for setting
start time of timecounter. Updates all drivers with new functions and
removes function timecounter_init().

Cc: Sagar Arun Kamble <sagar.a.kam...@intel.com>
Cc: Richard Cochran <richardcoch...@gmail.com>
Cc: John Stultz <john.stu...@linaro.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Stephen Boyd <sb...@codeaurora.org>
Cc: linux-kernel@vger.kernel.org

Sagar Arun Kamble (27):
  timecounter: Make cyclecounter struct part of timecounter struct
  timecounter: Introduce timecounter_initialize to update timecounter
    and cyclecounter
  microblaze: Use timecounter_initialize interface
  clocksource/arm_arch_timer: Use timecounter_initialize interface
  amd-xgbe: Use timecounter_initialize interface
  bnx2x: Use timecounter_initialize interface
  fec: Use timecounter_initialize interface
  e1000e: Use timecounter_initialize interface
  igb: Use timecounter_initialize interface
  ixgbe: Use timecounter_initialize interface
  net/mlx4: Use timecounter_initialize interface
  net/mlx5: Use timecounter_initialize interface
  qede: Use timecounter_initialize interface
  net: cpts: Use timecounter_initialize interface
  ALSA: hda - Use timecounter_initialize interface
  timecounter: Introduce timecounter_reset
  amd-xgbe: Use timecounter_reset interface
  bnx2x: Use timecounter_reset interface
  net: fec: ptp: Use timecounter_reset interface
  e1000e: Use timecounter_reset interface
  igb: Use timecounter_reset interface
  ixgbe: Use timecounter_reset interface
  net/mlx4: Use timecounter_reset interface
  net/mlx5: Use timecounter_reset interface
  qede: Use timecounter_reset interface
  net: cpts: Use timecounter_reset interface
  timecounter: Remove timecounter_init

 arch/microblaze/kernel/timer.c                     | 23 ++++-----
 drivers/clocksource/arm_arch_timer.c               | 16 +++---
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c           |  5 +-
 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c           | 18 +++----
 drivers/net/ethernet/amd/xgbe/xgbe.h               |  1 -
 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h        |  1 -
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c   | 24 ++++-----
 drivers/net/ethernet/freescale/fec.h               |  1 -
 drivers/net/ethernet/freescale/fec_ptp.c           | 34 ++++++-------
 drivers/net/ethernet/intel/e1000e/e1000.h          |  5 +-
 drivers/net/ethernet/intel/e1000e/netdev.c         | 34 +++++++------
 drivers/net/ethernet/intel/e1000e/ptp.c            |  2 +-
 drivers/net/ethernet/intel/igb/igb.h               |  5 +-
 drivers/net/ethernet/intel/igb/igb_ptp.c           | 30 ++++++-----
 drivers/net/ethernet/intel/ixgbe/ixgbe.h           |  7 ++-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c      |  4 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c       | 58 ++++++++++++----------
 drivers/net/ethernet/mellanox/mlx4/en_clock.c      | 29 +++++------
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h       |  1 -
 .../net/ethernet/mellanox/mlx5/core/lib/clock.c    | 38 +++++++-------
 drivers/net/ethernet/qlogic/qede/qede_ptp.c        | 21 ++++----
 drivers/net/ethernet/ti/cpts.c                     | 45 ++++++++++-------
 drivers/net/ethernet/ti/cpts.h                     |  4 +-
 include/linux/mlx5/driver.h                        |  1 -
 include/linux/timecounter.h                        | 52 +++++++++++++------
 include/sound/hdaudio.h                            |  1 -
 kernel/time/timecounter.c                          | 49 ++++++++++++------
 sound/hda/hdac_stream.c                            | 17 +++----
 virt/kvm/arm/arch_timer.c                          |  6 +--
 29 files changed, 291 insertions(+), 241 deletions(-)

-- 
1.9.1

Reply via email to