Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2da39949 authored by Marc Zyngier's avatar Marc Zyngier Committed by Thomas Gleixner
Browse files

irqchip: gicv3-its: Fix domain free in multi-MSI case



Fix stupid thinko on the path freeing the interrupts, where only
the first interrupt would get reset, and none of the others.

This should only affect multi-MSI allocations.

Reported-by: default avatarWuyun Wu (Abel) <wuyun.wu@huawei.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Robert Richter <robert.richter@caviumnetworks.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent df870c78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1210,7 +1210,7 @@ static void its_irq_domain_free(struct irq_domain *domain, unsigned int virq,
		clear_bit(event, its_dev->lpi_map);

		/* Nuke the entry in the domain */
		irq_domain_reset_irq_data(d);
		irq_domain_reset_irq_data(data);
	}

	/* If all interrupts have been freed, start mopping the floor */