Re:

2010-11-01 Thread Michal Simek
Hi, Nishanth Aravamudan wrote: Use set_dma_ops and remove now used-once oddly named temp pointer sd. Signed-off-by: Milton Miller milt...@bga.com Signed-off-by: Nishanth Aravamudan n...@us.ibm.com Cc: b...@kernel.crashing.org Cc: linuxppc-dev@lists.ozlabs.org ---

Re: [PATCH 04/39] arch/powerpc: Update WARN uses

2010-11-01 Thread Michael Ellerman
On Sat, 2010-10-30 at 14:08 -0700, Joe Perches wrote: Coalesce long formats. Align arguments. Add missing newlines. Signed-off-by: Joe Perches j...@perches.com --- arch/powerpc/kernel/hw_breakpoint.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] iSeries: Don't leak if allocations fail in mf_getSrcHistory

2010-11-01 Thread Michael Ellerman
On Sat, 2010-10-30 at 19:20 +0200, Jesper Juhl wrote: Hi, If memory is tight and a dynamic allocation fails there's no reason to make a bad situation worse by leaking memory. mf_getSrcHistory potentially leaks pages[0-3]. I believe the right thing to do is to free that memory again

Re: [PATCH] OF device tree: Move of_get_mac_address() to a common source file.

2010-11-01 Thread Timur Tabi
On Mon, Nov 1, 2010 at 12:17 AM, Grant Likely grant.lik...@secretlab.ca wrote: Signed-off-by: David Daney dda...@caviumnetworks.com Cc: Michal Simek mon...@monstr.eu Cc: Grant Likely grant.lik...@secretlab.ca Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Wolfram Sang

Re: eabi supported

2010-11-01 Thread Josh Boyer
On Sun, Oct 31, 2010 at 07:54:48PM +0100, Oliver Kowalke wrote: Hi, could you tell me which Linux distribution does support powerpc with eabi (embedded abi)? I tried 'T2 Project' but it doesn't offer ABI selection in its config script. eabi isn't really used all that much on powerpc. I don't

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread Josh Boyer
On Fri, Oct 29, 2010 at 11:06 PM, Rupjyoti Sarmah rsar...@apm.com wrote: Hi , APM boards Canyonlands/Kilauea/Glacier/Katmai/Sequoia are all failing during booting. What kernel version? What config? Have you tried a git bisect to see when it broke? Etc, etc. Also, CC'ing linuxppc-dev would

Re: [PATCH 04/39] arch/powerpc: Update WARN uses

2010-11-01 Thread Joe Perches
On Mon, 2010-11-01 at 22:02 +1100, Michael Ellerman wrote: On Sat, 2010-10-30 at 14:08 -0700, Joe Perches wrote: Coalesce long formats. Align arguments. Add missing newlines. Signed-off-by: Joe Perches j...@perches.com --- arch/powerpc/kernel/hw_breakpoint.c |4 ++-- 1 files

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread Josh Boyer
On Mon, Nov 1, 2010 at 9:22 AM, Josh Boyer jwbo...@gmail.com wrote: On Fri, Oct 29, 2010 at 11:06 PM, Rupjyoti Sarmah rsar...@apm.com wrote: Hi , APM boards Canyonlands/Kilauea/Glacier/Katmai/Sequoia are all failing during booting. What kernel version?  What config?  Have you tried a git

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread Josh Boyer
On Mon, Nov 1, 2010 at 11:36 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Josh, On Mon, 1 Nov 2010 11:05:53 -0400 Josh Boyer jwbo...@gmail.com wrote: A few hints would be appreciated. Remove the call to netif_stop_queue() from emac_probe().  Apparently, calling this before

Re: [PATCH] OF device tree: Move of_get_mac_address() to a common source file.

2010-11-01 Thread Timur Tabi
On Mon, Nov 1, 2010 at 12:17 AM, Grant Likely grant.lik...@secretlab.ca wrote: Applied, thanks; but made some changes to protect this code because it does not work on little endian (it can be fixed in a separate patch) I'm confused. How does of_get_mac_address() not work on little-endian? --

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Tue, 2 Nov 2010 02:36:50 +1100 Hi Josh, On Mon, 1 Nov 2010 11:05:53 -0400 Josh Boyer jwbo...@gmail.com wrote: A few hints would be appreciated. Remove the call to netif_stop_queue() from emac_probe(). Apparently, calling this before

RE: Support for multiple port's

2010-11-01 Thread Bounine, Alexandre
Thomas Taranowski wrote: Going through the code, it looks like the rapidio driver assumes there's only going to be a single Port implemented. Yes, this is true for the current implementation. On the newer QorIQ P2020 processors there are 2 sets of port registers, so the current code lays the

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread David Miller
From: Josh Boyer jwbo...@gmail.com Date: Mon, 1 Nov 2010 11:39:47 -0400 On Mon, Nov 1, 2010 at 11:36 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Josh, On Mon, 1 Nov 2010 11:05:53 -0400 Josh Boyer jwbo...@gmail.com wrote: A few hints would be appreciated. Remove the call to

