Re: Pegasos OHCI bug (was Re: PROBLEM: memory corrupting bug,

2010-11-04 Thread pacman
Segher Boessenkool writes: > > > Now I'm just trying to find the more correct way of doing it, without > > hardcoded addresses. That'll be something like this: > > > > search the device tree for OHCI nodes > > for each OHCI node > > get assigned-addresses > > map-in > > set HCR > >

[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-04 Thread Lan Chunhe
We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/platforms/85xx/corenet_ds.c |3 +++ 1 files changed, 3 insertions(+), 0 deleti

[PATCH 2/3] edac/85xx: PCI/PCIE error interrupt edac support

2010-11-04 Thread Lan Chunhe
Add pcie error interrupt edac support for mpc85xx and p4080. mpc85xx uses the legacy interrupt report mechanism - the error interrupts are reported directly to mpic. While, p4080 attaches most of error interrupts to interrupt 0. And report error interrupt to mpic via interrupt 0. This patch can han

[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-04 Thread Lan Chunhe
There are some differences of register offset and definition between pci and pcie error management registers. While, some other pci/pcie error management registers are nearly the same. To merge pci and pcie edac code into one, it is easier to use ccsr_pci structure than the hardcoded define. So re

[PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-04 Thread Lan Chunhe
We need to get the pci controller created as an of platform device to allow the EDAC driver to bind to it on P4080DS. Signed-off-by: Kai.Jiang Signed-off-by: Kumar Gala Signed-off-by: Lan Chunhe --- arch/powerpc/platforms/85xx/corenet_ds.c |3 +++ 1 files changed, 3 insertions(+), 0 deleti

[PATCH 2/3] edac/85xx: PCI/PCIE error interrupt edac support

2010-11-04 Thread Lan Chunhe
Add pcie error interrupt edac support for mpc85xx and p4080. mpc85xx uses the legacy interrupt report mechanism - the error interrupts are reported directly to mpic. While, p4080 attaches most of error interrupts to interrupt 0. And report error interrupt to mpic via interrupt 0. This patch can han

[PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-04 Thread Lan Chunhe
There are some differences of register offset and definition between pci and pcie error management registers. While, some other pci/pcie error management registers are nearly the same. To merge pci and pcie edac code into one, it is easier to use ccsr_pci structure than the hardcoded define. So re

Re: [PATHC v1] PPC4xx: Adding PCI(E) MSI support

2010-11-04 Thread Tirumala Marri
Appreciate your review. > + static int int_no = 0; /* To remember last used interrupt */ > > This is a worry. There is nothing AFAIK to stop two drivers (eg. network > & scsi) calling into here at the same time, which could lead to > corrupting int_no. If you just want a global counter you n

[PATCH 00/49] Use vzalloc not vmalloc/kmemset

2010-11-04 Thread Joe Perches
Converted vmalloc/memset and vmalloc_node/memset to vzalloc or vzalloc_node using a cocci script and some editing Reduces text a little bit. Compiled x86 only. There are still vmalloc_32 with memset calls still around. Broken out to multiple patches to cc appropriate maintainers. Joe Perches (

[PATCH 03/49] arch/powerpc: Use vzalloc

2010-11-04 Thread Joe Perches
Signed-off-by: Joe Perches --- arch/powerpc/kvm/book3s.c |6 ++ arch/powerpc/platforms/cell/spufs/lscsa_alloc.c |3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index e316847..4275463 100

Re: Debugging kernel on mpc7448

2010-11-04 Thread tiejun.chen
Cajus Pollmeier wrote: > Hello there, > > I'm currently trying to get a kernel upgrade from 2.6.11 to 2.6.31 > working with u-boot/cuImage.c2k on a custom marvell discovery 3 board. Are you sure if all device nodes information of c2k.dts are matched your actual board hardware? If no I think you h

[PATCH v2] iSeries: Remove unused mf_getSrcHistory function and caller.

2010-11-04 Thread Jesper Juhl
On Tue, 2 Nov 2010, Michael Ellerman wrote: > On Mon, 2010-11-01 at 22:20 +0100, Jesper Juhl wrote: > > Hi Stephen, > > > > On Tue, 2 Nov 2010, Stephen Rothwell wrote: > > > > > On Mon, 1 Nov 2010 21:06:23 +0100 (CET) Jesper Juhl > > > wrote: > > > > > > > > Remove unused function 'mf_getSrcHi

Re: Pb G4: Suspend-to-RAM doesn't work for aTi users

2010-11-04 Thread Benjamin Herrenschmidt
On Thu, 2010-11-04 at 21:14 +0100, jjDaNiMoTh wrote: > > Nvidia users can sleep with happiness. Ugh... Not sure about that :-) Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Pb G4: Suspend-to-RAM doesn't work for aTi users

2010-11-04 Thread Benjamin Herrenschmidt
On Thu, 2010-11-04 at 21:14 +0100, jjDaNiMoTh wrote: > I read somewhere (ati-dri devel ml, maybe?) that suspend on aTi > machines was broken with KMS, and I have exactly this problem. It is > fixed now, so maybe I have some bad conf file? Or this feature isn't > implemented yet? Not implemented ye

Pb G4: Suspend-to-RAM doesn't work for aTi users

2010-11-04 Thread jjDaNiMoTh
Hello to all, I read somewhere (ati-dri devel ml, maybe?) that suspend on aTi machines was broken with KMS, and I have exactly this problem. It is fixed now, so maybe I have some bad conf file? Or this feature isn't implemented yet? I have these errors: [r...@jim ~]# echo 'mem' > /sys/power/stat