From: Marc Zyngier Date: Fri, 10 Apr 2020 11:11:39 +0000 (+0100) Subject: irqchip/gic-v4.1: Update effective affinity of virtual SGIs X-Git-Tag: v5.7-rc2~6^2^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b2dfe1e7799d0e20b55711dfcc45d2ad35ff46e;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Marc Zyngier --- diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index affd325cc3d4c..124251b0ccbae 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -4054,6 +4054,7 @@ static int its_sgi_set_affinity(struct irq_data *d, * not on the host (since they can only be targetting a vPE). * Tell the kernel we've done whatever it asked for. */ + irq_data_update_effective_affinity(d, mask_val); return IRQ_SET_MASK_OK; }