Re: [PATCH] OF device tree: Move of_get_mac_address() to a common source file.

2010-11-01 Thread Grant Likely
On Mon, Nov 1, 2010 at 11:46 AM, Timur Tabi ti...@freescale.com wrote: On Mon, Nov 1, 2010 at 12:17 AM, Grant Likely grant.lik...@secretlab.ca wrote: Applied, thanks; but made some changes to protect this code because it does not work on little endian (it can be fixed in a separate patch)

RE: RapidIO: MC Exception when enumerating peer to peer connection

2010-11-01 Thread Bounine, Alexandre
Thomas Taranowski wrote: Yes, I tried pretty much all combinations of boot order, but I believe the preferred approach is to boot the agents first, then the host according to my freescale documentation. My problem was that all three devices had the same device id. Once I programmed them with

PowerQUICC II PCIe dma

2010-11-01 Thread David Laight
I'm trying to get a ppc 831x to do PCIe dma transfers, PIO transfers work ok but are somewhat lethargic (partially due to the slave). I've done the following: - All reads/writes (including the dma descriptors) are byteswapped. - Enabled the dma in PEX_CSB_CTRL (value 0x3f) - Used the kernel

Re: All Applied micro boards are failing with current mainline kernel

2010-11-01 Thread Josh Boyer
On Mon, Nov 1, 2010 at 11:51 AM, David Miller da...@davemloft.net wrote: I can whip up a patch to remove those calls or move them after the register, but I don't want to do that without knowing which one is right. I've already taken care of this. Thanks! josh

Re: RapidIO: MC Exception when enumerating peer to peer connection

2010-11-01 Thread Micha Nelissen
Bounine, Alexandre wrote: In the current fsl_rio implementation initialization enables ACCEPT_ALL mode for the port therefore you should not have problems caused by initial destID value. Based on your post about multiport support I think you are close to find a source of the problem. Be aware

RE: RapidIO: MC Exception when enumerating peer to peer connection

2010-11-01 Thread Bounine, Alexandre
Micha Nelissen mi...@neli.hopto.org wrote: Bounine, Alexandre wrote: In the current fsl_rio implementation initialization enables ACCEPT_ALL mode for the port therefore you should not have problems caused by initial destID value. Based on your post about multiport support I think you are

Re: RapidIO: MC Exception when enumerating peer to peer connection

