diff options
-rw-r--r-- | drivers/irqchip/Kconfig | 1 | ||||
-rw-r--r-- | drivers/irqchip/irq-gic.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index f1fd5f44d1d4..586929d072ca 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig | |||
@@ -7,6 +7,7 @@ config ARM_GIC | |||
7 | select IRQ_DOMAIN | 7 | select IRQ_DOMAIN |
8 | select IRQ_DOMAIN_HIERARCHY | 8 | select IRQ_DOMAIN_HIERARCHY |
9 | select MULTI_IRQ_HANDLER | 9 | select MULTI_IRQ_HANDLER |
10 | select GENERIC_IRQ_EFFECTIVE_AFF_MASK | ||
10 | 11 | ||
11 | config ARM_GIC_PM | 12 | config ARM_GIC_PM |
12 | bool | 13 | bool |
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 1b1df4f770bd..20dd2ba3d603 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c | |||
@@ -344,6 +344,8 @@ static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val, | |||
344 | writel_relaxed(val | bit, reg); | 344 | writel_relaxed(val | bit, reg); |
345 | gic_unlock_irqrestore(flags); | 345 | gic_unlock_irqrestore(flags); |
346 | 346 | ||
347 | irq_data_update_effective_affinity(d, cpumask_of(cpu)); | ||
348 | |||
347 | return IRQ_SET_MASK_OK_DONE; | 349 | return IRQ_SET_MASK_OK_DONE; |
348 | } | 350 | } |
349 | #endif | 351 | #endif |
@@ -966,6 +968,7 @@ static int gic_irq_domain_map(struct irq_domain *d, unsigned int irq, | |||
966 | irq_domain_set_info(d, irq, hw, &gic->chip, d->host_data, | 968 | irq_domain_set_info(d, irq, hw, &gic->chip, d->host_data, |
967 | handle_fasteoi_irq, NULL, NULL); | 969 | handle_fasteoi_irq, NULL, NULL); |
968 | irq_set_probe(irq); | 970 | irq_set_probe(irq); |
971 | irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(irq))); | ||
969 | } | 972 | } |
970 | return 0; | 973 | return 0; |
971 | } | 974 | } |