]> 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)
commitb7496b8e708f21d7ca369f5b6268287ab73c2593
treef49fea3645be16a5a281d4492186d5695744ae13
parent49ebb17adf65272f36bbe66b0484f03ab1116441
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