Re: [PATCH] powerpc: Add support for CoreInt delivery of interrupts onMPIC

2009-03-19 Thread Benjamin Herrenschmidt
On Wed, 2009-03-11 at 22:20 +0800, Liu Dave-R63238 wrote:
> --- a/arch/powerpc/include/asm/mpic.h
> +++ b/arch/powerpc/include/asm/mpic.h
> @@ -22,6 +22,7 @@
>  #define MPIC_GREG_FEATURE_10x00010
>  #define MPIC_GREG_GLOBAL_CONF_00x00020
>  #defineMPIC_GREG_GCONF_RESET
> 0x8000
> +#defineMPIC_GREG_GCONF_COREINT
> 0x4000
>  #defineMPIC_GREG_GCONF_8259_PTHROU_DIS
> 0x2000
>  #defineMPIC_GREG_GCONF_NO_BIAS
> 0x1000
>  #defineMPIC_GREG_GCONF_BASE_MASK
> 0x000f
> 
> 
> according to the latest UM, the MPIC_GREG_GCONF_COREINT should be
> 0x6000.
> 
You mean 0x4000 ? :-)

0x6000 looks indeed bogus.

> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH] powerpc: Add support for CoreInt delivery of interrupts onMPIC

2009-03-11 Thread Liu Dave-R63238
--- a/arch/powerpc/include/asm/mpic.h
+++ b/arch/powerpc/include/asm/mpic.h
@@ -22,6 +22,7 @@
 #define MPIC_GREG_FEATURE_10x00010
 #define MPIC_GREG_GLOBAL_CONF_00x00020
 #defineMPIC_GREG_GCONF_RESET   0x8000
+#defineMPIC_GREG_GCONF_COREINT 0x4000
 #defineMPIC_GREG_GCONF_8259_PTHROU_DIS 0x2000
 #defineMPIC_GREG_GCONF_NO_BIAS 0x1000
 #defineMPIC_GREG_GCONF_BASE_MASK   0x000f


according to the latest UM, the MPIC_GREG_GCONF_COREINT should be
0x6000.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev