aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.10/326-irqchip-bcm6345-report-eff-affinity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm63xx/patches-5.10/326-irqchip-bcm6345-report-eff-affinity.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.10/326-irqchip-bcm6345-report-eff-affinity.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/patches-5.10/326-irqchip-bcm6345-report-eff-affinity.patch b/target/linux/bcm63xx/patches-5.10/326-irqchip-bcm6345-report-eff-affinity.patch
new file mode 100644
index 0000000000..f25488575c
--- /dev/null
+++ b/target/linux/bcm63xx/patches-5.10/326-irqchip-bcm6345-report-eff-affinity.patch
@@ -0,0 +1,20 @@
+--- a/drivers/irqchip/irq-bcm6345-periph.c
++++ b/drivers/irqchip/irq-bcm6345-periph.c
+@@ -186,6 +186,8 @@ static int bcm6345_periph_set_affinity(s
+ }
+ raw_spin_unlock_irqrestore(&priv->lock, flags);
+
++ irq_data_update_effective_affinity(data, cpumask_of(cpu));
++
+ return 0;
+ }
+ #endif
+@@ -197,6 +199,8 @@ static int bcm6345_periph_map(struct irq
+
+ irq_set_chip_and_handler(irq, &priv->chip, handle_level_irq);
+
++ irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(irq)));
++
+ return 0;
+ }
+