Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934639Ab3GRXVg (ORCPT ); Thu, 18 Jul 2013 19:21:36 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:58670 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933464Ab3GRXVe (ORCPT ); Thu, 18 Jul 2013 19:21:34 -0400 From: Stephen Boyd To: John Stultz Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Russell King , Catalin Marinas , Will Deacon , Christopher Covington , Barry Song , Fabio Estevam , Gregory CLEMENT , Jingchang Lu , Kukjin Kim , Kyungmin Park , Linus Walleij , Shawn Guo , Srinidhi Kasagar , Stephen Warren , Tomasz Figa Subject: [PATCH v4 00/17] 64-bit friendly generic sched_clock() Date: Thu, 18 Jul 2013 16:21:13 -0700 Message-Id: <1374189690-10810-1-git-send-email-sboyd@codeaurora.org> X-Mailer: git-send-email 1.8.3.3.754.g9c3c367 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2783 Lines: 59 This patchset adds support for 64 bit counters in the generic sched_clock code and converts drivers over to use it. Based on v3.11-rc1. Changes since v3: * Move to use seqcount to fix issues with 64-bit cyc counters * Move to hrtimer to fix underflow/overflow errors in wraparound calculation * Use of 1 hour in clocks_calc_mult_shift * Converted over drivers in drivers/clocksource Stephen Boyd (17): clocksource: Extract max nsec calculation into separate function sched_clock: Use seqcount instead of rolling our own sched_clock: Use an hrtimer instead of timer sched_clock: Add support for >32 bit sched_clock arch_timer: Move to generic sched_clock framework sched_clock: Remove sched_clock_func() hook clocksource: bcm2835: Switch to sched_clock_register() ocksource: dbx500-prcmu: Switch to sched_clock_register() clocksource: dw_apb_timer_of: Switch to sched_clock_register() clocksource: mxs_timer: Switch to sched_clock_register() clocksource: nomadik: Switch to sched_clock_register() clocksource: samsung_pwm_timer: Switch to sched_clock_register() clocksource: tegra: Switch to sched_clock_register() clocksource: time-armada-370-xp: Switch to sched_clock_register() clocksource: sirf: Switch to sched_clock_register() and use 64 bits clocksource: vf_pit_timer: Switch to sched_clock_register() sched_clock: Deprecate setup_sched_clock() arch/arm/kernel/arch_timer.c | 14 ---- arch/arm64/Kconfig | 1 + arch/arm64/kernel/time.c | 10 --- drivers/clocksource/arm_arch_timer.c | 4 ++ drivers/clocksource/bcm2835_timer.c | 4 +- drivers/clocksource/clksrc-dbx500-prcmu.c | 5 +- drivers/clocksource/dw_apb_timer_of.c | 4 +- drivers/clocksource/mxs_timer.c | 4 +- drivers/clocksource/nomadik-mtu.c | 4 +- drivers/clocksource/samsung_pwm_timer.c | 4 +- drivers/clocksource/tegra20_timer.c | 4 +- drivers/clocksource/time-armada-370-xp.c | 4 +- drivers/clocksource/timer-prima2.c | 6 +- drivers/clocksource/vf_pit_timer.c | 4 +- include/linux/clocksource.h | 2 + include/linux/sched_clock.h | 7 +- kernel/time/clocksource.c | 45 ++++++++----- kernel/time/sched_clock.c | 105 +++++++++++++++--------------- 18 files changed, 116 insertions(+), 115 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/