KVM/ARM Architected Timers support
Get series with b4
b4 am 20130116180307.29693.84098.stgit@ubuntuVersions newest first · linked by author and title
- v6 Latest4 patches 0 repliesNew
- v54 patches 9 repliesSuperseded
- v45 patches 13 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 5 patches | 0 replies | Superseded | |
| v2 | 5 patches | 0 replies | Superseded | |
| v1 | 5 patches | 0 replies | Superseded |
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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ARM: arch_timers: switch to physical timers if HYP mode is availablearch/ | +6 | 0 replies | |
| 2/4 | ARM: KVM: arch_timers: Add guest timer core supportarch/ arch/ arch/ +2 more | +394 | 0 replies | |
| 3/4 | ARM: KVM: arch_timers: Add timer world switcharch/ arch/ arch/ +2 more | +74 | 0 replies | |
| 4/4 | ARM: KVM: arch_timers: Wire the init code and config optionarch/ arch/ arch/ +1 more | +21 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Will Deacon |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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