Files
linux/drivers
Pali Rohár d99d861ce3 irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
commit d0a553502e upstream.

irq-armada-370-xp driver already sets MSI_FLAG_MULTI_PCI_MSI flag into
msi_domain_info structure. But allocated interrupt numbers for Multi-MSI
needs to be properly aligned otherwise devices send MSI interrupt with
wrong number.

Fix this issue by using function bitmap_find_free_region() instead of
bitmap_find_next_zero_area() to allocate aligned interrupt numbers.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: a71b9412c9 ("irqchip/armada-370-xp: Allow allocation of multiple MSIs")
Cc: stable@vger.kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211125130057.26705-2-pali@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-14 10:57:22 +01:00
..
2021-12-14 10:57:15 +01:00
2021-12-14 10:57:15 +01:00
2021-09-08 11:50:26 -07:00
2021-11-25 09:48:41 +01:00
2021-11-18 19:16:08 +01:00
2021-09-20 12:43:34 +01:00
2021-08-14 15:54:09 -06:00