Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753236AbdLOHfL (ORCPT ); Fri, 15 Dec 2017 02:35:11 -0500 Received: from mga06.intel.com ([134.134.136.31]:56928 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbdLOHfK (ORCPT ); Fri, 15 Dec 2017 02:35:10 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,403,1508828400"; d="scan'208";a="158949172" From: Sagar Arun Kamble To: linux-kernel@vger.kernel.org Cc: Sagar Arun Kamble , Richard Cochran , John Stultz , Thomas Gleixner , Stephen Boyd Subject: [PATCH 00/27] timecounter/cyclecounter struct/interface update Date: Fri, 15 Dec 2017 13:08:15 +0530 Message-Id: <1513323522-15021-1-git-send-email-sagar.a.kamble@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3861 Lines: 76 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 Cc: Richard Cochran Cc: John Stultz Cc: Thomas Gleixner Cc: Stephen Boyd 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