Patchwork [2/2] powerpc/e500mc: Doorbells need to be taken w/exceptions disabled

login
register
mail settings
Submitter Kumar Gala
Date Jan. 9, 2009, 12:15 a.m.
Message ID <1231460116-26383-2-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/17444/
State Accepted
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - Jan. 9, 2009, 12:15 a.m.
We use Doorbell interrupts for IPIs and thus we need to make sure we aren't
interrupted in the process of processing the IPI.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/kernel/head_fsl_booke.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Dave Liu - Jan. 9, 2009, 2:34 a.m.
Acked-by: Dave Liu <daveliu@freescale.com>

> -----Original Message-----
> From: linuxppc-dev-bounces+daveliu=freescale.com@ozlabs.org 
> [mailto:linuxppc-dev-bounces+daveliu=freescale.com@ozlabs.org]
>  On Behalf Of Kumar Gala
> Sent: 2009?1?9? 8:15 AM
> To: linuxppc-dev@ozlabs.org
> Subject: [PATCH 2/2] powerpc/e500mc: Doorbells need to be 
> taken w/exceptionsdisabled
> 
> We use Doorbell interrupts for IPIs and thus we need to make 
> sure we aren't
> interrupted in the process of processing the IPI.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
>  arch/powerpc/kernel/head_fsl_booke.S |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/head_fsl_booke.S 
> b/arch/powerpc/kernel/head_fsl_booke.S
> index 6062669..475c937 100644
> --- a/arch/powerpc/kernel/head_fsl_booke.S
> +++ b/arch/powerpc/kernel/head_fsl_booke.S
> @@ -698,7 +698,7 @@ interrupt_base:
>  	/* Performance Monitor */
>  	EXCEPTION(0x2060, PerformanceMonitor, 
> performance_monitor_exception, EXC_XFER_STD)
>  	
> -	EXCEPTION(0x2070, Doorbell, unknown_exception, EXC_XFER_EE)
> +	EXCEPTION(0x2070, Doorbell, unknown_exception, EXC_XFER_STD)
>  
>  	/* Debug Interrupt */
>  	DEBUG_DEBUG_EXCEPTION
> -- 
> 1.5.6.5
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>

Patch

diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
index 6062669..475c937 100644
--- a/arch/powerpc/kernel/head_fsl_booke.S
+++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -698,7 +698,7 @@  interrupt_base:
 	/* Performance Monitor */
 	EXCEPTION(0x2060, PerformanceMonitor, performance_monitor_exception, EXC_XFER_STD)
 	
-	EXCEPTION(0x2070, Doorbell, unknown_exception, EXC_XFER_EE)
+	EXCEPTION(0x2070, Doorbell, unknown_exception, EXC_XFER_STD)
 
 	/* Debug Interrupt */
 	DEBUG_DEBUG_EXCEPTION