]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Add VPE affinity changes
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 20 Dec 2016 15:17:28 +0000 (15:17 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Aug 2017 14:31:37 +0000 (15:31 +0100)
commitb6035ee58fd1692feb5b977b24860fdcf8d1ed0e
treecabe66b05bec2505e2208665f05c09518d8873b6
parentcd18396bcfd3a3bdf75addc3fbdfab24e8d056fc
irqchip/gic-v3-its: Add VPE affinity changes

When we're about to run a vcpu, it is crucial that the redistributor
associated with the physical CPU is being told about the new residency.

This is abstracted by hijacking the irq_set_affinity method for the
doorbell interrupt associated with the VPE. It is expected that the
hypervisor will call this method before scheduling the VPE.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c