RE: FSL DMA engine transfer to PCI memory

2011-01-26 Thread David Laight
What was the ppc you used? The 8315E PowerQUIICC II On 85xx/QorIQ-family chips such as P2020, there is no DMA controller inside the PCIe controller itself (or are you talking about bus mastering by the PCIe device[1]? interface is a bit ambiguous), though it was considered part of the

Re: About mpc85xx flash memory allocation

2011-01-26 Thread Mitsutaka Amano
On Tue, Jan 25, 2011 at 11:17 AM, Mitsutaka Amano mitsutaka.am...@gmail.com wrote: On Tue, Jan 25, 2011 at 11:05 AM, tiejun.chen tiejun.c...@windriver.com wrote: Mitsutaka Amano wrote: On Mon, Jan 24, 2011 at 3:48 PM, tiejun.chen tiejun.c...@windriver.com wrote: Mitsutaka Amano wrote: Hi

[PATCH 2/2] powerpc/476: Workaround for PLB6 hang

2011-01-26 Thread Dave Kleikamp
The 476FP core may hang if an instruction fetch happens during an msync following a tlbsync. This workaround makes sure that enough instruction cache lines are pre-fetched before executing the msync. (sync and msync are the same to the compiler.) Signed-off-by: Dave Kleikamp

[PATCH 0/2] Workaround for PowerPC 476FP hardware bug

2011-01-26 Thread Dave Kleikamp
These patches add a workaround to avoid a hang on the DD2 level of the 476FP core. This hardware bug will be fixed in future products, but this particular core will used in production. Dave Kleikamp (2): powerpc/476: define specific cpu table entry DD2 core powerpc/476: Workaround for PLB6

Re: [PATCH V8 03/10] USB/ppc4xx: Add Synopsys DWC OTG Core Interface Layer

2011-01-26 Thread Alexander Gordeev
В Wed, 19 Jan 2011 14:57:32 -0800 tma...@apm.com пишет: From: Tirumala Marri tma...@apm.com Core Interface Layer Common provides common functions for both host controller and peripheral controller. CIL manages the memory map for the core. It also handles basic tasks like reading/writing

[PATCH 1/2] powerpc/476: define specific cpu table entry DD2 core

2011-01-26 Thread Dave Kleikamp
The DD2 core still has some unstability. Define CPU_FTR_476_DD2 to enable workarounds in later patches. This is based on an earlier, unreleased patch for DD1 by Ben Herrenschmidt. Signed-off-by: Dave Kleikamp sha...@linux.vnet.ibm.com --- arch/powerpc/include/asm/cputable.h |3 ++-

Re: [PATCH V8 04/10] USB/ppc4xx: Add Synopsys DWC OTG HCD function

2011-01-26 Thread Alexander Gordeev
Hi, Please consider squashing this little patch into yours. The driver currently prints 0x as the register base. This patch will fix that. commit 2f850fe637101be287f116a37282b6b1a09e6a98 Author: Alexander Gordeev lasa...@lvk.cs.msu.su Date: Mon Nov 29 15:15:25 2010 +0300 dwc_otg:

RE: [PATCH V8 03/10] USB/ppc4xx: Add Synopsys DWC OTG CoreInterface Layer

2011-01-26 Thread David Laight
Also in_le32/out_le32/in_be32/out_be32 are architecture-specific AFAIK. Isn't the whole patch architecture-specific ? I'd suggest using readl/writel for LE ops and __be32_to_cpu(__raw_readl(addr))/__raw_writel(__cpu_to_be32(b),addr) for BE ops. Since the ppc doesn't have a byteswap

[PATCH] dt: Move device tree documentation out of powerpc directory

2011-01-26 Thread Grant Likely
The device tree is used by more than just PowerPC. Make the documentation directory available to all. Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Assuming nobody has an issue with this, I'll push it out to Linus for 2.6.38 since it is only a documentation change. g.

Re: 750gx cpufreq induced kernel panic in 2.6.36

2011-01-26 Thread kevin diggs
On Tue, Jan 25, 2011 at 10:32 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: What are exception 700 901? 700 is a program check (illegal instruction or BUG_ON() statement) 900 is decrementer (aka timer) interrupt. The 0x1000c694 address looks fishy? That's userspace. So

Re: [PATCH V8 03/10] USB/ppc4xx: Add Synopsys DWC OTG CoreInterface Layer

2011-01-26 Thread Alexander Gordeev
В Wed, 26 Jan 2011 16:35:05 - David Laight david.lai...@aculab.com пишет: Also in_le32/out_le32/in_be32/out_be32 are architecture-specific AFAIK. Isn't the whole patch architecture-specific ? I use this driver on MIPS board right now. :) This core from Synopsys is used in many

Re: FSL DMA engine transfer to PCI memory

2011-01-26 Thread Scott Wood
On Wed, 26 Jan 2011 10:18:01 + David Laight david.lai...@aculab.com wrote: What was the ppc you used? The 8315E PowerQUIICC II Ah. The interconnect between the DMA engine and PCIe is different on 83xx. The DMA engine and PCIe are both on OCeaN, so the traffic does not need to

Re: [PATCH] dt: Move device tree documentation out of powerpc directory

