Commit 14c1d39d authored by Philippe Gerum's avatar Philippe Gerum
Browse files

genirq: ipipe: detect pipeline-unsafe MSI handlers

parent 67157bba
......@@ -251,6 +251,9 @@ static void msi_domain_update_chip_ops(struct msi_domain_info *info)
struct irq_chip *chip = info->chip;
BUG_ON(!chip || !chip->irq_mask || !chip->irq_unmask);
(chip->flags & IRQCHIP_PIPELINE_SAFE) == 0,
"MSI domain irqchip %s is not pipeline-safe!", chip->name);
if (!chip->irq_set_affinity)
chip->irq_set_affinity = msi_domain_set_affinity;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment