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

Commit ae871193 authored by Cassidy Burden's avatar Cassidy Burden
Browse files

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: default avatarCassidy Burden <cburden@codeaurora.org>
parent 40b49a34
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -380,6 +380,7 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs

		if (likely(irqnr > 15 && irqnr < 1020)) {
			int err;
			uncached_logk(LOGK_IRQ, (void *)(uintptr_t)irqnr);
			err = handle_domain_irq(gic_data.domain, irqnr, regs);
			if (err) {
				WARN_ONCE(true, "Unexpected SPI received!\n");
@@ -388,6 +389,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);
#ifdef CONFIG_SMP
			handle_IPI(irqnr, regs);