2010-11-01 Thread Micha Nelissen
Bounine, Alexandre wrote: In the current fsl_rio implementation initialization enables ACCEPT_ALL mode for the port therefore you should not have problems caused by initial destID value. Based on your post about multiport support I think Btw, best is to use 0xFF (or 0x in 16-bit

Re: [PATCH] powerpc: kvm: fix information leak to userland

2010-11-01 Thread Marcelo Tosatti
On Sat, Oct 30, 2010 at 01:04:24PM +0400, Vasiliy Kulikov wrote: Structure kvm_ppc_pvinfo is copied to userland with flags and pad fields unitialized. It leads to leaking of contents of kernel stack memory. Signed-off-by: Vasiliy Kulikov sego...@gmail.com --- I cannot compile this

Re: [MPC8xx] Initial MMU too low

2010-11-01 Thread Scott Wood
On Sat, 30 Oct 2010 13:52:24 +0200 LEROY christophe christophe.le...@c-s.fr wrote: Hello, When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which has __bss_stop above the C080 limit, and then I get a bad page exception during the zeroize of the __bss at startup, because

Re: RapidIO: MC Exception when enumerating peer to peer connection

2010-11-01 Thread Thomas Taranowski
Alex, Thanks for responses all. This is a pure board-to-board setup. After further investigation, it's pretty clear now that the issue is due to my use of multiple ports ( See my other posting conveniently titled Support for multiple ports :) ). Unfortunately, the freescale linux patchset for

RapidIO: git tree for tracking latest

2010-11-01 Thread Thomas Taranowski
Is there an official maintainer's repository for RapidIO related changes to I should be tracking? I've been tracking Kumar's git repository (off kernel.org), but I'm not clear on who the keeper of this stuff is. Thanks! Thomas Taranowski Certified netburner consultant baringforge.com

Re: [PATCH] iSeries: Don't leak if allocations fail in mf_getSrcHistory

2010-11-01 Thread Stephen Rothwell
Hi Jesper, On Mon, 01 Nov 2010 22:10:42 +1100 Michael Ellerman mich...@ellerman.id.au wrote: On Sat, 2010-10-30 at 19:20 +0200, Jesper Juhl wrote: If memory is tight and a dynamic allocation fails there's no reason to make a bad situation worse by leaking memory. mf_getSrcHistory

Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.

2010-11-01 Thread Jesper Juhl
On Tue, 2 Nov 2010, Stephen Rothwell wrote: Hi Jesper, On Mon, 01 Nov 2010 22:10:42 +1100 Michael Ellerman mich...@ellerman.id.au wrote: On Sat, 2010-10-30 at 19:20 +0200, Jesper Juhl wrote: If memory is tight and a dynamic allocation fails there's no reason to make a bad

Re: [PATCH v3] add icswx support

2010-11-01 Thread Michael Neuling
In message 1287547340.14049.25.ca...@flin.austin.ibm.com you wrote: icswx is a PowerPC co-processor instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered in the window context of the co-processor at initial time.

Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.

2010-11-01 Thread Stephen Rothwell
On Mon, 1 Nov 2010 21:06:23 +0100 (CET) Jesper Juhl j...@chaosbits.net wrote: Remove unused function 'mf_getSrcHistory' (that will never be used ever according to Stephen Rothwell). Signed-off-by: Jesper Juhl j...@chaosbits.net Acked-by: Stephen Rothwell s...@canb.auug.org.au -- Cheers,

Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.

2010-11-01 Thread Jesper Juhl
Hi Stephen, On Tue, 2 Nov 2010, Stephen Rothwell wrote: On Mon, 1 Nov 2010 21:06:23 +0100 (CET) Jesper Juhl j...@chaosbits.net wrote: Remove unused function 'mf_getSrcHistory' (that will never be used ever according to Stephen Rothwell). Signed-off-by: Jesper Juhl

Re: [PATCH v3] add icswx support

2010-11-01 Thread Michael Neuling
In message 1287547340.14049.25.ca...@flin.austin.ibm.com you wrote: icswx is a PowerPC co-processor instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered in the window context of the co-processor at initial

Re: [PATCH v3] add icswx support

2010-11-01 Thread Benjamin Herrenschmidt
On Tue, 2010-11-02 at 09:23 +1100, Michael Neuling wrote: +EXPORT_SYMBOL(switch_cop); +EXPORT_SYMBOL(use_cop); +EXPORT_SYMBOL(drop_cop); Please document how to use these. Also, should these be _GPL ? Cheers, Ben. ___ Linuxppc-dev mailing list

Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.

2010-11-01 Thread Michael Ellerman
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 j...@chaosbits.net wrote: Remove unused function 'mf_getSrcHistory' (that will never be used ever according to

Re: [PATCH 04/39] arch/powerpc: Update WARN uses

2010-11-01 Thread Michael Ellerman
On Mon, 2010-11-01 at 07:41 -0700, Joe Perches wrote: On Mon, 2010-11-01 at 22:02 +1100, Michael Ellerman wrote: On Sat, 2010-10-30 at 14:08 -0700, Joe Perches wrote: Coalesce long formats. Align arguments. Add missing newlines. Signed-off-by: Joe Perches j...@perches.com ---

Re: [PATCH v3] add icswx support

2010-11-01 Thread Michael Neuling
snip + +#ifdef CONFIG_40x +#define SPRN_PID 0x3B1 /* Process ID */ +#else +#define SPRN_PID 0x030 /* Process ID */ +#ifdef CONFIG_BOOKE +#define SPRN_PID0SPRN_PID/* Process ID Register 0 */ +#endif +#endif + #define SPRN_CTR 0x009 /* Count Register */ #define

Re: [PATCH] drivers/char/hvc_console.c: reduce max idle timeout

2010-11-01 Thread Michael Ellerman
On Wed, 2010-10-27 at 12:54 -0400, Chris Metcalf wrote: The tile architecture uses this framework for our serial console, and our users complain that the delay of up to two seconds feels like the machine has gone non-responsive and is disturbing. By contrast, a delay of up to half a second

Re: [PATCH 04/39] arch/powerpc: Update WARN uses

2010-11-01 Thread Joe Perches
On Tue, 2010-11-02 at 11:26 +1100, Michael Ellerman wrote: On Mon, 2010-11-01 at 07:41 -0700, Joe Perches wrote: Pretty much. Format coalescing is generally preferred for grep. Really? Grep doesn't work anyway because you have format specifiers, and although you can try and guess them ..

Re: [PATCH] drivers/char/hvc_console.c: reduce max idle timeout

2010-11-01 Thread Chris Metcalf
On 11/1/2010 8:35 PM, Michael Ellerman wrote: On Wed, 2010-10-27 at 12:54 -0400, Chris Metcalf wrote: The tile architecture uses this framework for our serial console, and our users complain that the delay of up to two seconds feels like the machine has gone non-responsive and is disturbing.

Re: [PATCH 04/39] arch/powerpc: Update WARN uses

2010-11-01 Thread Michael Ellerman
On Mon, 2010-11-01 at 18:50 -0700, Joe Perches wrote: On Tue, 2010-11-02 at 11:26 +1100, Michael Ellerman wrote: On Mon, 2010-11-01 at 07:41 -0700, Joe Perches wrote: Pretty much. Format coalescing is generally preferred for grep. Really? Grep doesn't work anyway because you have format