[patch 1/1] powerpc: Sky CPU: redundant or incorrect tests on unsigned

2009-09-18 Thread akpm
From: Roel Kluin count is unsigned and cannot be less than 0. Signed-off-by: Roel Kluin Acked-by: Cyrill Gorcunov Cc: Benjamin Herrenschmidt Cc: Kumar Gala Cc: Brian Waite Signed-off-by: Andrew Morton --- drivers/misc/hdpuftrs/hdpu_cpustate.c |5 - 1 file changed, 5 deletions(-)

Re: Powerpc Kernel 2.6.26.5 boot panic when call cfi_probe_chip()

2009-09-18 Thread g r1x
2009/9/18 g r1x > I'm working on a 440GX demo board with a flash chip s29gl256p(128k sector > size, 32M total, CFI). I have tried 2 ways to add mtd partiton to the > kernel, but failed with kernel panic. (kernel version: 2.6.26.5) > S29GL256p is pin strapped as a 16bit width so in dts, I wrote:

PPC_4xx synopsy USB driver

2009-09-18 Thread Cote, Sylvain
Hi, I am trying the new USB dwc-otg Synopsys driver on my powerpc 405ex board. I am using the kernel 2.6.30.3 from denx git (head 2.6.30 stable 2009-09-04 snapshot). Previously I was using the USB driver from 2.6.25 kernel. The driver was unstable and was only working when I enabled some deb

Re: FPGA access over PCI-E on MPC8536

2009-09-18 Thread Grant Likely
Can you access fpga memory from u-boot? Could very well be an fpga problem. Same thing can happen on xilinx parts when accessing an undefined register address via pci bridge --> plb bus --> ipif register block --> bad address. The pci core goes into some kind of retry loop with the plb bus (I'm

linux distro recommendation

2009-09-18 Thread Marc Soleda
Hi all, please apologise me if this is not the appropiate list where to point this question. If it isn't, please let me know which is the best list/site where to send it:   I'd like to know if it's possible and if it's stable enough to install a Linux distrib with a MPC5121E. In that case, which

Linux booting issue on powerpc 440x5

2009-09-18 Thread Sumesh Kaana
Hi, I am trying to boot linux kernel (2.6.30) on PPC440x5 processor in a custom built board. I am using simple ppc platform. I have a small bootloader which will only copy the simpleImage.myboard.bin to 0x40 location of my SRAM from the flash. SRAM is only 16MB and bootloader creates one an

[PATCH 5/5 v2] kernel handling of CPU DLPAR

2009-09-18 Thread Nathan Fontenot
This adds the capability to DLPAR add and remove CPUs from the kernel. The creates two new files /sys/devices/system/cpu/probe and /sys/devices/system/cpu/release to handle the DLPAR addition and removal of CPUs respectively. CPU DLPAR add is accomplished by writing the drc-index of the CPU to th

[PATCH 4/5 v2] kernel handling of memory DLPAR

2009-09-18 Thread Nathan Fontenot
This adds the capability to DLPAR add and remove memory from the kernel. The patch extends the powerpc handling of memory_add_physaddr_to_nid(), which is called from the sysfs memory 'probe' file to first ensure that the memory has been added to the system. This is done by creating a platform sp

[PATCH 3/5 v2] Export memory_sysdev_class

2009-09-18 Thread Nathan Fontenot
Export the memory_sysdev_class structure. This is needed so we can create a 'release' file in sysfs in addition to the existing 'probe' file in order to support DLPAR removal of memory on the powerpc/pseries platform. The new 'release' file will be powerpc/pseries only. Signed-off-by: Nathan Fon

[PATCH 2/5 v2] move of_drconf_cell definition to prom.h

2009-09-18 Thread Nathan Fontenot
Move the definition of the of_drconf_cell struct from numa.c to prom.h. This is needed so that we can parse the ibm,dynamic-memory device-tree property when DLPAR adding and removing memory. Signed-off-by: Nathan Fontenot --- Index: powerpc/arch/powerpc/include/asm/prom.h =

[PATCH 1/5 v2] dynamic logical partitioning infrastructure

2009-09-18 Thread Nathan Fontenot
This patch provides the kernel DLPAR infrastructure in a new filed named dlpar.c. The functionality provided is for acquiring and releasing a resource from firmware and the parsing of information returned from the ibm,configure-connector rtas call. Additionally this exports the pSeries reconfi

[PATCH 0/5 v2] kernel handling of dynamic logical partitioning

2009-09-18 Thread Nathan Fontenot
The Dynamic Logical Partitioning (DLPAR) capabilities of the powerpc pseries platform allows for the addition and removal of resources (i.e. cpus, memory, pci devices) from a partition. The removal of a resource involves removing the resource's node from the device tree and then returning the reso

Re: [PATCH] char/hvc: adding __init macro to char/hvc_vio.c

2009-09-18 Thread Jiri Kosina
On Thu, 17 Sep 2009, Peter Huewe wrote: > > Please have a look at the small patch and either pull it through > > your tree, or please ack' it so Jiri can pull it through the trivial tree. > > > > linux version 2.6.31-rc6 - linus git tree, Do 20. Aug 22:26:06 CEST 2009 > > > > Signed-off-by: Peter