Re: [Qemu-devel] [RFC 2/2] ARM: KVM: Enable in-kernel timers with user space gic

2016-11-03 Thread Alexander Graf
On 11/02/2016 05:19 PM, Christoffer Dall wrote: On Wed, Nov 02, 2016 at 04:40:35PM +0100, Alexander Graf wrote: On 11/01/2016 12:35 PM, Peter Maydell wrote: On 29 October 2016 at 22:10, Alexander Graf wrote: [...] +cpu->timer_irq_level = run->s.regs.timer_irq_level; +} + r

Re: [Qemu-devel] [RFC 2/2] ARM: KVM: Enable in-kernel timers with user space gic

2016-11-02 Thread Christoffer Dall
On Wed, Nov 02, 2016 at 04:40:35PM +0100, Alexander Graf wrote: > On 11/01/2016 12:35 PM, Peter Maydell wrote: > >On 29 October 2016 at 22:10, Alexander Graf wrote: [...] > > > >>+cpu->timer_irq_level = run->s.regs.timer_irq_level; > >>+} > >>+ > >> return MEMTXATTRS_UNSPECIFIED

Re: [Qemu-devel] [RFC 2/2] ARM: KVM: Enable in-kernel timers with user space gic

2016-11-02 Thread Alexander Graf
On 11/01/2016 12:35 PM, Peter Maydell wrote: On 29 October 2016 at 22:10, Alexander Graf wrote: 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.

Re: [Qemu-devel] [RFC 2/2] ARM: KVM: Enable in-kernel timers with user space gic

2016-11-01 Thread Peter Maydell
On 29 October 2016 at 22:10, Alexander Graf wrote: > 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 em

[Qemu-devel] [RFC 2/2] ARM: KVM: Enable in-kernel timers with user space gic

2016-10-29 Thread Alexander Graf
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 emulat