Re: [PATCH 06/11] powerpc/85xx: Add ethernet magic packet property to P1020 device tree

2011-10-25 Thread Kumar Gala
On Oct 25, 2011, at 5:19 PM, Scott Wood wrote: > On 10/22/2011 04:20 PM, Kumar Gala wrote: >> All eTSEC2 controllers support waking on magic packet so fixup device >> tree to report that. > > If they *all* support it, we can make the driver rely on the compatible > instead. > > -Scott I think

Re: [PATCH 1/5] powerpc/85xx: issue 15 EOI after core reset

2011-10-25 Thread Kumar Gala
On Oct 25, 2011, at 5:54 PM, Matthew McClintock wrote: > This is listed as a requirement after issuing a core reset to > properly clear pending interrupts > Fix comment message to be more clear on 'what' this is required. [ its a requirement on FSL corenet series / MPIC v4.x ] > Signed-off-by

Re: Kdump/kexec for mpc83xx

2011-10-25 Thread McClintock Matthew-B29882
On Mon, Oct 24, 2011 at 7:35 AM, radha krishna wrote: > Hi Team, > > I am using Linux-3.0 on mpc8379 RDB. I have downloaded kexec-tools-2.0.2 > package from open source and cross compiled for ppc_6xx. > But, the kexec is not booting with kernel loaded with "kexec -l". I'm not sure who has tested

[PATCH 5/5] powerpc/setup_{32, 64}.c: remove unneeded boot_cpuid{, _phys}

2011-10-25 Thread Matthew McClintock
boot_cpuid and init_thread_info.cpu are redundant, just use the var that stays around longer and add a define to make boot_cpuid point at the correct value boot_cpudid_phys is not needed and can completely go away from the SMP case, we leave it there for the non-SMP case since the paca struct is n

[PATCH 4/5] powerpc/85xx: use physical cpu from device tree

2011-10-25 Thread Matthew McClintock
Currently, we assume the first CPU to come up is the boot cpu. Instead we can use the boot_cpu_phys from the device tree. Signed-off-by: Matthew McClintock --- arch/powerpc/kernel/asm-offsets.c|4 arch/powerpc/kernel/head_fsl_booke.S |9 ++--- 2 files changed, 6 insertions(+

[PATCH 3/5] powerpc/85xx: Make kexec to interate over online cpus

2011-10-25 Thread Matthew McClintock
This is not strictly required, because this iterates over logical cpus and they are not (currently) discontigous. But, it's cleaner code and more obvious what is going on Signed-off-by: Matthew McClintock --- arch/powerpc/platforms/85xx/smp.c |2 +- 1 files changed, 1 insertions(+), 1 deleti

[PATCH 1/5] powerpc/85xx: issue 15 EOI after core reset

2011-10-25 Thread Matthew McClintock
This is listed as a requirement after issuing a core reset to properly clear pending interrupts Signed-off-by: Matthew McClintock --- arch/powerpc/sysdev/mpic.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c

[PATCH 2/5] powerpc/fsl_booke: Fix comment in head_fsl_booke.S

2011-10-25 Thread Matthew McClintock
Fix typo in comments introduced by: commit 6dece0eb69b2a28e18d104bc5d707f1cb673f5e0 Author: Scott Wood Date: Mon Jul 25 11:29:33 2011 + powerpc/32: Pass device tree address as u64 to machine_init Signed-off-by: Matthew McClintock cc: Scott Wood --- arch/powerpc/kernel/head_fsl_book

RE: [PATCH v15 00/10] Add-Synopsys-DesignWare-HS-USB-OTG-driver

2011-10-25 Thread Tirumala Marri
Hi Pratyush, < https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 06/11] powerpc/85xx: Add ethernet magic packet property to P1020 device tree

2011-10-25 Thread Scott Wood
On 10/22/2011 04:20 PM, Kumar Gala wrote: > All eTSEC2 controllers support waking on magic packet so fixup device > tree to report that. If they *all* support it, we can make the driver rely on the compatible instead. -Scott ___ Linuxppc-dev mailing li

RE: [PATCH v15 00/10] Add-Synopsys-DesignWare-HS-USB-OTG-driver

2011-10-25 Thread Tirumala Marri
< From make menuconfig. Thx, Marri ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v13 0/6] flexcan: Add support for powerpc flexcan (freescale p1010)

2011-10-25 Thread Scott Wood
On 10/18/2011 06:43 AM, Kumar Gala wrote: > >>> Robin, >>> >>> Do you remember why we went with just 'fsl,p1010-flexcan' as the device >>> tree compatible? Do we feel the flex can on P1010 isn't the same as on >>> MPC5xxx? or the ARM SoCs? >> >> The decision was due to the fact there is no true

Re: MPC8548 core "freezes"

2011-10-25 Thread Kumar Gala
On Oct 25, 2011, at 9:37 AM, JACOBS Willy wrote: > We discover on our own developed board based on a MPC8548, a FPGA connected > through the PCIe bus which the PQ3, and running U-BOOT, Linux 2.6.33.7 (+ RT > patches), and a Wind River 2.0 root file system on irregular occurrences that > the > PQ

