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

Commit 495996d2 authored by Stepan Moskovchenko's avatar Stepan Moskovchenko Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: cache_m4m_erp64: Use non-threaded IRQ handling



Use non-threaded IRQ handlers for L2 and M4M error reports,
so that the error handler prints a meaningful backtrace
(including stack information prior to IRQ entry). This
improves the chances of being able to identify what the
system was doing when the error was reported.

Change-Id: I220fa753944694842307fcec217e32a96c8adc0d
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent 231f31db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -506,7 +506,7 @@ static int msm_cache_erp_probe(struct platform_device *pdev)
	/* L2 erp irq per cluster */
	dev_info(&pdev->dev, "Registering for L2 error interrupts\n");
	for (i = IRQ_L2_INFO0; i <= IRQ_L2_ERR1; i++) {
		ret = devm_request_threaded_irq(&pdev->dev, erp_irqs[i], NULL,
		ret = devm_request_irq(&pdev->dev, erp_irqs[i],
						msm_l2_erp_irq,
						IRQF_ONESHOT |
						IRQF_TRIGGER_HIGH,
@@ -567,7 +567,7 @@ static int msm_m4m_erp_m4m_probe(struct platform_device *pdev)
	erp_irqs[IRQ_M4M] = r->start;

	dev_info(&pdev->dev, "Registering for M4M error interrupts\n");
	ret = devm_request_threaded_irq(&pdev->dev, erp_irqs[IRQ_M4M], NULL,
	ret = devm_request_irq(&pdev->dev, erp_irqs[IRQ_M4M],
					msm_m4m_erp_irq,
					IRQF_ONESHOT | IRQF_TRIGGER_HIGH,
					erp_irq_names[IRQ_M4M], NULL);