From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BB3E12C00FB for ; Tue, 13 Aug 2013 07:32:10 +1000 (EST) Message-ID: <1376343115.32100.183.camel@pasglop> Subject: Re: powerpc: Mark low level irq handlers NO_THREAD From: Benjamin Herrenschmidt To: Sebastian Andrzej Siewior Date: Tue, 13 Aug 2013 07:31:55 +1000 In-Reply-To: <1376318939-14447-1-git-send-email-bigeasy@linutronix.de> References: <1376318939-14447-1-git-send-email-bigeasy@linutronix.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Marcelo Tosatti , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2013-08-12 at 16:48 +0200, Sebastian Andrzej Siewior wrote: > From: Thomas Gleixner > > These low level handlers cannot be threaded. Mark them NO_THREAD > > Reported-by: leroy christophe > Tested-by: leroy christophe > Signed-off-by: Thomas Gleixner > Signed-off-by: Sebastian Andrzej Siewior > --- > > This patch has been posted on Feb 13, 2013 and nobody responded back then. And it was merged in 3.11 no ? :-) Cheers, Ben. > arch/powerpc/platforms/8xx/m8xx_setup.c | 1 + > arch/powerpc/sysdev/cpm1.c | 1 + > 2 files changed, 2 insertions(+) > > --- a/arch/powerpc/platforms/8xx/m8xx_setup.c > +++ b/arch/powerpc/platforms/8xx/m8xx_setup.c > @@ -43,6 +43,7 @@ static irqreturn_t timebase_interrupt(in > > static struct irqaction tbint_irqaction = { > .handler = timebase_interrupt, > + .flags = IRQF_NO_THREAD, > .name = "tbint", > }; > > --- a/arch/powerpc/sysdev/cpm1.c > +++ b/arch/powerpc/sysdev/cpm1.c > @@ -120,6 +120,7 @@ static irqreturn_t cpm_error_interrupt(i > > static struct irqaction cpm_error_irqaction = { > .handler = cpm_error_interrupt, > + .flags = IRQF_NO_THREAD, > .name = "error", > }; >