Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread Greg KH
On Sat, Jun 06, 2009 at 02:16:46PM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2009-06-05 at 17:56 -0700, David Miller wrote: > > > > > > Read my reply to Greg. Why the heck are you trying to map memory > > > non-cacheable in the first place ? > > > > I agree, this is extremely fishy. > > > >

Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread Benjamin Herrenschmidt
On Fri, 2009-06-05 at 17:56 -0700, David Miller wrote: > > > > Read my reply to Greg. Why the heck are you trying to map memory > > non-cacheable in the first place ? > > I agree, this is extremely fishy. > > I guess the issue is that the driver wants consistent DMA memory > but wants to allocat

Re: [PATCH 1/3 v3] mtd: physmap_of: Add multiple regions and concatenation support

2009-06-05 Thread Stefan Roese
On Thursday 16 April 2009 15:49:44 Stefan Roese wrote: > > Okay. It will be good to get this one into -next for some testing > > exposure. Unless he asks me to do otherwise, I'll leave this one to > > David to pick up. > > Understood. Thanks Grant. David, just checking on the status of this patc

Re: [PATCH] [POWERPC] 83xx: Add support for the Thecus N1200 NAS device

2009-06-05 Thread David Gibson
On Fri, Jun 05, 2009 at 07:44:31PM +0100, Byron Bradley wrote: > On Fri, 5 Jun 2009, David Gibson wrote: > > > On Thu, Jun 04, 2009 at 09:59:04PM +0100, Byron Bradley wrote: > > > The Thecus N1200 is a NAS device with a single internal SATA disk and > > > an eSATA port based on an MPC8347 SoC. > >

Re: [PATCH] Add MSI interrupts to DTS of MPC8315E-RDB

2009-06-05 Thread David Gibson
On Fri, Jun 05, 2009 at 07:45:41AM -0700, leon.woestenb...@gmail.com wrote: > The PCIe MSI interrupts are missing from the device tree source, and > thus were not enabled. This patch adds them. > > Tested to work on MPC8315E-RDB with custom FPGA PCIe device. > > Signed-off-by: Leon Woestenberg >

Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread David Miller
From: Benjamin Herrenschmidt Date: Sat, 06 Jun 2009 09:32:29 +1000 > >> I tried this. But, with some catch. ‘PAGE_KERNEL_NOCACHE’ seems to be the >> choice for majority of architectures like frv, m32r, sh, x86, etc, as Geert >> mentions below. However, i believe POWERPC defines it as ‘PAGE_KERNE

Re: Add "mpc5200-simple-platform" to the list of supported boards

2009-06-05 Thread Benjamin Herrenschmidt
On Fri, 2009-06-05 at 16:20 -0700, Marcelo Dalmas wrote: > Hello, > > Adding "mpc5200-simple-platform" to the list of supported boards allow to > use the option "Generic support for simple MPC5200 based boards" without > patching the kernel. Just set model to "mpc5200-simple-plataform" on your

SD card over (xilinx_)SPI, timeout error while CID

2009-06-05 Thread Joachim Foerster
Hi, we have a very strange problem with SD-card-over-SPI support using 2.6.29.4 on our custom PowerPC 405 (Virtex-4 FX FPGA) based board. To summarize the problem in one sentence: mmc_spi gets a timeout (error -110) after sending MMC command "CMD10" (CID, card identification?). The attached log f

Re: Add "mpc5200-simple-platform" to the list of supported boards

2009-06-05 Thread Grant Likely
On Fri, Jun 5, 2009 at 5:20 PM, Marcelo Dalmas wrote: > > Hello, > > Adding  "mpc5200-simple-platform" to the list of supported boards allow to > use the option "Generic support for simple MPC5200 based boards" without > patching the kernel. Just set model to "mpc5200-simple-plataform" on your dt

Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread Benjamin Herrenschmidt
> I tried this. But, with some catch. ‘PAGE_KERNEL_NOCACHE’ seems to be the > choice for majority of architectures like frv, m32r, sh, x86, etc, as Geert > mentions below. However, i believe POWERPC defines it as ‘PAGE_KERNEL_NC‘ > found at arch/powerpc/include/asm/pte-common.h. > > Paul/Banjamin

Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread Benjamin Herrenschmidt
On Fri, 2009-06-05 at 11:26 -0700, Greg KH wrote: > Should the comedi layer just not be using PAGE_KERNEL_NOCACHE here? I > can't believe that we need to do something like this in a driver. What > should the proper fix for this be? Actualy, I think powerpc -had- PAGE_KERNEL_NOCACHE and I removed

Add "mpc5200-simple-platform" to the list of supported boards

2009-06-05 Thread Marcelo Dalmas
Hello, Adding "mpc5200-simple-platform" to the list of supported boards allow to use the option "Generic support for simple MPC5200 based boards" without patching the kernel. Just set model to "mpc5200-simple-plataform" on your dts file. diff --git a/arch/powerpc/platforms/52xx/mpc5200_simpl

