Skip to content

Commit 4b2dfe1

Browse files
author
Marc Zyngier
committed
irqchip/gic-v4.1: Update effective affinity of virtual SGIs
Although the vSGIs are not directly visible to the host, they still get moved around by the CPU hotplug, for example. This results in the kernel moaning on the console, such as: genirq: irq_chip GICv4.1-sgi did not update eff. affinity mask of irq 38 Updating the effective affinity on set_affinity() fixes it. Reviewed-by: Zenghui Yu <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
1 parent 9680622 commit 4b2dfe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-gic-v3-its.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4054,6 +4054,7 @@ static int its_sgi_set_affinity(struct irq_data *d,
40544054
* not on the host (since they can only be targetting a vPE).
40554055
* Tell the kernel we've done whatever it asked for.
40564056
*/
4057+
irq_data_update_effective_affinity(d, mask_val);
40574058
return IRQ_SET_MASK_OK;
40584059
}
40594060

0 commit comments

Comments
 (0)