Skip to content

KVM/ARM Architected Timers support

Christoffer Dall kvm linux-arm-kernel 6 versions – New

Get series with b4
b4 am 20130116180307.29693.84098.stgit@ubuntu

Versions newest first · linked by author and title

  1. v6 Latest4 patches 0 repliesNew
  2. v54 patches 9 repliesSuperseded
  3. v45 patches 13 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches0 repliesSuperseded
v25 patches0 repliesSuperseded
v15 patches0 repliesSuperseded

Changes in v6 from the cover letter

- Renamed sync_{to,from} to {flush,sync}_hwstate
- Removed ISB's in world-switch code
- Avoid add/sub on vcpu pointer in world-switch

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: arch_timers: switch to physical timers if HYP mode is availablearch/arm/kernel/arch_timer.c+6 -10 replies
2/4ARM: KVM: arch_timers: Add guest timer core supportarch/arm/include/asm/kvm_arch_timer.h arch/arm/include/asm/kvm_host.h arch/arm/kvm/arch_timer.c +2 more+394 -00 replies
3/4ARM: KVM: arch_timers: Add timer world switcharch/arm/include/asm/kvm_asm.h arch/arm/kernel/asm-offsets.c arch/arm/kvm/arm.c +2 more+74 -10 replies
4/4ARM: KVM: arch_timers: Wire the init code and config optionarch/arm/kvm/Kconfig arch/arm/kvm/Makefile arch/arm/kvm/arm.c +1 more+21 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchWill Deacon
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/4] KVM/ARM Architected Timers support

The following series implements support for the architected generic timers for KVM/ARM.

This patch series can also be pulled from:
git://github.com/virtualopensystems/linux-kvm-arm.git
branch: kvm-arm-v16-vgic-timers

Changes since v5:
- Renamed sync_{to,from} to {flush,sync}_hwstate
- Removed ISB's in world-switch code
- Avoid add/sub on vcpu pointer in world-switch

Changes since v1-v4:
- Get virtual IRQ number from DT
- Simplify access to cntvoff and cntv_cval
- Remove extraneous bit clearing
- Abstract timer arming/disarming to improve code readability
- Context switch CNTKCTL across world-switches
- Add CPU hotplug notifier

---

Marc Zyngier (4):
ARM: arch_timers: switch to physical timers if HYP mode is available
ARM: KVM: arch_timers: Add guest timer core support
ARM: KVM: arch_timers: Add timer world switch
ARM: KVM: arch_timers: Wire the init code and config option

 arch/arm/include/asm/kvm_arch_timer.h |   85 ++++++++++
 arch/arm/include/asm/kvm_asm.h        |    3 
 arch/arm/include/asm/kvm_host.h       |    5 +
 arch/arm/kernel/arch_timer.c          |    7 +
 arch/arm/kernel/asm-offsets.c         |    6 +
 arch/arm/kvm/Kconfig                  |    8 +
 arch/arm/kvm/Makefile                 |    1 
 arch/arm/kvm/arch_timer.c             |  271 +++++++++++++++++++++++++++++++++
 arch/arm/kvm/arm.c                    |   14 ++
 arch/arm/kvm/coproc.c                 |    4 
 arch/arm/kvm/interrupts.S             |    2 
 arch/arm/kvm/interrupts_head.S        |   90 +++++++++++
 arch/arm/kvm/vgic.c                   |    1 
 13 files changed, 495 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/include/asm/kvm_arch_timer.h
 create mode 100644 arch/arm/kvm/arch_timer.c