[PATCH v3 8/9] KVM: arm/arm64: Disallow userspace control of in-kernel IRQ lines

Marc Zyngier marc.zyngier at arm.com
Thu Jun 8 07:14:37 PDT 2017


On Thu, Jun 08 2017 at  3:34:45 pm BST, Christoffer Dall <cdall at linaro.org> wrote:
> When injecting an IRQ to the VGIC, you now have to present an owner
> token for that IRQ line to show that you are the owner of that line.
>
> IRQ lines driven from userspace or via an irqfd do not have an owner and
> will simply pass a NULL pointer.
>
> Also get rid of the unused kvm_vgic_inject_mapped_irq prototype.
>
> Signed-off-by: Christoffer Dall <cdall at linaro.org>

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead, it just smell funny.



More information about the linux-arm-kernel mailing list