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: Minghao Zhang <minghao@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
Maulik Shah 2021-05-24 11:49:06 +05:30
commit 9619cfb5b7

View file

@ -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);