Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752312AbdLFQX0 (ORCPT ); Wed, 6 Dec 2017 11:23:26 -0500 Received: from mga06.intel.com ([134.134.136.31]:39608 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604AbdLFQXV (ORCPT ); Wed, 6 Dec 2017 11:23:21 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,368,1508828400"; d="asc'?scan'208";a="184653060" Message-ID: <1512577496.8693.0.camel@intel.com> Subject: Re: [Intel-wired-lan] [PATCH 1/1] timecounter: Make cyclecounter struct part of timecounter struct From: Jeff Kirsher Reply-To: jeffrey.t.kirsher@intel.com To: Sagar Arun Kamble , linux-kernel@vger.kernel.org Cc: alsa-devel@alsa-project.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Richard Cochran , Stephen Boyd , Chris Wilson , John Stultz , intel-wired-lan@lists.osuosl.org, Thomas Gleixner , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Date: Wed, 06 Dec 2017 08:24:56 -0800 In-Reply-To: <1512189095-28654-1-git-send-email-sagar.a.kamble@intel.com> References: <1512189095-28654-1-git-send-email-sagar.a.kamble@intel.com> Organization: Intel Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-AYN6I3A77kR9u855MsqY" X-Mailer: Evolution 3.26.2 (3.26.2-1.fc27) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4122 Lines: 93 --=-AYN6I3A77kR9u855MsqY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2017-12-02 at 10:01 +0530, Sagar Arun Kamble wrote: > There is no real need for the users of timecounters to define > cyclecounter > and timecounter variables separately. Since timecounter will always > be > based on cyclecounter, have cyclecounter struct as member of > timecounter > struct. >=20 > Suggested-by: Chris Wilson > Signed-off-by: Sagar Arun Kamble > Cc: Chris Wilson > Cc: Richard Cochran > Cc: John Stultz > Cc: Thomas Gleixner > Cc: Stephen Boyd > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: netdev@vger.kernel.org > Cc: intel-wired-lan@lists.osuosl.org > Cc: linux-rdma@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: kvmarm@lists.cs.columbia.edu Acked-by: Jeff Kirsher For the changes to the Intel drivers. > --- > arch/microblaze/kernel/timer.c | 20 ++++++------ > drivers/clocksource/arm_arch_timer.c | 19 ++++++------ > drivers/net/ethernet/amd/xgbe/xgbe-dev.c | 3 +- > drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | 9 +++--- > drivers/net/ethernet/amd/xgbe/xgbe.h | 1 - > drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 - > drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 20 ++++++------ > drivers/net/ethernet/freescale/fec.h | 1 - > drivers/net/ethernet/freescale/fec_ptp.c | 30 +++++++++--- > ------ > drivers/net/ethernet/intel/e1000e/e1000.h | 1 - > drivers/net/ethernet/intel/e1000e/netdev.c | 27 ++++++++-- > ------ > drivers/net/ethernet/intel/e1000e/ptp.c | 2 +- > drivers/net/ethernet/intel/igb/igb.h | 1 - > drivers/net/ethernet/intel/igb/igb_ptp.c | 25 ++++++++-- > ----- > drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 - > drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 17 +++++----- > drivers/net/ethernet/mellanox/mlx4/en_clock.c | 28 ++++++++-- > ------- > drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 1 - > .../net/ethernet/mellanox/mlx5/core/lib/clock.c | 34 ++++++++++ > ---------- > drivers/net/ethernet/qlogic/qede/qede_ptp.c | 20 ++++++------ > drivers/net/ethernet/ti/cpts.c | 36 > ++++++++++++---------- > drivers/net/ethernet/ti/cpts.h | 1 - > include/linux/mlx5/driver.h | 1 - > include/linux/timecounter.h | 4 +-- > include/sound/hdaudio.h | 1 - > kernel/time/timecounter.c | 28 ++++++++-- > ------- > sound/hda/hdac_stream.c | 7 +++-- > virt/kvm/arm/arch_timer.c | 6 ++-- > 28 files changed, 163 insertions(+), 182 deletions(-) --=-AYN6I3A77kR9u855MsqY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiTyZWz+nnTrOJ1LZ5W/vlVpL7c4FAlooGdgACgkQ5W/vlVpL 7c7J0Q/9HHk6upECLnqxfft9A4opsw2bj4joMDVrmj4+wvdSrNvrbzQAJPwEl3El fWwGBKNKmNyGjNa9dpEnactZ2xBtTLk9I9j1RvhdCS8JbQ8DYwxtlb9hAw6dk60z /gn5M+pcYi7is5wNvZqMA81Ocek0QSi8Egnz3TLh+voV5g5opi7u/VdlsiczBAUo fH+lqWPTSL4i19swopOjZdAYNKLqWMDeP40L8Zsbb5ZtNrib+8YAb82YuP1Tw+eQ 6jbHZFp5iB+WBRHo8xZ3QzENh9XdHoTmcX3tAUPRcqy9dJozsmXdIEJiJk7qNjgz 6XwtGJIle6jDXg9HOzkV8/2dv2v1J6CR0UAK0KsXQWhYKVBSN2Uj4gqxWuLczpcI mHJ7MKWU9QnvcQEcVfQwO1b2y+reSjGyz9ABz5J6VwnvT+8Pcn2oPAIsOuVvRuJs 6tIRAinKealwOv8oRZ97zhoPTM+Sf4OC803GxHtwZ56jNRId6nSUbq2+qyJBwK1R a7QLLkNdDIN6nt2VP6yywd+HrYtBo9CtJgS+mVNm6QhsTC4/wHGNeMLnjZ5i0LEW J7gDCG78Wgrd6UoaZx6afq1S8rXvWBzFt9LEnHrcEezlMehbmYHdWajSWLZ6d7YD Bq+D+QpbdGhyKIWEfspq1unwyw8CNCPAzKvb6w+hEdebk0Ia9Fc= =rvB5 -----END PGP SIGNATURE----- --=-AYN6I3A77kR9u855MsqY--