2020-06-23 13:42:59 +00:00
|
|
|
From 58fdb46a53ff73cd5b4c8142eff4acb4799ae34b Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <58fdb46a53ff73cd5b4c8142eff4acb4799ae34b.1592846147.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
|
|
|
|
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Ingo Molnar <mingo@elte.hu>
|
|
|
|
Date: Fri, 3 Jul 2009 08:29:57 -0500
|
2020-06-23 13:42:59 +00:00
|
|
|
Subject: [PATCH 070/330] genirq: Disable irqpoll on -rt
|
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
Creates long latencies for no value
|
|
|
|
|
|
|
|
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
kernel/irq/spurious.c | 8 ++++++++
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
|
|
|
|
index d867d6ddafdd..cd12ee86c01e 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/kernel/irq/spurious.c
|
|
|
|
+++ b/kernel/irq/spurious.c
|
2019-04-08 23:49:20 +00:00
|
|
|
@@ -442,6 +442,10 @@ MODULE_PARM_DESC(noirqdebug, "Disable irq lockup detection when true");
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
static int __init irqfixup_setup(char *str)
|
|
|
|
{
|
|
|
|
+#ifdef CONFIG_PREEMPT_RT_BASE
|
|
|
|
+ pr_warn("irqfixup boot option not supported w/ CONFIG_PREEMPT_RT_BASE\n");
|
|
|
|
+ return 1;
|
|
|
|
+#endif
|
|
|
|
irqfixup = 1;
|
|
|
|
printk(KERN_WARNING "Misrouted IRQ fixup support enabled.\n");
|
|
|
|
printk(KERN_WARNING "This may impact system performance.\n");
|
|
|
|
@@ -454,6 +458,10 @@ module_param(irqfixup, int, 0644);
|
|
|
|
|
|
|
|
static int __init irqpoll_setup(char *str)
|
|
|
|
{
|
|
|
|
+#ifdef CONFIG_PREEMPT_RT_BASE
|
|
|
|
+ pr_warn("irqpoll boot option not supported w/ CONFIG_PREEMPT_RT_BASE\n");
|
|
|
|
+ return 1;
|
|
|
|
+#endif
|
|
|
|
irqfixup = 2;
|
|
|
|
printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
|
|
|
|
"enabled\n");
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|