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

Commit b968b8b0 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

ARM: gic: Log the IRQs in RTB before handling an IRQ



LOGK_IRQs are not logged when consecutive IRQs are fired.
Hence Add LOGK_IRQ before calling the IRQ handler.

Change-Id: I0ab5fdeb3b8e9655f1b3672b1b8872dc7d623ec3
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 0597b5d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -415,16 +415,16 @@ static void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
		irqnr = irqstat & GICC_IAR_INT_ID_MASK;

		if (likely(irqnr > 15 && irqnr < 1021)) {
			handle_domain_irq(gic->domain, irqnr, regs);
			uncached_logk(LOGK_IRQ, (void *)(uintptr_t)irqnr);
			handle_domain_irq(gic->domain, irqnr, regs);
			continue;
		}
		if (irqnr < 16) {
			writel_relaxed_no_log(irqstat, cpu_base + GIC_CPU_EOI);
			uncached_logk(LOGK_IRQ, (void *)(uintptr_t)irqnr);
#ifdef CONFIG_SMP
			handle_IPI(irqnr, regs);
#endif
			uncached_logk(LOGK_IRQ, (void *)(uintptr_t)irqnr);
			continue;
		}
		break;