From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: [PATCHv3 0/3] 64bit friendly generic sched_clock Date: Wed, 5 Jun 2013 16:54:42 -0700 Message-ID: <1370476485-468-1-git-send-email-sboyd@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.11.231]:60356 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752894Ab3FEXys (ORCPT ); Wed, 5 Jun 2013 19:54:48 -0400 Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: John Stultz Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , arm@kernel.org, Catalin Marinas , Will Deacon , Thomas Gleixner , Christopher Covington Ok here's the second take at 64 bit support in generic sched_clock. This assumes that the previous three patches in the v2 of this series have been applied. I've also noticed that we probably need to update the mult/shift calculation similar to how clocksources are done. Should we just copy/paste the maxsec calculation code here or do something else? Stephen Boyd (3): sched_clock: Add support for >32 bit sched_clock ARM: arch_timer: Move to generic sched_clock framework arm64: Move to generic sched_clock infrastructure arch/arm/kernel/arch_timer.c | 14 ++------------ arch/arm64/Kconfig | 1 + arch/arm64/kernel/time.c | 11 ++--------- include/linux/sched_clock.h | 3 +-- kernel/time/sched_clock.c | 46 ++++++++++++++++++++++++++------------------ 5 files changed, 33 insertions(+), 42 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation