Re: [PATCH] [PPC4xx] Fix device tree dts file for katmai board.

2009-11-18 Thread Stefan Roese
Hi Pravin, On Wednesday 18 November 2009 01:19:48 pbath...@amcc.com wrote: > From: Pravin Bathija > >Set size cell value to 2 for 4GB memory support in katmai. Also set > PCI-E node inbound DMA ranges size to 4GB for correct boot up of katmai. As Josh already mentioned, I already submitted

Re: [PATCH] spi/mpc52xx-spi: cleanups

2009-11-18 Thread Wolfram Sang
> > - rc |= request_irq(ms->irq1, mpc52xx_spi_irq, IRQF_SAMPLE_RANDOM, > > + rc |= request_irq(ms->irq1, mpc52xx_spi_irq, 0, > > "mpc5200-spi-spiF", ms); > > The "spiF" here is probably also a typo. Ack. Grant, if you think it is worth you may mod

Re: [PATCH] ibm_newemac: Fix EMACx_TRTR[TRT] bit shifts

2009-11-18 Thread Stefan Roese
On Wednesday 18 November 2009 01:56:55 Dave Mitchell wrote: > The TRT bit shifts were reversed for EMAC4 and non-EMAC4 during the > port from ibm_emac to ibm_newemac. This patch corrects that error. > > Signed-off-by: Dave Mitchell > Acked-by: Feng Kan > Acked-by: Prodyut Hazarika Acked-by: St

Re: [PATCH 0/4] Merge OF dynamic patches

2009-11-18 Thread Wolfram Sang
On Tue, Nov 17, 2009 at 03:04:02PM -0600, Nathan Fontenot wrote: > This set of patches merges the common dynamic device tree > updating routines of_attach_node() and of_detach_node() to > drivers/of/of_dynamic.c. > > Built and tested on powerpc, I have no access to build/test > this on microblaze.

Re: [PATCH] ibm_newemac: Fix EMACx_TRTR[TRT] bit shifts

2009-11-18 Thread David Miller
From: Stefan Roese Date: Wed, 18 Nov 2009 11:07:51 +0100 > On Wednesday 18 November 2009 01:56:55 Dave Mitchell wrote: >> The TRT bit shifts were reversed for EMAC4 and non-EMAC4 during the >> port from ibm_emac to ibm_newemac. This patch corrects that error. >> >> Signed-off-by: Dave Mitchell

[PATCH 04/16] PPC: use ACCESS_ONCE for rlimits

2009-11-18 Thread Jiri Slaby
Make sure compiler won't do weird things with limits. E.g. fetching them twice may return 2 different values after writable limits are implemented. Signed-off-by: Jiri Slaby Cc: James Morris Cc: Heiko Carstens Cc: Andrew Morton Cc: Ingo Molnar Cc: Benjamin Herrenschmidt Cc: Paul Mackerras C

Re: spi_mpc8xxx.c: chip select polarity problem

2009-11-18 Thread Torsten Fleischer
On Wen, Nov 18, 2009 00:28:23 Anton Vorontsov wrote: [...] > > > > > So it might be better to fix up initial value in the platform code? > > > > > > > > Oh, we actually cannot, because the driver calls > > > > gpio_direction_output(). > > > > > > > > And since we don't know the mode prior to SPI de

Re: [PATCH 0/4] powerpc: Fix minor build issues on 2.6.32-rc7 without CONFIG_XICS set

2009-11-18 Thread Mel Gorman
On Wed, Nov 18, 2009 at 05:05:32PM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2009-11-17 at 12:07 +, Mel Gorman wrote: > > KConfig doesn't require CONFIG_XICS to be set with CONFIG_PSERIES but if > > it's not set, there are numerous small build errors. This is a small series > > of patches

Re: [patch 06/13] powerpc: Fixup last users of irq_chip->typename

2009-11-18 Thread Scott Wood
On Tue, Nov 17, 2009 at 10:50:53PM +, Thomas Gleixner wrote: > Index: linux-2.6/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c > === > --- linux-2.6.orig/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c > +++ linux-2.6/arch/powerpc/platf

Re: [patch 3/3] [v2] powerpc: make the CMM memory hotplug aware

2009-11-18 Thread Robert Jennings
The Collaborative Memory Manager (CMM) module allocates individual pages over time that are not migratable. On a long running system this can severely impact the ability to find enough pages to support a hotplug memory remove operation. This patch adds a memory isolation notifier and a memory hot

Re: [PATCH 0/4] Merge OF dynamic patches

2009-11-18 Thread Nathan Fontenot
Wolfram Sang wrote: On Tue, Nov 17, 2009 at 03:04:02PM -0600, Nathan Fontenot wrote: This set of patches merges the common dynamic device tree updating routines of_attach_node() and of_detach_node() to drivers/of/of_dynamic.c. Built and tested on powerpc, I have no access to build/test this on

Re: [patch 06/13] powerpc: Fixup last users of irq_chip->typename

2009-11-18 Thread Thomas Gleixner
On Wed, 18 Nov 2009, Scott Wood wrote: > On Tue, Nov 17, 2009 at 10:50:53PM +, Thomas Gleixner wrote: > > Index: linux-2.6/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c > > === > > --- linux-2.6.orig/arch/powerpc/platforms/82xx/pq2a

[PATCH 0/3] powerpc: Add support for FIT uImages

2009-11-18 Thread Peter Tyser
These patches add support for creating the "new" FIT uImage type that U-Boot can use. Additional info about FIT images can be found in the doc/uImage.FIT/ directory of the U-Boot source. Here's a link to a howto which gives an overview of the format: http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.

[PATCH 1/3] powerpc: Use scripts/mkuboot.sh instead of 'mkimage'

2009-11-18 Thread Peter Tyser
mkuboot.sh provides a basic wrapper for the 'mkimage' utility. Using mkuboot.sh provides clearer error reporting and allows a toolchain to use its own 'mkimage' executable specified by ${CROSS_COMPILE}mkimage. Additionally, this brings PowerPC in line with other architectures which already call mk

[PATCH 3/3] powerpc: Add support for ram filesystems in FIT uImages

2009-11-18 Thread Peter Tyser
The PowerPC architecture has the ability to embed the ramdisk located at arch/powerpc/boot/ramdisk.image.gz into a bootable kernel image. If the bootable kernel is in the Flattened Image Tree (FIT) format, the ramdisk should be a node in the tree instead of being embedded directly in the kernel ex

[PATCH 2/3] powerpc: Add support for creating FIT uImages

2009-11-18 Thread Peter Tyser
Recent U-Boot versions support booting a Flattened Image Tree (FIT) image format. The FIT uImage format uses a tree structure to describe a kernel image as well as supporting device tree blobs, ramdisks, etc. The 'mkimage' and 'dtc' utilities convert this tree description into a binary blob that b

Re: [PATCH 00/10] Fix 8xx MMU/TLB

2009-11-18 Thread Scott Wood
Joakim Tjernlund wrote: Scott Wood wrote on 17/11/2009 01:40:11: No... I only meant that the ITLB pinning got rid of the boot hang. When I mentioned the EFAULTs before you said, "No surprise as the it seems like the DAR decoding is broken." I thought you meant you'd found a bug and fixed it

Re: [PATCH 00/10] Fix 8xx MMU/TLB

2009-11-18 Thread Joakim Tjernlund
Scott Wood wrote on 18/11/2009 22:08:24: > > Joakim Tjernlund wrote: > > Scott Wood wrote on 17/11/2009 01:40:11: > >> No... I only meant that the ITLB pinning got rid of the boot hang. > >> > >> When I mentioned the EFAULTs before you said, "No surprise as the it > >> seems like the DAR decodin

Re: [PATCH 0/3] powerpc: Add support for FIT uImages

2009-11-18 Thread Peter Tyser
On Wed, 2009-11-18 at 14:57 -0600, Peter Tyser wrote: > These patches add support for creating the "new" FIT uImage type > that U-Boot can use. Additional info about FIT images can be > found in the doc/uImage.FIT/ directory of the U-Boot source. > Here's a link to a howto which gives an overview

Re: [PATCH 00/10] Fix 8xx MMU/TLB

2009-11-18 Thread Scott Wood
Joakim Tjernlund wrote: Yeah, those are the ones that will trigger a dcbX TLB fault, copy_tofrom_user would be my guess. Perhaps I missed something in the conversions? That is, maybe some of these routines are plain wrong now for 8xx due to some other bug? A small test program in user space doin

Re: [PATCH 00/10] Fix 8xx MMU/TLB

2009-11-18 Thread Joakim Tjernlund
Scott Wood wrote on 18/11/2009 22:58:26: > > Joakim Tjernlund wrote: > > Yeah, those are the ones that will trigger a dcbX TLB fault, > > copy_tofrom_user would be my guess. Perhaps I missed something > > in the conversions? That is, maybe some of these routines are plain wrong > > now for > > 8x

Re: spi_mpc8xxx.c: chip select polarity problem

2009-11-18 Thread Anton Vorontsov
On Wed, Nov 18, 2009 at 05:20:06PM +0100, Torsten Fleischer wrote: [...] > > Oh. On the other hand, we can postpone the gpio_direction_output() > > call, and still require that the platform code (or firmware) > > should be responsible for setting a sane default values on the > > chip selects. > >

watchdog exception on 8548CDS during cpu_idle

2009-11-18 Thread Ming Lei
I used the vanilla linux 2.6.30 and compiled with mpc85xx_defconfig(enable CONFIG_BOOK_WDT) and then ran on 8548CDS and soon after I saw the prompt I hit this watchdog. bash-2.04# PowerPC Book-E Watchdog Exception NIP: c000b740 LR: c00088dc CTR: c000b6b0 REGS: cfffbf10 TRAP: 3202 Not tainted