From f070ea53dbf082a4c7db4e6948b2d4d5742ccbc8 Mon Sep 17 00:00:00 2001 From: Abhimanyu Kapur Date: Fri, 12 Feb 2016 17:43:00 -0800 Subject: ARM: gic-v3: Log the IRQs in RTB before handling an IRQ Gic-v3 did not log IRQs in RTB like gic-v2. Thus add the LOGK_IRQ log before calling the IRQ handler like gic-v2. Change-Id: I46a5951e733a05b9a7d5d6323568fa800dfb5d62 Signed-off-by: Cassidy Burden [abhimany: resolve minor merge conflicts] Signed-off-by: Abhimanyu Kapur --- 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 b85ea63b460e..bbe434e00984 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -437,7 +437,7 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs if (likely(irqnr > 15 && irqnr < 1020) || irqnr >= 8192) { int err; - + uncached_logk(LOGK_IRQ, (void *)(uintptr_t)irqnr); if (static_key_true(&supports_deactivate)) gic_write_eoir(irqnr); @@ -454,6 +454,7 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs continue; } if (irqnr < 16) { + uncached_logk(LOGK_IRQ, (void *)(uintptr_t)irqnr); gic_write_eoir(irqnr); if (static_key_true(&supports_deactivate)) gic_write_dir(irqnr); -- cgit v1.2.3