* [PATCH] MIPS: Octeon: Mark SMP-IPI interrupt as IRQF_NO_THREAD
@ 2011-10-03 20:31 Venkat Subbiah
2011-10-03 21:44 ` Thomas Gleixner
2011-11-04 16:30 ` Ralf Baechle
0 siblings, 2 replies; 3+ messages in thread
From: Venkat Subbiah @ 2011-10-03 20:31 UTC (permalink / raw)
To: linux-mips, ralf; +Cc: linux-rt-users, david.daney
From: Venkat Subbiah <venkat.subbiah@cavium.com>
This is to exclude it from force threading to allow RT patch set to work.
And while on this line
* Remove IRQF_DISABLED as as this flag is NOOP
* Add IRQF_PERCPU as this is a per cpu interrupt.
Signed-off-by: Venkat Subbiah <venkat.subbiah@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
---
arch/mips/cavium-octeon/smp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 8b60642..efcfff4 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -207,8 +207,9 @@ void octeon_prepare_cpus(unsigned int max_cpus)
* the other bits alone.
*/
cvmx_write_csr(CVMX_CIU_MBOX_CLRX(cvmx_get_core_num()), 0xffff);
- if (request_irq(OCTEON_IRQ_MBOX0, mailbox_interrupt, IRQF_DISABLED,
- "SMP-IPI", mailbox_interrupt)) {
+ if (request_irq(OCTEON_IRQ_MBOX0, mailbox_interrupt,
+ IRQF_PERCPU | IRQF_NO_THREAD, "SMP-IPI",
+ mailbox_interrupt)) {
panic("Cannot request_irq(OCTEON_IRQ_MBOX0)\n");
}
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: Octeon: Mark SMP-IPI interrupt as IRQF_NO_THREAD
2011-10-03 20:31 [PATCH] MIPS: Octeon: Mark SMP-IPI interrupt as IRQF_NO_THREAD Venkat Subbiah
@ 2011-10-03 21:44 ` Thomas Gleixner
2011-11-04 16:30 ` Ralf Baechle
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2011-10-03 21:44 UTC (permalink / raw)
To: Venkat Subbiah; +Cc: linux-mips, ralf, linux-rt-users, david.daney
On Mon, 3 Oct 2011, Venkat Subbiah wrote:
> From: Venkat Subbiah <venkat.subbiah@cavium.com>
>
> This is to exclude it from force threading to allow RT patch set to work.
> And while on this line
> * Remove IRQF_DISABLED as as this flag is NOOP
> * Add IRQF_PERCPU as this is a per cpu interrupt.
>
>
> Signed-off-by: Venkat Subbiah <venkat.subbiah@cavium.com>
> Acked-by: David Daney <david.daney@cavium.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: Octeon: Mark SMP-IPI interrupt as IRQF_NO_THREAD
2011-10-03 20:31 [PATCH] MIPS: Octeon: Mark SMP-IPI interrupt as IRQF_NO_THREAD Venkat Subbiah
2011-10-03 21:44 ` Thomas Gleixner
@ 2011-11-04 16:30 ` Ralf Baechle
1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2011-11-04 16:30 UTC (permalink / raw)
To: Venkat Subbiah; +Cc: linux-mips, linux-rt-users, david.daney
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-04 16:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03 20:31 [PATCH] MIPS: Octeon: Mark SMP-IPI interrupt as IRQF_NO_THREAD Venkat Subbiah
2011-10-03 21:44 ` Thomas Gleixner
2011-11-04 16:30 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).