]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0054-genirq-Disable-irqpoll-on-rt.patch
rt_patches: required rebase due to printk change
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0054-genirq-Disable-irqpoll-on-rt.patch
1 From e062b6555d0b1733def3211262d296c6fcc603e3 Mon Sep 17 00:00:00 2001
2 From: Ingo Molnar <mingo@elte.hu>
3 Date: Fri, 3 Jul 2009 08:29:57 -0500
4 Subject: [PATCH 054/366] genirq: Disable irqpoll on -rt
5
6 Creates long latencies for no value
7
8 Signed-off-by: Ingo Molnar <mingo@elte.hu>
9 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
10 ---
11  kernel/irq/spurious.c | 8 ++++++++
12  1 file changed, 8 insertions(+)
13
14 diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
15 index 3214417..ed26f25 100644
16 --- a/kernel/irq/spurious.c
17 +++ b/kernel/irq/spurious.c
18 @@ -444,6 +444,10 @@ MODULE_PARM_DESC(noirqdebug, "Disable irq lockup detection when true");
19  
20  static int __init irqfixup_setup(char *str)
21  {
22 +#ifdef CONFIG_PREEMPT_RT_BASE
23 +       pr_warn("irqfixup boot option not supported w/ CONFIG_PREEMPT_RT_BASE\n");
24 +       return 1;
25 +#endif
26         irqfixup = 1;
27         printk(KERN_WARNING "Misrouted IRQ fixup support enabled.\n");
28         printk(KERN_WARNING "This may impact system performance.\n");
29 @@ -456,6 +460,10 @@ module_param(irqfixup, int, 0644);
30  
31  static int __init irqpoll_setup(char *str)
32  {
33 +#ifdef CONFIG_PREEMPT_RT_BASE
34 +       pr_warn("irqpoll boot option not supported w/ CONFIG_PREEMPT_RT_BASE\n");
35 +       return 1;
36 +#endif
37         irqfixup = 2;
38         printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
39                                 "enabled\n");
40 -- 
41 1.9.1
42