[PATCH] [POWERPC] 85xx/86xx: refactor RSTCR reset code

2007-10-04 Thread Kumar Gala
On the majority of 85xx 86xx we have a register that's ability to assert HRESET_REQ to reset the board. We refactored that code so it can be shared between both platforms into fsl_soc.c and removed all the duplication in each platform directory. --- arch/powerpc/boot/dts/mpc8641_hpcn.dts |

Re: [PATCH 0/3] Fixups to SystemACE driver

2007-10-04 Thread Jens Axboe
On Wed, Oct 03 2007, Grant Likely wrote: Jens, Here are some more Sysace patches based on comments received on the first series and a run through sparse. Can you please queue them up for 2.6.24? Applied all 3, looked fine to me. -- Jens Axboe

Re: [PATCH 4/4] edac: Add Cell memory controller

2007-10-04 Thread Stephen Rothwell
On Thu, 04 Oct 2007 15:40:44 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: +++ linux-work/drivers/edac/cell-edac.c 2007-10-04 15:34:46.0 +1000 @@ -0,0 +1,258 @@ +#include linux/module.h +#include linux/init.h +#include linux/platform_device.h +#include

Re: [PATCH 4/4] edac: Add Cell memory controller

2007-10-04 Thread Benjamin Herrenschmidt
On Thu, 2007-10-04 at 17:00 +1000, Stephen Rothwell wrote: On Thu, 04 Oct 2007 15:40:44 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: +++ linux-work/drivers/edac/cell-edac.c 2007-10-04 15:34:46.0 +1000 @@ -0,0 +1,258 @@ +#include linux/module.h +#include

Re: [PATCH] Don't build arch/powerpc/sysdev/dcr.c for ARCH=ppc kernels

2007-10-04 Thread Josh Boyer
On Wed, 2007-10-03 at 22:50 -0600, Grant Likely wrote: From: Grant Likely [EMAIL PROTECTED] dcr.c is an arch/powerpc only thing. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- Ben/Paulus, As far as I can tell this is correct. Having sysdev/dcr.c in the arch/ppc build spits out

Re: [PATCH] Don't build arch/powerpc/sysdev/dcr.c for ARCH=ppc kernels

2007-10-04 Thread Benjamin Herrenschmidt
On Thu, 2007-10-04 at 05:56 -0500, Josh Boyer wrote: On Wed, 2007-10-03 at 22:50 -0600, Grant Likely wrote: From: Grant Likely [EMAIL PROTECTED] dcr.c is an arch/powerpc only thing. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- Ben/Paulus, As far as I can tell this is

Re: [PATCH] Don't build arch/powerpc/sysdev/dcr.c for ARCH=ppc kernels

2007-10-04 Thread Josh Boyer
On Thu, 04 Oct 2007 21:08:04 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Thu, 2007-10-04 at 05:56 -0500, Josh Boyer wrote: On Wed, 2007-10-03 at 22:50 -0600, Grant Likely wrote: From: Grant Likely [EMAIL PROTECTED] dcr.c is an arch/powerpc only thing.

Re: [PATCH 2/5] Add initial MPC8610 HPCD Platform files.

2007-10-04 Thread Jon Loeliger
So, like, the other day Kumar Gala mumbled: On Oct 3, 2007, at 10:41 PM, Stephen Rothwell wrote: On Wed, 03 Oct 2007 15:09:33 -0500 Jon Loeliger [EMAIL PROTECTED] wrote: +++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c +#include linux/stddef.h +#include linux/kernel.h