RE: SD card over (xilinx_)SPI, timeout error while CID

2009-06-05 Thread John Linn
> -Original Message- > From: Joachim Foerster [mailto:j...@gmx.de] > Sent: Friday, June 05, 2009 9:34 AM > To: linuxppc-...@ozlabs.org; John Linn; dbrown...@users.sourceforge.net > Cc: lor...@missinglinkelectronics.com; joac...@missinglinkelectronics.com > Subject: SD card over (xilinx_)SPI

Add "mpc5200-simple-platform" to the list of supported boards

2009-06-05 Thread Marcelo Dalmas
Hello, Adding "mpc5200-simple-platform" to the list of supported boards allow to use the option "Generic support for simple MPC5200 based boards" without patching the kernel. Just set model to "mpc5200-simple-plataform" on your dts file. Veja quais são os assuntos do momento no Yahoo! +

Re: [OOPS] hugetlbfs tests with 2.6.30-rc8-git1

2009-06-05 Thread Benjamin Herrenschmidt
On Fri, 2009-06-05 at 16:59 +0530, Sachin Sant wrote: > While executing Hugetlbfs tests against 2.6.30-rc8-git1 on a > Power 6 box observed the following OOPS message. > NIP [c0038240] .hpte_need_flush+0x1bc/0x2d8 > LR [c00380f0] .hpte_need_flush+0x6c/0x2d8 Weird. I don't really s

Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread Greg KH
On Fri, Jun 05, 2009 at 01:26:25PM -0500, Subrata Modak wrote: > >On Thu, 2009-06-04 at 22:40 +0200, Geert Uytterhoeven wrote: > >On Thu, Jun 4, 2009 at 20:07, Greg KH wrote: > > > On Thu, Jun 04, 2009 at 07:01:32PM +0530, Subrata Modak wrote: > > >> CC [M] drivers/staging/comedi/drivers.o > > >>

Re: [PATCH] [POWERPC] 83xx: Add support for the Thecus N1200 NAS device

2009-06-05 Thread Byron Bradley
On Fri, 5 Jun 2009, David Gibson wrote: > On Thu, Jun 04, 2009 at 09:59:04PM +0100, Byron Bradley wrote: > > The Thecus N1200 is a NAS device with a single internal SATA disk and > > an eSATA port based on an MPC8347 SoC. > > Comments on a number of fairly minor device tree nits below: Hi David,

Re: [BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]

2009-06-05 Thread Subrata Modak
>On Thu, 2009-06-04 at 10:07 -0400, Jon Smirl wrote: >On Thu, Jun 4, 2009 at 9:31 AM, Subrata Modak > wrote: > > CC drivers/usb/host/ohci-hcd.o > > In file included from drivers/usb/host/ohci-hcd.c:1060: > > drivers/usb/host/ohci-ppc-of.c:242:2: error: #error "No endianess selected > > for p

Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]

2009-06-05 Thread Subrata Modak
>On Thu, 2009-06-04 at 22:40 +0200, Geert Uytterhoeven wrote: >On Thu, Jun 4, 2009 at 20:07, Greg KH wrote: > > On Thu, Jun 04, 2009 at 07:01:32PM +0530, Subrata Modak wrote: > >> CC [M] drivers/staging/comedi/drivers.o > >> drivers/staging/comedi/drivers.c: In function ‘comedi_buf_alloc’: >

how can i send real-time signal?

2009-06-05 Thread wael showair
Hi All, i m using linux-kernel 2.6.27 & a board of MPC8555 processor. i have also DSP-core on the same board. My aim is : Each time the DSP-core interrupts the MPC8555 processor, a process in the user space will be informed by the arrival of this each interrupt. So i decided to use sw signals, i

Re: [PATCH V2 2/2] mtd/maps/mtd-ram: add an of-platform driver

2009-06-05 Thread Albrecht Dreß
Am 05.06.09 14:05 schrieb(en) Wolfram Sang: Create an of-aware driver using the now exported generic functions from plat-ram.c. Also add the documentation for the binding. Partitions are not yet supported. Tested on a phyCORE-MPC5200B-IO. Signed-off-by: Wolfram Sang Cc: Albrecht Dreß Cc: G

Re: [PATCH V2 2/2] mtd/maps/mtd-ram: add an of-platform driver

2009-06-05 Thread Grant Likely
On Fri, Jun 5, 2009 at 6:05 AM, Wolfram Sang wrote: > Create an of-aware driver using the now exported generic functions from > plat-ram.c. Also add the documentation for the binding. Partitions are > not yet supported. Tested on a phyCORE-MPC5200B-IO. > > Signed-off-by: Wolfram Sang > Cc: Albrec

Re: [OOPS] hugetlbfs tests with 2.6.30-rc8-git1

2009-06-05 Thread Sachin Sant
Mel Gorman wrote: That patch fixes a different problem. The assertion shouldn't have been made for hugetlbfs regions. I can only assume we are not triggering the same problem. According to your .config, DEBUG_VM is not even set so this is some other problem. Do you know what line triggered the

