Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-17 Thread Kumar Gala
On Jun 16, 2008, at 7:06 PM, Benjamin Herrenschmidt wrote: On Mon, 2008-06-16 at 10:46 -0500, Kumar Gala wrote: The new e500mc core from Freescale is based on the e500v2 but with the following changes: * Supports only the Enhanced Debug Architecture (DSRR0/1, etc) * Floating Point * No SPE

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-17 Thread Kumar Gala
On Jun 16, 2008, at 2:26 PM, Olof Johansson wrote: On Jun 16, 2008, at 10:46 AM, Kumar Gala wrote: --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -1522,6 +1522,21 @@ static struct cpu_spec __initdata cpu_specs[] = { .machine_check =

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-17 Thread Olof Johansson
On Jun 17, 2008, at 8:56 AM, Kumar Gala wrote: On Jun 16, 2008, at 2:26 PM, Olof Johansson wrote: On Jun 16, 2008, at 10:46 AM, Kumar Gala wrote: + .machine_check = machine_check_e500, + .platform = ppc4080, Do you really want the

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-17 Thread Kumar Gala
On Jun 17, 2008, at 9:32 AM, Olof Johansson wrote: On Jun 17, 2008, at 8:56 AM, Kumar Gala wrote: On Jun 16, 2008, at 2:26 PM, Olof Johansson wrote: On Jun 16, 2008, at 10:46 AM, Kumar Gala wrote: + .machine_check = machine_check_e500, + .platform

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-17 Thread Olof Johansson
On Jun 17, 2008, at 9:42 AM, Kumar Gala wrote: But: since the cacheline is available in cputable, it can still be used at runtime, so as long as the alignments are large enough, stuff like the dcbz loops should still be OK (might need an audit though to make sure there's nothing missed).

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-17 Thread Kumar Gala
On Jun 17, 2008, at 10:04 AM, Olof Johansson wrote: On Jun 17, 2008, at 9:42 AM, Kumar Gala wrote: But: since the cacheline is available in cputable, it can still be used at runtime, so as long as the alignments are large enough, stuff like the dcbz loops should still be OK (might need an

[PATCH] powerpc/booke: Add support for new e500mc core

2008-06-16 Thread Kumar Gala
The new e500mc core from Freescale is based on the e500v2 but with the following changes: * Supports only the Enhanced Debug Architecture (DSRR0/1, etc) * Floating Point * No SPE * Supports lwsync * Doorbell Exceptions * Hypervisor --- In my powerpc-next tree. arch/powerpc/kernel/cputable.c

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-16 Thread Becky Bruce
On Jun 16, 2008, at 10:46 AM, Kumar Gala wrote: The new e500mc core from Freescale is based on the e500v2 but with the following changes: * Supports only the Enhanced Debug Architecture (DSRR0/1, etc) * Floating Point * No SPE * Supports lwsync * Doorbell Exceptions * Hypervisor --- In my

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-16 Thread Kumar Gala
On Jun 16, 2008, at 11:56 AM, Becky Bruce wrote: On Jun 16, 2008, at 10:46 AM, Kumar Gala wrote: The new e500mc core from Freescale is based on the e500v2 but with the following changes: * Supports only the Enhanced Debug Architecture (DSRR0/1, etc) * Floating Point * No SPE * Supports

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-16 Thread Olof Johansson
On Jun 16, 2008, at 10:46 AM, Kumar Gala wrote: --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -1522,6 +1522,21 @@ static struct cpu_spec __initdata cpu_specs[] = { .machine_check = machine_check_e500, .platform

Re: [PATCH] powerpc/booke: Add support for new e500mc core

2008-06-16 Thread Benjamin Herrenschmidt
On Mon, 2008-06-16 at 10:46 -0500, Kumar Gala wrote: The new e500mc core from Freescale is based on the e500v2 but with the following changes: * Supports only the Enhanced Debug Architecture (DSRR0/1, etc) * Floating Point * No SPE * Supports lwsync ^^ It supports SMP ?