Re: When do i need to allocate DMA buffer

2009-01-13 Thread wael showair
1. so my question is: is there any difference between the DMA engine the DMA controller? 2. i have read the following section in my reference manual: The MPC8555E DMA engine is capable of transferring blocks of data from any legal address range to any other legal address range. Therefore, it can

Re: [PATCH 1/4] hvc_console: do not set low_latency

2009-01-13 Thread Christian Borntraeger
Am Donnerstag 08 Januar 2009 schrieb Milton Miller: hvc_console is setting low_latency unconditionally, but some clients are interrupt driven and will call hvc_poll from irq context. This will cause tty_flip_buffer_push to be called from irq context, and it very clearly states it must not be

Re: [PATCH 2/5] powerpc: Generic device tree for all AmigaOne boards

2009-01-13 Thread Gerhard Pircher
Original-Nachricht Datum: Tue, 13 Jan 2009 16:01:42 +1100 Von: Benjamin Herrenschmidt b...@kernel.crashing.org An: Gerhard Pircher gerhard_pirc...@gmx.net CC: linuxppc-dev@ozlabs.org, grant.lik...@secretlab.ca Betreff: Re: [PATCH 2/5] powerpc: Generic device tree for all

Re: [PATCH] powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/

2009-01-13 Thread Kumar Gala
On Jan 11, 2009, at 10:55 AM, Anton Vorontsov wrote: This patch is used to help Jean Delvare to get rid of drivers/i2c/ chips/ directory. The new location suggested by Kumar Gala: as the driver is 83xx specific it's placed into arch/powerpc/platforms/83xx/. Signed-off-by: Anton Vorontsov

Re: [PATCH] powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/

2009-01-13 Thread Jean Delvare
On Tue, 13 Jan 2009 08:39:37 -0600, Kumar Gala wrote: On Jan 11, 2009, at 10:55 AM, Anton Vorontsov wrote: This patch is used to help Jean Delvare to get rid of drivers/i2c/ chips/ directory. The new location suggested by Kumar Gala: as the driver is 83xx specific it's placed into

Please pull from 'next' branch (2.6.29)

2009-01-13 Thread Kumar Gala
Please pull from 'next' branch of (this is my last pull request of 'next' for 2.6.29. I would like to see the 'powerpc: Unify opcode definitions and support' patch go in but leave that for you to pull in directly). master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git next to

Re: [PATCH 3/5] powerpc: booke: Remove code duplication in lowmem mapping

2009-01-13 Thread Kumar Gala
On Dec 8, 2008, at 9:34 PM, Trent Piepho wrote: The code to map lowmem uses three CAM aka TLB[1] entries to cover it. The size of each is stored in three globals named __cam0, __cam1, and __cam2. All the code that uses them is duplicated three times for each of the three variables. We

Re: [PATCH 4/5] powerpc: booke: Make CAM entries used for lowmem configurable

2009-01-13 Thread Kumar Gala
On Dec 8, 2008, at 9:34 PM, Trent Piepho wrote: On booke processors, the code that maps low memory only uses up to three CAM entries, even though there are sixteen and nothing else uses them. Make this number configurable in the advanced options menu along with max low memory size. If

Re: [PATCH 5/5] powerpc: booke: Allow larger CAM sizes than 256 MB

2009-01-13 Thread Kumar Gala
On Dec 8, 2008, at 9:34 PM, Trent Piepho wrote: The code that maps kernel low memory would only use page sizes up to 256 MB. On E500v2 pages up to 4 GB are supported. However, a page must be aligned to a multiple of the page's size. I.e. 256 MB pages must aligned to a 256 MB boundary.

Re: [PATCH 0/5 + 2] kexec updates

2009-01-13 Thread Milton Miller
On Jan 12, 2009, at 12:24 AM, Simon Horman wrote: On Fri, Jan 02, 2009 at 02:42:38PM -0600, Milton Miller wrote: Follwing this mail are 5 patches for kexec userspace and two for the kernel. The first fixes an array overflow and the second updates userspace to the merged 2.6.28 kdump support.

Re: [PATCH 0/6] USB: Fixes for fsl_qe_udc driver

2009-01-13 Thread Kumar Gala
On Jan 6, 2009, at 10:53 PM, Greg KH wrote: On Tue, Jan 06, 2009 at 10:44:13PM -0600, Kumar Gala wrote: On Dec 25, 2008, at 8:14 AM, Anton Vorontsov wrote: Hi all, Just resending some fixes that seem to be lost... Greg, What happened w/this patch set? As it was sent during the

Re: [PATCH 1/4] hvc_console: do not set low_latency

2009-01-13 Thread Milton Miller
On Jan 13, 2009, at 5:35 AM, Hendrik Brueckner wrote: Here is yet another bug trace related to the low_latency issue, that is experienced using the hvc_iucv backend. The hvc_iucv backend now also uses irq notifiers. The bug trace below appears if hvc_kick() is called. On Tue, Jan 13, 2009

[PATCH] phylib: Fix Freescale TBI PHY detection

