]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Add VPE scheduling
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 20 Dec 2016 15:09:31 +0000 (15:09 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Aug 2017 14:31:36 +0000 (15:31 +0100)
commit49a06b8e43db37964380f8b5153d533f3f4b7876
treef49fea3645be16a5a281d4492186d5695744ae13
parent0398decabe73ca24c1ccfc4ae3cf55a9880ebca2
irqchip/gic-v3-its: Add VPE scheduling

When a VPE is scheduled to run, the corresponding redistributor must
be told so, by setting VPROPBASER to the VM's property table, and
VPENDBASER to the vcpu's pending table.

When scheduled out, we preserve the IDAI and PendingLast bits. The
latter is specially important, as it tells the hypervisor that
there are pending interrupts for this vcpu.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h