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

Commit 9619cfb5 authored by Maulik Shah's avatar Maulik Shah
Browse files

irqchip: irq-gic-v3: Update printing wake up irq



Update gic_show_resume_irq() to ignore printing irq
details if irq is less than 32. Also update to print
irqchip name if the irq name is not available.

Change-Id: I17279ad38e96f71b6b322194f270068836ed601e
Signed-off-by: default avatarMinghao Zhang <minghao@codeaurora.org>
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent f0cfd2d0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -605,10 +605,15 @@ static void gic_show_resume_irq(struct gic_chip_data *gic)
		struct irq_desc *desc = irq_to_desc(irq);
		const char *name = "null";

		if (i < 32)
			continue;

		if (desc == NULL)
			name = "stray irq";
		else if (desc->action && desc->action->name)
			name = desc->action->name;
		else if (desc->irq_data.chip && desc->irq_data.chip->name)
			name = desc->irq_data.chip->name;

		pr_warn("%s: irq:%d hwirq:%u triggered %s\n",
			 __func__, irq, i, name);