Re: [PATCH v4 09/13] ARM: KVM: VGIC interrupt injection

2012-12-03 Thread Will Deacon
On Sat, Nov 10, 2012 at 03:45:18PM +, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Plug the interrupt injection code. Interrupts can now be generated from user space. Signed-off-by: Marc Zyngier marc.zyng...@arm.com Signed-off-by: Christoffer Dall

Re: [PATCH v4 09/13] ARM: KVM: VGIC interrupt injection

2012-12-03 Thread Marc Zyngier
On 03/12/12 13:25, Will Deacon wrote: On Sat, Nov 10, 2012 at 03:45:18PM +, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Plug the interrupt injection code. Interrupts can now be generated from user space. Signed-off-by: Marc Zyngier marc.zyng...@arm.com

Re: [PATCH v4 09/13] ARM: KVM: VGIC interrupt injection

2012-12-03 Thread Christoffer Dall
[...] + +static bool vgic_update_irq_state(struct kvm *kvm, int cpuid, + unsigned int irq_num, bool level) +{ +struct vgic_dist *dist = kvm-arch.vgic; +struct kvm_vcpu *vcpu; +int is_edge, is_level, state; +int enabled; +bool ret = true;

Re: [PATCH v4 09/13] ARM: KVM: VGIC interrupt injection

2012-12-03 Thread Christoffer Dall
On Mon, Dec 3, 2012 at 9:21 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 03/12/12 13:25, Will Deacon wrote: On Sat, Nov 10, 2012 at 03:45:18PM +, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Plug the interrupt injection code. Interrupts can now be generated from

Re: [PATCH v4 09/13] ARM: KVM: VGIC interrupt injection

2012-12-03 Thread Marc Zyngier
On 03/12/12 19:13, Christoffer Dall wrote: On Mon, Dec 3, 2012 at 9:21 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 03/12/12 13:25, Will Deacon wrote: On Sat, Nov 10, 2012 at 03:45:18PM +, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com Plug the interrupt injection

[PATCH v4 09/13] ARM: KVM: VGIC interrupt injection

2012-11-10 Thread Christoffer Dall
From: Marc Zyngier marc.zyng...@arm.com Plug the interrupt injection code. Interrupts can now be generated from user space. Signed-off-by: Marc Zyngier marc.zyng...@arm.com Signed-off-by: Christoffer Dall c.d...@virtualopensystems.com --- arch/arm/include/asm/kvm_vgic.h |8 +++