* [GIT PULL] arm: arch_timer cleanups and niceties for 3.11
@ 2013-06-07 17:39 Mark Rutland
2013-06-11 10:04 ` Mark Rutland
0 siblings, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2013-06-07 17:39 UTC (permalink / raw)
To: linux-arm-kernel
Hi Russell,
Please pull these arch_timer cleanups I've been holding onto for a while.
They're the same as my last posting [1], but have been rebased to v3.10-rc3.
Thanks,
Mark.
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/170602.html
---->8----
The following changes since commit e4aa937ec75df0eea0bee03bffa3303ad36c986b:
Linux 3.10-rc3 (2013-05-26 16:00:47 -0700)
are available in the git repository at:
git://linux-arm.org/linux-mr.git for-rmk/arch-timer-cleanups
for you to fetch changes up to 3f71be237ce37e0131973ebfa33b326bc51d743e:
ARM: arch_timer: stop virtual timer when booted in HYP mode (2013-06-07 10:20:29 +0100)
----------------------------------------------------------------
Marc Zyngier (2):
ARM: hyp: initialize CNTVOFF to zero
ARM: arch_timer: stop virtual timer when booted in HYP mode
Mark Rutland (3):
ARM: KVM: arch_timers: zero CNTVOFF upon return to host
clocksource: arch_timer: use virtual counters
arm: fix up ARM_ARCH_TIMER selects
arch/arm/include/asm/arch_timer.h | 9 ---------
arch/arm/kernel/hyp-stub.S | 7 +++++++
arch/arm/kvm/interrupts_head.S | 4 ++++
arch/arm/mach-exynos/Kconfig | 2 +-
arch/arm/mach-shmobile/Kconfig | 4 ++--
arch/arm/mach-tegra/Kconfig | 2 +-
arch/arm/mach-virt/Kconfig | 2 +-
arch/arm64/include/asm/arch_timer.h | 10 ----------
drivers/clocksource/arm_arch_timer.c | 23 +++++------------------
include/clocksource/arm_arch_timer.h | 2 +-
10 files changed, 22 insertions(+), 43 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [GIT PULL] arm: arch_timer cleanups and niceties for 3.11
2013-06-07 17:39 [GIT PULL] arm: arch_timer cleanups and niceties for 3.11 Mark Rutland
@ 2013-06-11 10:04 ` Mark Rutland
2013-06-17 13:20 ` Russell King - ARM Linux
0 siblings, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2013-06-11 10:04 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jun 07, 2013 at 06:39:02PM +0100, Mark Rutland wrote:
> Hi Russell,
>
> Please pull these arch_timer cleanups I've been holding onto for a while.
> They're the same as my last posting [1], but have been rebased to v3.10-rc3.
>
> Thanks,
> Mark.
>
> [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/170602.html
It looks like there was a final ARM_ARCH_TIMER select in multi_v7_defconfig
that's causing architected timer support to not get selected, which the patch
below should fix if appended to the series. I've grepped for ARM_ARCH_TIMER,
and it looks like it's the the last remaining occurence.
Thanks,
Mark.
---->8----
>From 6f09d5692133723c47629b89662bd01467aa526f Mon Sep 17 00:00:00 2001
From: Mark Rutland <mark.rutland@arm.com>
Date: Tue, 11 Jun 2013 10:51:35 +0100
Subject: [PATCH] arm: multi_v7_defconfig: select HAVE_ARM_ARCH_TIMER
In 8a4da6e: "arm: arch_timer: move core to drivers/clocksource", the
selection of ARM_ARCH_TIMER was indirected via HAVE_ARM_ARCH_TIMER,
though multi_v7_defconfig wasn't fixed up. This can lead to architected
timer support being unexpectedly disabled when building
multi_v7_defconfig.
This patch fixes up multi_v7_defconfig to select HAVE_ARM_ARCH_TIMER.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
---
arch/arm/configs/multi_v7_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 2e67a27..c5bdbc9 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -17,7 +17,7 @@ CONFIG_ARCH_SPEAR13XX=y
CONFIG_MACH_SPEAR1310=y
CONFIG_MACH_SPEAR1340=y
CONFIG_SMP=y
-CONFIG_ARM_ARCH_TIMER=y
+CONFIG_HAVE_ARM_ARCH_TIMER=y
CONFIG_AEABI=y
CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y
--
1.8.1.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [GIT PULL] arm: arch_timer cleanups and niceties for 3.11
2013-06-11 10:04 ` Mark Rutland
@ 2013-06-17 13:20 ` Russell King - ARM Linux
2013-06-17 13:29 ` Mark Rutland
0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2013-06-17 13:20 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jun 11, 2013 at 11:04:57AM +0100, Mark Rutland wrote:
> On Fri, Jun 07, 2013 at 06:39:02PM +0100, Mark Rutland wrote:
> > Hi Russell,
> >
> > Please pull these arch_timer cleanups I've been holding onto for a while.
> > They're the same as my last posting [1], but have been rebased to v3.10-rc3.
> >
> > Thanks,
> > Mark.
> >
> > [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/170602.html
>
> It looks like there was a final ARM_ARCH_TIMER select in multi_v7_defconfig
> that's causing architected timer support to not get selected, which the patch
> below should fix if appended to the series. I've grepped for ARM_ARCH_TIMER,
> and it looks like it's the the last remaining occurence.
So what do you want to do with this? Is it needed to be included in your
set of patches in your pull request?
And I think I remember seeing some other patches related to this change
too...
^ permalink raw reply [flat|nested] 4+ messages in thread
* [GIT PULL] arm: arch_timer cleanups and niceties for 3.11
2013-06-17 13:20 ` Russell King - ARM Linux
@ 2013-06-17 13:29 ` Mark Rutland
0 siblings, 0 replies; 4+ messages in thread
From: Mark Rutland @ 2013-06-17 13:29 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 17, 2013 at 02:20:05PM +0100, Russell King - ARM Linux wrote:
> On Tue, Jun 11, 2013 at 11:04:57AM +0100, Mark Rutland wrote:
> > On Fri, Jun 07, 2013 at 06:39:02PM +0100, Mark Rutland wrote:
> > > Hi Russell,
> > >
> > > Please pull these arch_timer cleanups I've been holding onto for a while.
> > > They're the same as my last posting [1], but have been rebased to v3.10-rc3.
> > >
> > > Thanks,
> > > Mark.
> > >
> > > [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/170602.html
> >
> > It looks like there was a final ARM_ARCH_TIMER select in multi_v7_defconfig
> > that's causing architected timer support to not get selected, which the patch
> > below should fix if appended to the series. I've grepped for ARM_ARCH_TIMER,
> > and it looks like it's the the last remaining occurence.
>
> So what do you want to do with this? Is it needed to be included in your
> set of patches in your pull request?
Sorry, I was a bit trigger happy with this patch. It doesn't need to go through
with the patches in the pull request, and I think the patches I posted earlier
today [1] are a better solution.
>
> And I think I remember seeing some other patches related to this change
> too...
Indeed. They should be able to go through separately as there's no strict
dependence.
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/177001.html
Thanks,
Mark.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-17 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07 17:39 [GIT PULL] arm: arch_timer cleanups and niceties for 3.11 Mark Rutland
2013-06-11 10:04 ` Mark Rutland
2013-06-17 13:20 ` Russell King - ARM Linux
2013-06-17 13:29 ` Mark Rutland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox