Skip to content

Commit 7d7275b

Browse files
grygoriyStmlind
authored andcommitted
bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
The main purpose of l3 IRQs is to catch OCP bus access errors and identify corresponding code places by showing call stack, so it's important to handle L3 interconnect errors as fast as possible. On RT these IRQs will became threaded and will be scheduled much more late from the moment actual error occurred so showing completely useless information. Hence, mark l3 IRQs as IRQF_NO_THREAD so they will not be forced threaded on RT or if force_irqthreads = true. Fixes: 0ee7261 ("drivers: bus: Move the OMAP interconnect driver to drivers/bus/") Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 177d8f1 commit 7d7275b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bus/omap_l3_noc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ static int omap_l3_probe(struct platform_device *pdev)
285285
*/
286286
l3->debug_irq = platform_get_irq(pdev, 0);
287287
ret = devm_request_irq(l3->dev, l3->debug_irq, l3_interrupt_handler,
288-
0x0, "l3-dbg-irq", l3);
288+
IRQF_NO_THREAD, "l3-dbg-irq", l3);
289289
if (ret) {
290290
dev_err(l3->dev, "request_irq failed for %d\n",
291291
l3->debug_irq);
@@ -294,7 +294,7 @@ static int omap_l3_probe(struct platform_device *pdev)
294294

295295
l3->app_irq = platform_get_irq(pdev, 1);
296296
ret = devm_request_irq(l3->dev, l3->app_irq, l3_interrupt_handler,
297-
0x0, "l3-app-irq", l3);
297+
IRQF_NO_THREAD, "l3-app-irq", l3);
298298
if (ret)
299299
dev_err(l3->dev, "request_irq failed for %d\n", l3->app_irq);
300300

0 commit comments

Comments
 (0)