Re: IRQ2 and IRQ 3

2011-10-25 Thread Scott Wood
On 10/18/2011 10:03 AM, Bhushan Bharat-R65777 wrote: > Hi, > > For detail please look at ePAPR specification. > > Say i2c interrupt number is 21 then you can try > "interrupts = <21 8>;" in device tree. Please read the FSL MPIC binding. For internal interrupts, you need to add 16 to the number

Re: [PATCH 2/3] [44x] Enable CONFIG_RELOCATABLE for PPC44x

2011-10-25 Thread Scott Wood
On 10/12/2011 09:15 AM, Dave Hansen wrote: > On Tue, 2011-10-11 at 18:24 +0530, Suzuki Poulose wrote: >> On 10/10/11 23:30, Scott Wood wrote: >>> On 10/10/2011 04:56 AM, Suzuki K. Poulose wrote: #if defined(CONFIG_RELOCATABLE)&& defined(CONFIG_44x) #define __va(x) ((void *)(unsigned long

MPC8548 core "freezes"

2011-10-25 Thread JACOBS Willy
We discover on our own developed board based on a MPC8548, a FPGA connected through the PCIe bus which the PQ3, and running U-BOOT, Linux 2.6.33.7 (+ RT patches), and a Wind River 2.0 root file system on irregular occurrences that the PQ3 "freezes". The main application running on the PQ3 transfer

Re: Kdump/kexec for mpc83xx

2011-10-25 Thread Suzuki Poulose
On 10/24/11 18:05, radha krishna wrote: Hi Team, I am using Linux-3.0 on mpc8379 RDB. I have downloaded kexec-tools-2.0.2 package from open source and cross compiled for ppc_6xx. But, the kexec is not booting with kernel loaded with "kexec -l". I am not familiar with mcp8379 RDB. AFAIK, the p

[PATCH v2 4/5] [44x] Enable CRASH_DUMP for 440x

2011-10-25 Thread Suzuki K. Poulose
Now that we have relocatable kernel, supporting CRASH_DUMP only requires turning the switches on for UP machines. We don't have kexec support on 47x yet. Enabling SMP support would be done as part of enabling the PPC_47x support. Signed-off-by: Suzuki K. Poulose Cc: Josh Boyer Cc: Benj

[PATCH v2 5/5] [boot] Change the load address for the wrapper to fit the kernel

2011-10-25 Thread Suzuki K. Poulose
The wrapper code which uncompresses the kernel in case of a 'ppc' boot is by default loaded at 0x0040 and the kernel will be uncompressed to fit the location 0-0x0040. But with dynamic relocations, the size of the kernel may exceed 0x0040(4M). This would cause an overlap of the uncompre

[PATCH v2 3/5] [44x] Enable CONFIG_RELOCATABLE for PPC44x

2011-10-25 Thread Suzuki K. Poulose
The following patch adds relocatable support for PPC44x kernel. This enables two types of relocatable kernel support for PPC44x. 1) The old style, mapping based- which restricts the load address to 256M aligned. 2) The new approach based on processing dynamic relocation entries - CONFIG_RE

[PATCH v2 2/5] [ppc] Define virtual-physical translations for PIE relocations

2011-10-25 Thread Suzuki K. Poulose
We find the runtime address of _stext and relocate ourselves based on the following calculation. virtual_base = ALIGN(KERNELBASE,KERNEL_TLB_PIN_SIZE) + MODULO(_stext.run,KERNEL_TLB_PIN_SIZE) relocate() is called with the Effective Virtual Base Address (as shown bel

[PATCH v2 1/5] [ppc] Process dynamic relocations for kernel

2011-10-25 Thread Suzuki K. Poulose
The following patch implements the dynamic relocation processing for PPC32 kernel. relocate() accepts the target virtual address and relocates the kernel image to the same. Currently the following relocation types are handled : R_PPC_RELATIVE R_PPC_ADDR16_LO R_PPC_ADDR16_

[PATCH v2 0/5] Kdump support for PPC440x

2011-10-25 Thread Suzuki K. Poulose
The following series implements: * Generic framework for relocatable kernel on PPC32, based on processing the dynamic relocation entries. * Relocatable kernel support for 44x * Kdump support for 44x. Doesn't support 47x yet, as the kexec support is missing. Changes from V1: * Splitt

RE: [PATCH 3/5][v2] fsl-rio: Add two ports and rapidio message units support

2011-10-25 Thread Liu Gang-B34182
-Original Message- From: Bounine, Alexandre [mailto:alexandre.boun...@idt.com] Sent: Monday, October 24, 2011 9:51 PM To: Liu Gang-B34182; Kumar Gala; linuxppc-...@ozlabs.org; Zang Roy-R61911 Cc: Andrew Morton; linux-ker...@vger.kernel.org Subject: RE: [PATCH 3/5][v2] fsl-rio: Add two po