Re: Long boot delay on 460EX with 2.6.28-rc8

2008-12-19 Thread Felix Radensky
Stefan Roese wrote: Is this an expected behavior - detection of 256 MiB NAND flash takes around 20 seconds. The ndfc driver works fine after boot. No, 20 seconds is definitely too long. Something must be wrong with the ndfc driver or the NAND dts entries. Best regards, Stefan

Re: Long boot delay on 460EX with 2.6.28-rc8

2008-12-19 Thread Felix Radensky
Stefan Roese wrote: Is this an expected behavior - detection of 256 MiB NAND flash takes around 20 seconds. The ndfc driver works fine after boot. No, 20 seconds is definitely too long. Something must be wrong with the ndfc driver or the NAND dts entries. Best regards, Stefan

Re: [PATCH 1/10] powerpc/4xx: Extended DCR support v2

2008-12-19 Thread Josh Boyer
On Fri, Dec 19, 2008 at 04:13:22PM +1100, Benjamin Herrenschmidt wrote: This adds supports to the extended DCR addressing via the indirect mfdcrx/mtdcrx instructions supported by some 4xx cores (440H6 and later) I enabled the feature for now only on AMCC 460 chips Signed-off-by: Benjamin

Re: [PATCH 7/10] powerpc/44x: No need to mask MSR:CE,ME or DE in _tlbil_va on 440

2008-12-19 Thread Josh Boyer
On Fri, Dec 19, 2008 at 04:13:46PM +1100, Benjamin Herrenschmidt wrote: The handlers for Critical, Machine Check or Debug interrupts will save and restore MMUCR nowadays, thus we only need to disable normal interrupts when invalidating TLB entries. Signed-off-by: Benjamin Herrenschmidt

Re: [PATCH 10/10] powerpc/44x: 44x TLB doesn't need Guarded set for all pages

2008-12-19 Thread Josh Boyer
On Fri, Dec 19, 2008 at 04:13:54PM +1100, Benjamin Herrenschmidt wrote: After discussing with chip designers, it appears that it's not necessary to set G everywhere on 440 cores. The various core errata related to prefetch should be sorted out by firmware by disabling icache prefetching in CCR0.

Re: [PATCH 0/10] powerpc: Preliminary work to enable SMP BookE (v3)

2008-12-19 Thread Kumar Gala
On Dec 18, 2008, at 11:13 PM, Benjamin Herrenschmidt wrote: This series of patches is aimed at supporting SMP on non-hash based processors. It consists of a rework of the MMU context management and TLB management, clearly splitting hash32, hash64 and nohash in both cases, adding SMP safe

[PATCH] wrapper: Use the child-bus #address-cells to decide which range entry to use

2008-12-19 Thread Scott Wood
The correct #address-cells was still used for the actual translation, so the impact is only a possibility of choosing the wrong range entry or failing to find any match. Most common cases were not affected. Signed-off-by: Scott Wood scottw...@freescale.com --- arch/powerpc/boot/devtree.c |2

Re: [PATCH] mm/shmem.c: fix division by zero

2008-12-19 Thread Andrew Morton
On Fri, 19 Dec 2008 08:44:57 +0300 Yuri Tikhonov y...@emcraft.com wrote: The following patch fixes division by zero, which we have in shmem_truncate_range() and shmem_unuse_inode(), if use big PAGE_SIZE values (e.g. 256KB on ppc44x). With 256KB PAGE_SIZE the ENTRIES_PER_PAGEPAGE constant

Re: Long boot delay on 460EX with 2.6.28-rc8

2008-12-19 Thread Felix Radensky
Stefan Roese wrote: On Friday 19 December 2008, Felix Radensky wrote: Thanks a lot to everyone who replied. I've managed to identify the cause of the delay. The board is equipped with 256 MiB Samsung NAND flash. Since NAND support is a must for this platform, I've intergated the ndfc driver

[PATCH] powerpc: Update 8641hpcn dts file to match latest u-boot

2008-12-19 Thread Becky Bruce
The newest revision of uboot reworks the memory map for this board to look more like the 85xx boards. Also, some regions which were far larger than the actual hardware have been scaled back to match the board, and the imaginary second flash bank has been removed. Rapidio and PCI are mutually

[PATCH] powerpc/5200: Make internal 5200 PIC the default interrupt controller

2008-12-19 Thread Grant Likely
From: Grant Likely grant.lik...@secretlab.ca The MPC5200 internal interrupt controller setup function needs to set the default interrupt controller when it is called. Without this irq_create_of_mapping() cannot be called without first determining the pointer to the irq controller (ie. call with

970FX thermal diode on G5

2008-12-19 Thread Kevin Diggs
Hi, Is the thermal diode on a 970FX used on a G5? Can it be read by software? kevin ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: 970FX thermal diode on G5

2008-12-19 Thread Benjamin Herrenschmidt
On Fri, 2008-12-19 at 18:54 -0800, Kevin Diggs wrote: Hi, Is the thermal diode on a 970FX used on a G5? Can it be read by software? The existing thermal control should do all you need already :-) Cheers, Ben. ___ Linuxppc-dev mailing list

Re: Long boot delay on 460EX with 2.6.28-rc8

2008-12-19 Thread Sean MacLennan
On Fri, 19 Dec 2008 23:23:58 +0200 Felix Radensky fe...@embedded-sol.com wrote: Hi, Sean Do you have any ideas what can cause such delay ? Sorry, I haven't been following this thread :( We also use a 256M NAND, although a Spansion S29GL. While there is a small delay in u-boot, there is no

Re: Long boot delay on 460EX with 2.6.28-rc8

2008-12-19 Thread Felix Radensky
Sean MacLennan-2 wrote: On Fri, 19 Dec 2008 23:23:58 +0200 Felix Radensky fe...@embedded-sol.com wrote: Hi, Sean Do you have any ideas what can cause such delay ? Sorry, I haven't been following this thread :( We also use a 256M NAND, although a Spansion S29GL. While there is a

Re: [PATCH]: [MPC5200] Add ATA DMA support

2008-12-19 Thread Grant Likely
On Tue, Nov 25, 2008 at 8:19 AM, Matt Sealey m...@genesi-usa.com wrote: On Tue, Nov 25, 2008 at 8:45 AM, Lehmann, Hans (Ritter Elektronik) hans.lehm...@ritter-elektronik.de wrote: Tim, Grant, just an info. Very often the Bestcomm-FEC crashed without any error logs if I initiate a