2011-01-26 Thread Sam Ravnborg
On Wed, Jan 26, 2011 at 10:20:34AM -0700, Grant Likely wrote: The device tree is used by more than just PowerPC. Make the documentation directory available to all. How does the planned stucture look like for this new directory? I see that in your move the architecture is dropped. But some of

Re: [PATCH] dt: Move device tree documentation out of powerpc directory

2011-01-26 Thread Josh Boyer
On Wed, Jan 26, 2011 at 10:20:34AM -0700, Grant Likely wrote: The device tree is used by more than just PowerPC. Make the documentation directory available to all. Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Assuming nobody has an issue with this, I'll push it out to Linus for

Re: [PATCH] dt: Move device tree documentation out of powerpc directory

2011-01-26 Thread Grant Likely
On Wed, Jan 26, 2011 at 12:43 PM, Josh Boyer jwbo...@linux.vnet.ibm.com wrote: On Wed, Jan 26, 2011 at 10:20:34AM -0700, Grant Likely wrote: The device tree is used by more than just PowerPC.  Make the documentation directory available to all. Signed-off-by: Grant Likely

dump_stack doc

2011-01-26 Thread kevin diggs
Hi, Does this content look ok: kevdig@SatelliteA75:/usr/src/linux-2.6.36/arch/powerpc/kernel$ diff -U3 process.c process-new_c --- process.c 2010-10-23 20:01:13.0 -0500 +++ process-new_c 2011-01-26 14:04:17.0 -0600 @@ -1107,6 +1107,27 @@ static int kstack_depth_to_print

Re: 750gx cpufreq induced kernel panic in 2.6.36

2011-01-26 Thread Benjamin Herrenschmidt
On Wed, 2011-01-26 at 11:20 -0600, kevin diggs wrote: This is kind of my problem. ANY suggestions (applicable to an old world PowerMac) would be appreciated on how to get access to the rest of the information. This thing appears completely dead at this point. You don't have a serial port ?

[PATCH 2/5] powerpc/44x: allow override to hard-coded uart address

2011-01-26 Thread Dave Kleikamp
Allow the early debug uart address to be overridden from the kernel command line. I would have preferred use the uart's virtual-reg property, but the device tree hasn't been unflatted yet, and I don't know a reliable way to find it. Signed-off-by: Dave Kleikamp sha...@linux.vnet.ibm.com ---

[PATCH 0/5] powerpc: AMP support for 47x

2011-01-26 Thread Dave Kleikamp
These patches add Asynchonous MultiProcessing support for the 47x chipset. This allows independent OS instances to run on separate cores. Dave Kleikamp (5): powerpc: Move udbg_early_init() after early_init_devtree() powerpc/44x: allow override to hard-coded uart address powerpc/47x: allow

[PATCH 5/5] powerpc/476: Create a dts files for two 476 AMP instances under ISS

2011-01-26 Thread Dave Kleikamp
These are completely independent OS instances, each running on 2 cores. Signed-off-by: Dave Kleikamp sha...@linux.vnet.ibm.com --- arch/powerpc/boot/Makefile |9 ++- arch/powerpc/boot/dts/iss476-amp1.dts | 119 ++

[PATCH 1/5] powerpc: Move udbg_early_init() after early_init_devtree()

2011-01-26 Thread Dave Kleikamp
so that it can use information from the device tree. Signed-off-by: Dave Kleikamp sha...@linux.vnet.ibm.com --- arch/powerpc/kernel/setup_32.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index

[PATCH 4/5] powerpc/44x: don't use tlbivax on AMP systems

2011-01-26 Thread Dave Kleikamp
Since other OS's may be running on the other cores don't use tlbivax Signed-off-by: Dave Kleikamp sha...@linux.vnet.ibm.com --- arch/powerpc/include/asm/mmu.h |2 +- arch/powerpc/kernel/setup_32.c |2 ++ arch/powerpc/mm/tlb_nohash.c | 21 - 3 files changed, 23

[PATCH 3/5] powerpc/47x: allow kernel to be loaded in higher physical memory

2011-01-26 Thread Dave Kleikamp
Signed-off-by: Dave Kleikamp sha...@linux.vnet.ibm.com --- arch/powerpc/Kconfig |2 +- arch/powerpc/configs/44x/iss476-smp_defconfig |6 ++-- arch/powerpc/kernel/head_44x.S| 42 - arch/powerpc/mm/44x_mmu.c

Re: 750gx cpufreq induced kernel panic in 2.6.36

2011-01-26 Thread kevin diggs
On Wed, Jan 26, 2011 at 3:43 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: You don't have a serial port ? Yeah, just did not know what to do with them? If you do, use sccdbg on the kernel command line to route xmon to it, and boot with console=ttyPZ0,38400 (I think the old

Re: 750gx cpufreq induced kernel panic in 2.6.36

2011-01-26 Thread Benjamin Herrenschmidt
On Wed, 2011-01-26 at 21:59 -0600, kevin diggs wrote: Ok! Thanks! One thing. The 2.6 driver for the serial ports on this machine does not work very well. Can I use a slower speed to avoid missing stuff? pmac zilog ? It should work fine on tx... unless your receiving side is the one with a