From 2204bd364217ad19bb34e44ec90fa4dc7ef2783d Mon Sep 17 00:00:00 2001 From: Prateek Sood Date: Fri, 14 Aug 2020 11:03:01 +0530 Subject: [PATCH] irqchip: gicv3: add hardware irq print in gic_show_resume_irq() Currently gic_show_resume_irq() only prints linux irq number. There are cases where linux irq number is not listed in cat /proc/interrupts output. To check for spurious irq cases, hardware irq number can help. Change-Id: I03005412688041d7ec99a80b741c16e31db3394d Signed-off-by: Prateek Sood --- drivers/irqchip/irq-gic-v3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 60b8db5c0ff8..bf7be1b538d1 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -609,7 +609,8 @@ static void gic_show_resume_irq(struct gic_chip_data *gic) else if (desc->action && desc->action->name) name = desc->action->name; - pr_warn("%s: %d triggered %s\n", __func__, irq, name); + pr_warn("%s: irq:%d hwirq:%u triggered %s\n", + __func__, irq, i, name); } }