Re: [OOPS] hugetlbfs tests with 2.6.30-rc8-git1

2009-06-05 Thread Mel Gorman
On Fri, Jun 05, 2009 at 04:59:25PM +0530, Sachin Sant wrote: > While executing Hugetlbfs tests against 2.6.30-rc8-git1 on a > Power 6 box observed the following OOPS message. > > Oops: Kernel access of bad area, sig: 11 [#1] > SMP NR_CPUS=1024 DEBUG_PAGEALLOC NUMA pSeries > Modules linked in: ipv6

[PATCH] Add MSI interrupts to DTS of MPC8315E-RDB

2009-06-05 Thread leon . woestenberg
The PCIe MSI interrupts are missing from the device tree source, and thus were not enabled. This patch adds them. Tested to work on MPC8315E-RDB with custom FPGA PCIe device. Signed-off-by: Leon Woestenberg Tested-by: Leon Woestenberg diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/

[no subject]

2009-06-05 Thread Leon Woestenberg
diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/boot/dts/mpc8315erdb.dts index 3f4c5fb..4f04667 100644 --- a/arch/powerpc/boot/dts/mpc8315erdb.dts +++ b/arch/powerpc/boot/dts/mpc8315erdb.dts @@ -322,6 +322,21 @@ reg = <0x700 0x100>;

[PATCH V2 2/2] mtd/maps/mtd-ram: add an of-platform driver

2009-06-05 Thread Wolfram Sang
Create an of-aware driver using the now exported generic functions from plat-ram.c. Also add the documentation for the binding. Partitions are not yet supported. Tested on a phyCORE-MPC5200B-IO. Signed-off-by: Wolfram Sang Cc: Albrecht Dreß Cc: Grant Likely Cc: Ben Dooks Cc: David Woodhouse C

[PATCH V2 1/2] mtd/maps/mtd-ram: refactor probe and remove

2009-06-05 Thread Wolfram Sang
Refactor the probe and remove routines of the mtd-ram driver to export a generic part which can later be accessed by an of-counterpart of this driver. Tested with a phyCORE-i.MX27 (ARM, non-of) and a phyCORE-MPC5200B-IO (PPC, of). Signed-off-by: Wolfram Sang Cc: Albrecht Dreß Cc: Grant Likely

[PATCH V2 0/2] mtd/maps/mtd-ram: Make driver usable for the device tree

2009-06-05 Thread Wolfram Sang
Hello, this is the new series to adapt the mtd-ram-driver for use with the device tree. All comments have been addressed and it has been tested on a phyCORE-MPC5200B-IO (with latest linus-git). Albrecht: As you used the patches recently, maybe you want to ack them? Looking forward to comments, e

[Powerpc/SLQB] Next June 06 : BUG during scsi initialization

2009-06-05 Thread Sachin Sant
Sachin Sant wrote: Today's Next tree failed to boot on a Power6 box with following BUG : BUG: spinlock bad magic on CPU#1, modprobe/63 Unable to handle kernel paging request for data at address 0xc994838 Faulting instruction address: 0xc035f5a8 Oops: Kernel access of bad area, sig: 1

Re: mailing list moving

2009-06-05 Thread Stephen Rothwell
Hi Michael, On Fri, 05 Jun 2009 17:38:40 +1000 Michael Ellerman wrote: > > On Fri, 2009-06-05 at 17:26 +1000, Stephen Rothwell wrote: > > Hi all, > > > > On Sun, 31 May 2009 15:09:50 +1000 Stephen Rothwell > > wrote: > > > > The archives on lists.ozlabs.org (and ozlabs.org) have unfortunatel

Re: mailing list moving

2009-06-05 Thread Michael Ellerman
On Fri, 2009-06-05 at 17:26 +1000, Stephen Rothwell wrote: > Hi all, > > On Sun, 31 May 2009 15:09:50 +1000 Stephen Rothwell > wrote: > > > > Sometime over the next few days I will be moving this mailing list from > > ozlabs.org to lists.ozlabs.org. The old submission address > > (linuxppc-...@

Re: [PATCH] [POWERPC] 83xx: Add support for the Thecus N1200 NAS device

2009-06-05 Thread Peter Korsgaard
> "David" == David Gibson writes: David> On Thu, Jun 04, 2009 at 09:59:04PM +0100, Byron Bradley wrote: >> The Thecus N1200 is a NAS device with a single internal SATA disk and >> an eSATA port based on an MPC8347 SoC. David> Comments on a number of fairly minor device tree nits below:

Re: mailing list moving

2009-06-05 Thread Stephen Rothwell
Hi all, On Sun, 31 May 2009 15:09:50 +1000 Stephen Rothwell wrote: > > Sometime over the next few days I will be moving this mailing list from > ozlabs.org to lists.ozlabs.org. The old submission address > (linuxppc-...@ozlabs.org) will still work and I hope that references into > the archives