linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/5] arm: arch_timer cleanups and niceties
@ 2013-05-24 11:36 Mark Rutland
  2013-05-24 11:36 ` [PATCHv3 1/5] ARM: hyp: initialize CNTVOFF to zero Mark Rutland
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mark Rutland @ 2013-05-24 11:36 UTC (permalink / raw)
  To: linux-arm-kernel

The following patches clean up some (harmless) fallout from the changes
in 3.9, and make the driver always use the virtual counter, eliminating
problems relating to choosing which counters to use (racy
initialisation, branches in hot paths).

The patches can also be found in my public git tree:
git://linux-arm.org/git/linux-mr.git clocks/arch-timer-cleanups

Russell, are you happy to take these for 3.11 if I send a pull request or drop
these in your patch system?

Since v1 [1]:
* Rebased to v3.10-rc1
* Fix up mach-shmobile's selection of ARCH_ARM_TIMER
Since v2: [2]:
* Added Simon Horman's ack for shmobile
* Clarified virtual timer CNTVOFF requirement per Christopher Covington's
  comments.

Thanks,
Mark.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-March/158604.html
[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/168536.html

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(-)

-- 
1.8.1.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-17 12:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-24 11:36 [PATCHv3 0/5] arm: arch_timer cleanups and niceties Mark Rutland
2013-05-24 11:36 ` [PATCHv3 1/5] ARM: hyp: initialize CNTVOFF to zero Mark Rutland
2013-05-24 11:36 ` [PATCHv3 2/5] ARM: KVM: arch_timers: zero CNTVOFF upon return to host Mark Rutland
2013-05-24 11:36 ` [PATCHv3 3/5] clocksource: arch_timer: use virtual counters Mark Rutland
2013-05-24 11:36 ` [PATCHv3 4/5] arm: fix up ARM_ARCH_TIMER selects Mark Rutland
2013-06-17 12:51   ` Kukjin Kim
2013-05-24 11:36 ` [PATCHv3 5/5] ARM: arch_timer: stop virtual timer when booted in HYP mode Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).