2009-01-13 Thread Anton Vorontsov
Freescale on-chip TBI PHYs reports PHY ID as 0x0, but as of commit 3ee82383f0098a2e13acc8cf1be8e47512f41e5a Author: Giulio Benetti giulio.bene...@micronovasrl.com Date: Thu Nov 13 21:53:13 2008 + phy: fix phy address bug PHYID returns 0x and not 0x when not found and

Re[2]: mal_probe crash

2009-01-13 Thread Geert Uytterhoeven
On Tue, 13 Jan 2009, Yuri Tikhonov wrote: On Tuesday, January 13, 2009 you wrote: On Mon, 2009-01-12 at 14:37 +0100, Geert Uytterhoeven wrote: On Fri, 9 Jan 2009, Roland Dreier wrote: Can you double check that the e1000 isn't copying the PCI resources into a unsigned long before

Re: [PATCH v2] powerpc/fs_enet: Add missing irq free in error path.

2009-01-13 Thread Kumar Gala
On Oct 27, 2008, at 4:46 PM, Mike Ditto wrote: If something goes wrong attaching to phy driver, we weren't freeing the IRQ. Signed-off-by: Mike Ditto mdi...@consentry.com --- Reposting to CC netdev list. (Thanks, Kumar) diff -r -upN 2.6.28-rc1/drivers/net/fs_enet/fs_enet-main.c NEW/

Unsubscribe me

2009-01-13 Thread Bangar Raju
Please unsubscribe me from this group ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: linux-next: origin tree build failure

2009-01-13 Thread Stephen Rothwell
Hi Ingo, On Mon, 12 Jan 2009 10:32:14 +0100 Ingo Molnar mi...@elte.hu wrote: * Stephen Rothwell s...@canb.auug.org.au wrote: It slipped through because it didnt get caught in build tests because cpufreq isnt enabled in the powerpc defconfig. Which is one of the reasons we have

Re: [PATCH RFC v5] net: add PCINet driver

2009-01-13 Thread Arnd Bergmann
On Tuesday 13 January 2009, Ira Snyder wrote: On Tue, Jan 13, 2009 at 01:02:52PM +1030, Rusty Russell wrote: Interesting system: the guest being able to access the host's memory but not (fully) vice-versa makes this a little different from the current implementations where

Re: [PATCH RFC v5] net: add PCINet driver

2009-01-13 Thread Arnd Bergmann
On Tuesday 13 January 2009, Ira Snyder wrote: So do you program one channel of the DMA engine from the host side and another channel from the guest side? Yes. I tried to avoid having the host program the DMA controller at all. Using the DMAEngine API on the guest did better than I could

Re: [PATCH] powerpc: Enable PS3 options and QPACE in ppc64_defconfig

2009-01-13 Thread Geoff Levand
Michael Ellerman wrote: To increase the amount of code that's built for a defconfig build. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- arch/powerpc/configs/ppc64_defconfig | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) -#

Re: Please pull from 'next' branch (2.6.29)

2009-01-13 Thread Benjamin Herrenschmidt
On Tue, 2009-01-13 at 09:21 -0600, Kumar Gala wrote: Please pull from 'next' branch of (this is my last pull request of 'next' for 2.6.29. I would like to see the 'powerpc: Unify opcode definitions and support' patch go in but leave that for you to pull in directly). This is really very

Re: [PATCH 1/4] hvc_console: do not set low_latency

2009-01-13 Thread Benjamin Herrenschmidt
So the simplest is to never set it. I already applied your previous patch. Please send an incremental fix. Cheers, Ben. milton BUG: sleeping function called from invalid context at /root/cvs/linux-2.6.git/kernel/mutex.c:207 in_atomic(): 1, irqs_disabled(): 0, pid: 748, name: khvcd

Re: Please pull from 'next' branch (2.6.29)

2009-01-13 Thread Kumar Gala
On Jan 13, 2009, at 2:59 PM, Benjamin Herrenschmidt wrote: On Tue, 2009-01-13 at 09:21 -0600, Kumar Gala wrote: Please pull from 'next' branch of (this is my last pull request of 'next' for 2.6.29. I would like to see the 'powerpc: Unify opcode definitions and support' patch go in but

Re: Please pull from 'next' branch (2.6.29)

2009-01-13 Thread Kumar Gala
On Jan 13, 2009, at 3:17 PM, Kumar Gala wrote: powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/ chips/ At Jean's request to move i2c clients out of drivers/i2c. Getting this into .29 might be useful since its just a driver move and saves us merge headache's later. -

[PATCH v3] powerpc: Unify opcode definitions and support

2009-01-13 Thread Kumar Gala
Create a new header that becomes a single location for defining PowerPC opcodes used by code that is either generationg instructions at runtime (fixups, debug, etc.), emulating instructions, or just compiling instructions old assemblers don't know about. We currently don't handle the floating

Re: Please pull from 'next' branch (2.6.29)

2009-01-13 Thread Benjamin Herrenschmidt
On Tue, 2009-01-13 at 15:17 -0600, Kumar Gala wrote: On Jan 13, 2009, at 2:59 PM, Benjamin Herrenschmidt wrote: On Tue, 2009-01-13 at 09:21 -0600, Kumar Gala wrote: Please pull from 'next' branch of (this is my last pull request of 'next' for 2.6.29. I would like to see the

Please pull from 'next' branch (for 2.6.29)(updated)

2009-01-13 Thread Kumar Gala
Updated to just be the small bug fixes and the move of the driver - k Please pull from 'next' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git next to receive the following updates: arch/powerpc/boot/dts/mpc8315erdb.dts |4

[git pull] Please pull powerpc.git merge branch

2009-01-13 Thread Benjamin Herrenschmidt
Hi Linus ! Here's another batch for before -rc2. The main highlight is the u64 conversion to unsigned long long along with a bunch of patches fixing warnings due to this conversion. There will be a few more, for example the PS3 code is still pretty bad in this area, but that's about it. The rest

[PATCH] Add init_dummy_netdev() and fix EMAC driver using it

2009-01-13 Thread Benjamin Herrenschmidt
This adds an init_dummy_netdev() function that gets a network device structure (allocation and lifetime entirely under caller's control) and initialize the minimum amount of fields so it can be used to schedule NAPI polls without registering a full blown interface. This is to be used by drivers

[PATCH 03/13] powerpc/ps3: the lv1_ routines have u64 parameters

2009-01-13 Thread Stephen Rothwell
We just fix up the reference parameters as the others are dealt with by arithmetic promotion rules and don't cause warnings. This removes warnings like this: arch/powerpc/platforms/ps3/interrupt.c:327: warning: passing argument 1 of 'lv1_construct_event_receive_port' from incompatible pointer

[PATCH 04/13] powerpc/ps3: clear_bit/set_bit operate on unsigned longs

2009-01-13 Thread Stephen Rothwell
This fixes these compiler warning: arch/powerpc/platforms/ps3/interrupt.c:109: warning: passing argument 2 of 'clear_bit' from incompatible pointer type arch/powerpc/platforms/ps3/interrupt.c:130: warning: passing argument 2 of 'set_bit' from incompatible pointer type Signed-off-by: Stephen

[PATCH 05/13] powerpc/ps3: ps3_repository_read_mm_info takes u64 * arguments

2009-01-13 Thread Stephen Rothwell
Fixes compiler warnings: arch/powerpc/platforms/ps3/mm.c:1205: warning: passing argument 2 of 'ps3_repository_read_mm_info' from incompatible pointer type arch/powerpc/platforms/ps3/mm.c:1205: warning: passing argument 3 of 'ps3_repository_read_mm_info' from incompatible pointer type

[PATCH 06/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: arch/powerpc

2009-01-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- arch/powerpc/platforms/ps3/device-init.c | 26 +- arch/powerpc/platforms/ps3/htab.c|2 +- arch/powerpc/platforms/ps3/interrupt.c | 16 arch/powerpc/platforms/ps3/mm.c |

[PATCH 08/13] powerpc/ps3: printing fixups for l64 to ll64 convserion: drivers/char

2009-01-13 Thread Stephen Rothwell
Also a couple of min - min_t changes. Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- drivers/char/ps3flash.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/char/ps3flash.c b/drivers/char/ps3flash.c index 79b6f46..afbe456 100644 ---

[PATCH 07/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/block

2009-01-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- drivers/block/ps3disk.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Jens, if its OK by you, this could go in via the PowerPC tree. diff --git a/drivers/block/ps3disk.c b/drivers/block/ps3disk.c index

[PATCH 09/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: sound/ppc

2009-01-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- sound/ppc/snd_ps3.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Takashi, if it is OK with you, this could go in via the PowerPC tree. diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c index 8f9e385..ff32111 100644

[PATCH 13/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/video

2009-01-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- drivers/video/ps3fb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Antonino, if it is OK with you, this could go in via the PowerPC tree. diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index 38ac805..87f826e

Re: [PATCH 09/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: sound/ppc

2009-01-13 Thread Takashi Iwai
At Wed, 14 Jan 2009 17:07:55 +1100, Stephen Rothwell wrote: Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Acked-by: Takashi Iwai ti...@suse.de --- sound/ppc/snd_ps3.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Takashi, if it is OK with you, this could go

RE: Re: mpc5200b configure nand driver via dts

2009-01-13 Thread florian . belser
On Mon, Jan 12, 2009 at 2:07 AM, florian.bel...@freenet.de wrote: hello, I have some problems with an mpc5200b based board. It's nearly compatible to the lite5200b board. I connected an samsung k9k8g08u0a nand flash via the lpb bus. This works fine with an self written nand

Re: [PATCH 07/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/block

2009-01-13 Thread Jens Axboe
On Wed, Jan 14 2009, Stephen Rothwell wrote: Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- drivers/block/ps3disk.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Jens, if its OK by you, this could go in via the PowerPC tree. Of course. -- Jens