[RFC][PATCH][POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading

2007-10-04 Thread Anton Vorontsov
On Wed, Oct 03, 2007 at 08:02:42AM +1000, Benjamin Herrenschmidt wrote: Exactly, this is what that patch is trying to do. QEIC cascade handler is calling mpic's eoi() (end() actually, as it's flow level, but end == eoi. Is it main objection? Ok, I can get rid of it, and use chip level

Re: [PATCH 2/5] Add initial MPC8610 HPCD Platform files.

2007-10-04 Thread Kumar Gala
On Oct 4, 2007, at 7:48 AM, Jon Loeliger wrote: So, like, the other day Kumar Gala mumbled: On Oct 3, 2007, at 10:41 PM, Stephen Rothwell wrote: On Wed, 03 Oct 2007 15:09:33 -0500 Jon Loeliger [EMAIL PROTECTED] wrote: +++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c +#include

[PATCH] [POWERPC] 85xx: Killed asm/mpc85xx.h

2007-10-04 Thread Kumar Gala
asm-powerpc/mpc85xx.h was really a hold over from arch/ppc. Now that more decoupling has occurred we can remove asm/mpc85xx.h and some of its legacy. As part of this we moved the definition of CPM_MAP_ADDR into cpm2_common for 85xx platforms. This is a stop gap until we switch them over to the

Re: Stdout console clogging = 300ms blocked

2007-10-04 Thread Linas Vepstas
Hi Bernard, On Wed, Oct 03, 2007 at 08:49:12PM +, Hollis Blanchard wrote: On Tue, 02 Oct 2007 09:41:28 +0200, Willaert, Bernard wrote: Problem: When we log debug output via the serial console on a multithreaded application, the console throughput may get clogged and then we

Re: [PATCH 2/2]: PCI Error Recovery: Symbios SCSI First Failure

2007-10-04 Thread Linas Vepstas
On Mon, Oct 01, 2007 at 07:27:30PM -0600, Matthew Wilcox wrote: The thing to remember is that sym2 is in transition from being a dual BSD/Linux driver to being a purely Linux driver. I was wondering about that; couldn't tell if the split in the code was historical, or being intentionally

Re: Console handover: tty0 instead of ttyCPM0?

2007-10-04 Thread Scott Wood
Alan Bennett wrote: Do you know what would cause this? I've configured a board to console off of SMC1 (ttyCPM0) and on 1 board it works fine, however a new revision of the board I get the following result and lose the console. Both boards have exact versions of the kernel and u-boot.

Console handover: tty0 instead of ttyCPM0?

2007-10-04 Thread Alan Bennett
Do you know what would cause this? I've configured a board to console off of SMC1 (ttyCPM0) and on 1 board it works fine, however a new revision of the board I get the following result and lose the console. Both boards have exact versions of the kernel and u-boot. BAD: console handover: boot

Re: [PATCH] [POWERPC] update immap_86xx.h for the 8610

2007-10-04 Thread Timur Tabi
Kumar, can you pull this patch into your 2.6.24 tree? It's needed for the 8610. Timur Tabi wrote: Update the definition of the global utilities structure (ccsr_guts) in immap_86xx.h and add some related macros for the Freescale 8610 SOC. Signed-off-by: Timur Tabi [EMAIL PROTECTED] ---

Re: [RFC][PATCH][POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading

2007-10-04 Thread Benjamin Herrenschmidt
From: Anton Vorontsov [EMAIL PROTECTED] Subject: [PATCH] [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading set_irq_chained_handler overwrites MPIC's handle_irq function (handle_fasteoi_irq) thus MPIC never gets eoi event from the cascaded IRQ. This situation hangs MPIC on

include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory

2007-10-04 Thread Timur Tabi
Kumar, this is what I get when I compile your 2.6.24 branch for the 8610: CC arch/powerpc/sysdev/fsl_soc.o In file included from arch/powerpc/sysdev/fsl_soc.c:40: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1

Re: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory

2007-10-04 Thread Kumar Gala
On Oct 4, 2007, at 5:28 PM, Timur Tabi wrote: Kumar, this is what I get when I compile your 2.6.24 branch for the 8610: CC arch/powerpc/sysdev/fsl_soc.o In file included from arch/powerpc/sysdev/fsl_soc.c:40: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory

Re: 2.6.23-rc7-mm1 -- powerpc rtas panic

2007-10-04 Thread Nish Aravamudan
On 10/2/07, Tony Breeds [EMAIL PROTECTED] wrote: On Wed, Oct 03, 2007 at 10:30:16AM +1000, Michael Ellerman wrote: I realise it'll make the patch bigger, but this doesn't seem like a particularly good name for the variable anymore. Sure, what about? Clarify when RTAS logging is enabled.

Re: [RFC] [PATCH] PowerPC: add more than 4MB kernel image size support to bootwarapper

2007-10-04 Thread Mark A. Greer
On Wed, Oct 03, 2007 at 03:50:05PM +1000, David Gibson wrote: On Fri, Sep 28, 2007 at 06:23:09PM +0400, Valentine Barshak wrote: David Gibson wrote: On Mon, Sep 24, 2007 at 03:36:27PM +0400, Valentine Barshak wrote: Looking deeper at this I've found that currently u-boot thinks that

Re: [RFC] [PATCH] PowerPC: add more than 4MB kernel image size support to bootwarapper

2007-10-04 Thread David Gibson
On Thu, Oct 04, 2007 at 06:58:49PM -0700, Mark A. Greer wrote: On Wed, Oct 03, 2007 at 03:50:05PM +1000, David Gibson wrote: On Fri, Sep 28, 2007 at 06:23:09PM +0400, Valentine Barshak wrote: David Gibson wrote: On Mon, Sep 24, 2007 at 03:36:27PM +0400, Valentine Barshak wrote:

Re: [RFC] [PATCH] PowerPC: add more than 4MB kernel image size support to bootwarapper

2007-10-04 Thread Mark A. Greer
On Fri, Oct 05, 2007 at 12:25:54PM +1000, David Gibson wrote: On Thu, Oct 04, 2007 at 06:58:49PM -0700, Mark A. Greer wrote: On Wed, Oct 03, 2007 at 03:50:05PM +1000, David Gibson wrote: On Fri, Sep 28, 2007 at 06:23:09PM +0400, Valentine Barshak wrote: David Gibson wrote: On Mon,

Re: [RFC] [PATCH] PowerPC: add more than 4MB kernel image size support to bootwarapper

2007-10-04 Thread Mark A. Greer
On Thu, Oct 04, 2007 at 07:59:30PM -0700, Mark A. Greer wrote: On Fri, Oct 05, 2007 at 12:25:54PM +1000, David Gibson wrote: The zImage is already hardware and firmware specific; And [potentially] firmware version and zImage size specific. I meant to add, which is why it'll be difficult

Re: [PATCH] [POWERPC] update immap_86xx.h for the 8610

2007-10-04 Thread Kumar Gala
On Oct 4, 2007, at 5:03 PM, Timur Tabi wrote: Kumar, can you pull this patch into your 2.6.24 tree? It's needed for the 8610. applied. - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Fix regression. Make hot unlplug of CPU0 work again.

2007-10-04 Thread Tony Breeds
Early in the 2.6.23 cycle we broke the ability to offline cpu0 (7ccb4a662462616f6be5053e26b79580e02f1529). This patch fixes that by ensuring that the (xics) default irq server, will not be 0 when taking cpu0 offline. Also catches a use of irq, when virq should be used (I think that the last

Re: [PATCH 4/7] [POWERPC] QE pario: support for MPC85xx layout

2007-10-04 Thread Kumar Gala
On Sep 25, 2007, at 9:34 AM, Anton Vorontsov wrote: 8 bytes padding required to match MPC85xx registers layout. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/sysdev/qe_lib/qe_io.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: [RFC][PATCH][POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading

2007-10-04 Thread Kumar Gala
On Oct 4, 2007, at 5:05 PM, Benjamin Herrenschmidt wrote: From: Anton Vorontsov [EMAIL PROTECTED] Subject: [PATCH] [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading set_irq_chained_handler overwrites MPIC's handle_irq function (handle_fasteoi_irq) thus MPIC never gets eoi