Skip to contentSkip to conversation

GPU: ipu: fix lockup caused by pending chained interrupts

PATCH New Russell King - ARM Linux 1 participant 1 message Jun 18, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 GPU: ipu: fix lockup caused by pending chained interrupts

Even with the oops fixed by a previous patch, the system still fails to kexec, due to a stuck chained interrupt locking the system. We must disable the child interrupts prior to setting up the irq chip to ensure we don't get stuck here.

---
Maybe this is all that's really needed... would also be nice if this path had an etry in MAINTAINERS...

Having discussed with Thomas today, we've decided that (maybe) David should take this patch. It's rather unclear who to send these patches to though.

 drivers/gpu/ipu-v3/ipu-common.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/ipu-v3/ipu-common.c +3 -0
index 6d2f39d36e44..00f2058944e5 100644
@@ -1107,6 +1107,9 @@ static int ipu_irq_init(struct ipu_soc *ipu)
 		return ret;
 	}
 
+	for (i = 0; i < IPU_NUM_IRQS; i += 32)
+		ipu_cm_write(ipu, 0, IPU_INT_CTRL(i / 32));
+
 	for (i = 0; i < IPU_NUM_IRQS; i += 32) {
 		gc = irq_get_domain_generic_chip(ipu->domain, i);
 		gc->reg_base = ipu->cm_reg;
Signature · 5 lines
2.1.0
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel