[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH RFC v2 0/2] Enable cp15 timers with user space gic & k
From: |
Alexander Graf |
Subject: |
[Qemu-arm] [PATCH RFC v2 0/2] Enable cp15 timers with user space gic & kvm |
Date: |
Mon, 14 Nov 2016 15:32:13 +0100 |
When running with KVM enabled, you can choose between emulating the
gic in kernel or user space. If the kernel supports in-kernel virtualization
of the interrupt controller, it will default to that. If not, if will
default to user space emulation.
Unfortunately when running in user mode gic emulation, we miss out on
timer events which are only available from kernel space.
This patch set leverages the new kernel/user space pending line synchronization
for those timer events.
rfc1 -> rfc2:
- use local variable for ARM_CPU
- remove bear trap
- move timer warning to gic device
Alexander Graf (2):
linux-headers: update
ARM: KVM: Enable in-kernel timers with user space gic
hw/intc/arm_gic.c | 7 +++++++
include/sysemu/kvm.h | 11 +++++++++++
kvm-all.c | 5 +++++
kvm-stub.c | 5 +++++
linux-headers/asm-arm/kvm.h | 1 +
linux-headers/asm-arm64/kvm.h | 1 +
linux-headers/linux/kvm.h | 6 ++++++
target-arm/cpu.h | 3 +++
target-arm/kvm.c | 20 ++++++++++++++++++++
9 files changed, 59 insertions(+)
--
1.8.5.6
- [Qemu-arm] [PATCH RFC v2 0/2] Enable cp15 timers with user space gic & kvm,
Alexander Graf <=