]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
irqchip/irq-csky-mpintc: Support auto irq deliver to all cpus
authorGuo Ren <ren_guo@c-sky.com>
Tue, 21 May 2019 07:54:05 +0000 (15:54 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 5 Jun 2019 08:27:07 +0000 (09:27 +0100)
commitdb56c5128e6625cb16efc4910b60627e46f608e3
tree2505df2796799502826fc952c2ca113e71dbe99b
parent16e32c3cde7763ab875b9030b443ecbc8e352d8a
irqchip/irq-csky-mpintc: Support auto irq deliver to all cpus

The csky,mpintc could deliver a external irq to one cpu or all cpus, but
it couldn't deliver a external irq to a group of cpus with cpu_mask. So
we only use auto deliver mode when affinity mask_val is equal to
cpu_present_mask.

There is no limitation for only two cpus in SMP system.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-csky-mpintc.c