Re: next branch update

2009-06-10 Thread Timur Tabi
On Tue, Jun 9, 2009 at 10:14 PM, Benjamin Herrenschmidtb...@kernel.crashing.org wrote: Hi ! I've updated my next branch with the following patches. We're getting real close to the merge window now, so if something is missing, please holler ASAP. [PATCH 1/2 v9] powerpc: introduce macro

Re: [Patch 2/6] Introduce PPC64 specific Hardware Breakpoint interfaces

2009-06-10 Thread K.Prasad
On Fri, Jun 05, 2009 at 03:11:58PM +1000, David Gibson wrote: On Wed, Jun 03, 2009 at 10:05:11PM +0530, K.Prasad wrote: Hi David, Sorry for the delay in response below. In the meanwhile, I discovered an issue in detecting stray exceptions that affected user-space handling of breakpoints.

[PATCH] powerpc: Add configurable -Werror for arch/powerpc

2009-06-10 Thread Michael Ellerman
Add the option to build the code under arch/powerpc with -Werror. The intention is to make it harder for people to inadvertantly introduce warnings in the arch/powerpc code. It needs to be configurable so that if a warning is introduced, people can easily work around it while it's being fixed.

Re: [Patch 3/6] Modify ptrace code to use Hardware Breakpoint interfaces

2009-06-10 Thread K.Prasad
On Fri, Jun 05, 2009 at 03:13:45PM +1000, David Gibson wrote: On Wed, Jun 03, 2009 at 10:05:24PM +0530, K.Prasad wrote: Modify the ptrace code to use the hardware breakpoint interfaces for user-space. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com ---

Re: [PATCH 2.6.31] ehca: Tolerate dynamic memory operations and huge pages

2009-06-10 Thread Hannes Hering
Hi Michael, On Wednesday 10 June 2009 02:02:36 Michael Ellerman wrote: For those of us who haven't read the HEA spec lately, can you give us some more detail on that? :) first of all, please note that this patch is actually for the ehca infiniband driver. The ehca driver uses an internal memory

[Patch 0/6] PPC64-HWBKPT: Hardware Breakpoint interfaces - ver VI

2009-06-10 Thread K.Prasad
Hi David, Please find a new set of patches that implement the changes described below. Changelog - ver VI --- (Ver I: http://ozlabs.org/pipermail/linuxppc-dev/2009-May/071942.html) (Ver II: http://ozlabs.org/pipermail/linuxppc-dev/2009-May/072106.html) (Ver III:

[Patch 3/6] Modify ptrace code to use Hardware Breakpoint interfaces

2009-06-10 Thread K.Prasad
Modify the ptrace code to use the hardware breakpoint interfaces for user-space. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/kernel/ptrace.c | 43 +++ 1 file changed, 43 insertions(+) Index:

[Patch 4/6] Modify process and processor handling code to recognise hardware debug registers

2009-06-10 Thread K.Prasad
Modify process handling code to recognise hardware debug registers during copy and flush operations. Introduce a new TIF_DEBUG task flag to indicate a process's use of debug register. Load the debug register values into a new CPU during initialisation. Signed-off-by: K.Prasad

[Patch 2/6] Introduce PPC64 specific Hardware Breakpoint interfaces

2009-06-10 Thread K.Prasad
Introduce PPC64 implementation for the generic hardware breakpoint interfaces defined in kernel/hw_breakpoint.c. Enable the HAVE_HW_BREAKPOINT flag and the Makefile. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/Kconfig|1 arch/powerpc/kernel/Makefile

[Patch 5/6] Modify Data storage exception code to recognise DABR match first

2009-06-10 Thread K.Prasad
Modify Data storage exception code to first lookout for a DABR match before recognising a kprobe or xmon exception. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/mm/fault.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) Index:

[Patch 6/6] Adapt kexec and samples code to recognise PPC64 hardware breakpoint usage

2009-06-10 Thread K.Prasad
Modify kexec code to disable DABR registers before a reboot. Adapt the samples code to populate PPC64-arch specific fields. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/kernel/machine_kexec_64.c |3 +++ samples/hw_breakpoint/data_breakpoint.c |4 2 files

Re: Delay on intialization ide subsystem(most likely)

2009-06-10 Thread Bartlomiej Zolnierkiewicz
On Tuesday 09 June 2009 01:26:27 Benjamin Herrenschmidt wrote: On Mon, 2009-06-08 at 22:20 +0200, Bartlomiej Zolnierkiewicz wrote: [ 70.584122] hdb:3ide-pmac lost interrupt, dma status: 8480 DMA status indicates that DMA transfer is still active according to the controller. This

Re: [PATCH 3/5] can: af_can.c use rcu_barrier() on module unload.

2009-06-10 Thread Jeremy Kerr
David, We really can't expect patchwork to look for every conceivable malignment of the various reviewer tags. No, but we could probably be more tolerant about capitalisation. Any objections about ignoring case completely? I have a patch ready to push... Cheers, Jeremy

[PATCH 00/33] My PS3-specific patches for 2.6.31

2009-06-10 Thread Geert Uytterhoeven
Hi Ben, Here are my PS3-specific patches for 2.6.31: [01] ps3av: Set 16:9 aspect ratio for 720p video modes [02] ps3vram: Fix error path (return -EIO) for short read/write [03] ps3vram: Use proc_create_data() instead of proc_create() [04] ps3vram: Correct exchanged gotos in

[PATCH 01/33] ps3av: Set 16:9 aspect ratio for 720p video modes

2009-06-10 Thread Geert Uytterhoeven
From: sebastian.bla...@gmail.com sebastian.bla...@gmail.com Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-fbdev-de...@lists.sourceforge.net --- drivers/ps3/ps3av.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ps3/ps3av.c

[PATCH 02/33] ps3vram: Fix error path (return -EIO) for short read/write

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk --- drivers/block/ps3vram.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c index 8eddef3..2e79d2c

[PATCH 03/33] ps3vram: Use proc_create_data() instead of proc_create()

2009-06-10 Thread Geert Uytterhoeven
Use proc_create_data() to avoid race conditions. Reported-by: Alexey Dobriyan adobri...@gmail.com Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk --- drivers/block/ps3vram.c |8 +++- 1 files changed, 3

[PATCH 04/33] ps3vram: Correct exchanged gotos in ps3vram_probe() error path

2009-06-10 Thread Geert Uytterhoeven
From: Jim Paris j...@jtan.com Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk --- drivers/block/ps3vram.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/ps3vram.c

[PATCH 09/33] ps3fb: Correct handling of device opening in ps3fb_probe()

2009-06-10 Thread Geert Uytterhoeven
- ps3_open_hv_device() returns a standard error value, - Add missing call to ps3_close_hv_device() in the error path. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-fbdev-de...@lists.sourceforge.net --- drivers/video/ps3fb.c | 16 ++-- 1 files

[PATCH 08/33] ps3fb: Inline functions in ps3fb_probe(), to ease cleanup in the error path

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-fbdev-de...@lists.sourceforge.net --- drivers/video/ps3fb.c | 192 ++--- 1 files changed, 86 insertions(+), 106 deletions(-) diff --git a/drivers/video/ps3fb.c

[PATCH 07/33] ps3fb: Remove useless debug checks in ps3fb_shutdown()

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-fbdev-de...@lists.sourceforge.net --- drivers/video/ps3fb.c | 14 ++ 1 files changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index e00c1df..ce0f873 100644

[PATCH 11/33] ps3fb: GPU memory mapping cleanup

2009-06-10 Thread Geert Uytterhoeven
- Make the IOMMU flags used for mapping main memory into the GPU's I/O space explicit, instead of relying on the default in the hypervisor, - Add missing calls to lv1_gpu_context_iomap(..., CBE_IOPTE_M) to unmap the memory during cleanup. Signed-off-by: Geert Uytterhoeven

[PATCH 15/33] ps3vram: Remove no longer used ps3vram_priv.ddr_base

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk --- drivers/block/ps3vram.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c index

[PATCH 06/33] ps3vram: Replace mutex by spinlock + bio_list

2009-06-10 Thread Geert Uytterhoeven
Remove the mutex serializing access to the cache. Instead, queue up new requests on a bio_list if the driver is busy. This improves sequential write performance by ca. 2%. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk

[PATCH 12/33] ps3vram: GPU memory mapping cleanup

2009-06-10 Thread Geert Uytterhoeven
- Make the IOMMU flags used for mapping main memory into the GPU's I/O space explicit, instead of relying on the default in the hypervisor, - Add missing calls to lv1_gpu_context_iomap(..., CBE_IOPTE_M) to unmap the memory during cleanup. Signed-off-by: Geert Uytterhoeven

[PATCH 10/33] powerpc/cell: Extract duplicated IOPTE_* to asm/iommu.h

2009-06-10 Thread Geert Uytterhoeven
Both arch/powerpc/platforms/cell/iommu.c and arch/powerpc/platforms/ps3/mm.c contain the same Cell IOMMU page table entry definitions. Extract them and move them to asm/iommu.h, while adding a CBE_ prefix. This also allows them to be used by drivers. Signed-off-by: Geert Uytterhoeven

[PATCH 16/33] ps3vram: Make ps3vram_priv.reports a void *

2009-06-10 Thread Geert Uytterhoeven
So we can kill a cast. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk --- drivers/block/ps3vram.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/ps3vram.c

[PATCH 18/33] ps3: ps3_system_bus_device - Use dev_[gs]et_drvdata() instead of direct access

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/include/asm/ps3.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h index

[PATCH 14/33] ps3fb: Tear down FB setup during cleanup

2009-06-10 Thread Geert Uytterhoeven
During cleanup, use L1GPU_CONTEXT_ATTRIBUTE_FB_CLOSE to tear down the setup done by L1GPU_CONTEXT_ATTRIBUTE_FB_SETUP. This allows unloading and reloading of ps3fb while the sound driver keeps the GPU open. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc:

[PATCH 17/33] block/ps3: remove driver_data direct access of struct device

2009-06-10 Thread Geert Uytterhoeven
From: Roel Kluin roel.kl...@gmail.com In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so are

[PATCH 05/33] block: Add bio_list_peek()

2009-06-10 Thread Geert Uytterhoeven
Introduce bio_list_peek(), to obtain a pointer to the first bio on the bio_list without actually removing it from the list. This is needed when you want to serialize based on the list being empty or not. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Jens Axboe

[PATCH 22/33] ps3: ps3fb - Use ps3_system_bus_[gs]et_drvdata() instead of direct access

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-fbdev-de...@lists.sourceforge.net --- drivers/video/ps3fb.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index 1baa1c9..c0af638 100644 ---

[PATCH 13/33] ps3fb/vram: Extract common GPU stuff into asm/ps3gpu.h

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-fbdev-de...@lists.sourceforge.net Cc: Jim Paris j...@jtan.com Cc: Jens Axboe ax...@kernel.dk --- arch/powerpc/include/asm/ps3.h |3 - arch/powerpc/include/asm/ps3gpu.h | 78

[PATCH 25/33] drivers/ps3: Add missing annotations

2009-06-10 Thread Geert Uytterhoeven
probe functions should be __devinit initialization functions should be __init Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/ps3/ps3-sys-manager.c |2 +- drivers/ps3/ps3av.c |4 ++-- 2 files changed, 3

[PATCH 21/33] ps3: ps3rom - Use ps3_system_bus_[gs]et_drvdata() instead of direct access

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: linux-s...@vger.kernel.org Cc: James E.J. Bottomley james.bottom...@hansenpartnership.com --- drivers/scsi/ps3rom.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/ps3rom.c

[PATCH 20/33] ps3: ps3flash - Use ps3_system_bus_[gs]et_drvdata() instead of direct access

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- drivers/char/ps3flash.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/char/ps3flash.c b/drivers/char/ps3flash.c index afbe456..184e6ed 100644 --- a/drivers/char/ps3flash.c +++

[PATCH 24/33] usb/ps3: Add missing annotations

2009-06-10 Thread Geert Uytterhoeven
probe functions should be __devinit initialization functions should be __init Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/usb/host/ehci-ps3.c |4 ++-- drivers/usb/host/ohci-ps3.c |4 ++-- 2 files changed, 4

[PATCH 29/33] ps3: Correct debug message in dma_ioc0_map_pages()

2009-06-10 Thread Geert Uytterhoeven
It reports the failure of a call to lv1_put_iopte(), not lv1_map_device_dma_region(). Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/platforms/ps3/mm.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)

[PATCH 23/33] net/ps3: gelic - Add missing annotations

2009-06-10 Thread Geert Uytterhoeven
probe functions should be __devinit Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/net/ps3_gelic_net.c | 22 -- drivers/net/ps3_gelic_wireless.c |6 +++--- 2 files changed, 15 insertions(+),

[PATCH 26/33] sound/ps3: Fix checkpatch issues

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai ti...@suse.de --- sound/ppc/snd_ps3.c | 32 +++- 1 files changed, 15 insertions(+), 17 deletions(-) diff --git a/sound/ppc/snd_ps3.c

[PATCH 33/33] ps3flash: Always read chunks of 256 KiB, and cache them

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- It slows down small reads, but do we care? drivers/char/ps3flash.c | 47 +-- 1 files changed, 17 insertions(+), 30 deletions(-) diff --git a/drivers/char/ps3flash.c

[PATCH 28/33] sound/ps3: Correct existing and add missing annotations

2009-06-10 Thread Geert Uytterhoeven
probe functions should be __devinit Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai ti...@suse.de --- sound/ppc/snd_ps3.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/ppc/snd_ps3.c

[PATCH 27/33] sound/ps3: Restructure driver source

2009-06-10 Thread Geert Uytterhoeven
Sort includes, and reorder code so we can kill the forward declarations No functional changes Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai ti...@suse.de --- sound/ppc/snd_ps3.c | 621

[PATCH 32/33] ps3flash: Cache the last accessed FLASH chunk

2009-06-10 Thread Geert Uytterhoeven
Add support for caching, to reduce FLASH wear when writing using small blocksizes. As we also don't care anymore about heads and tails in case of partial writes, this greatly simplifies the code for handling writes. Note: We don't bother caching reads smaller than the FLASH chunk size (256 KiB).

[PATCH 19/33] ps3: shorten ps3_system_bus_[gs]et_driver_data to ps3_system_bus_[gs]et_drvdata

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com Cc: Jim Paris j...@jtan.com --- arch/powerpc/include/asm/ps3.h |4 +- drivers/block/ps3disk.c| 23 +++--- drivers/block/ps3vram.c| 48

Re: [PATCH 26/33] sound/ps3: Fix checkpatch issues

2009-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2009 16:39:01 +0200, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai ti...@suse.de Thanks, applied these three patches (26,27,28) to sound git tree. Takashi ---

Re: [PATCH 18/33] ps3: ps3_system_bus_device - Use dev_[gs]et_drvdata() instead of direct access

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:38 AM, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- arch/powerpc/include/asm/ps3.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Geoff Levand

Re: [PATCH 25/33] drivers/ps3: Add missing annotations

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:39 AM, Geert Uytterhoeven wrote: probe functions should be __devinit initialization functions should be __init Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/ps3/ps3-sys-manager.c |2 +-

Re: [PATCH 23/33] net/ps3: gelic - Add missing annotations

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:38 AM, Geert Uytterhoeven wrote: probe functions should be __devinit Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/net/ps3_gelic_net.c | 22 --

Re: [PATCH 24/33] usb/ps3: Add missing annotations

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:38 AM, Geert Uytterhoeven wrote: probe functions should be __devinit initialization functions should be __init Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com --- drivers/usb/host/ehci-ps3.c |4 ++--

Re: [PATCH 3/5] can: af_can.c use rcu_barrier() on module unload.

2009-06-10 Thread David Miller
From: Jeremy Kerr j...@ozlabs.org Date: Wed, 10 Jun 2009 22:41:47 +1000 David, We really can't expect patchwork to look for every conceivable malignment of the various reviewer tags. No, but we could probably be more tolerant about capitalisation. Any objections about ignoring case

Re: [PATCH 19/33] ps3: shorten ps3_system_bus_[gs]et_driver_data to ps3_system_bus_[gs]et_drvdata

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:38 AM, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: Geoff Levand geoffrey.lev...@am.sony.com Cc: Jim Paris j...@jtan.com --- arch/powerpc/include/asm/ps3.h |4 +- drivers/block/ps3disk.c| 23 +++---

MPC5200B: Can't receive/handle external Interrupts

2009-06-10 Thread Schaller Stephan
Hello, I am using a Freescale MPC5200B running Linux 2.6.27.10. Hardware is declared using a flat device tree loaded by uBoot. My Problem is that external Interrupts (I use IRQ3) get not received. I can use bit 18 of the Main Interrupt Emulation All Register (MBAR+0x540) to trigger IRQ3

[PATCH -next] powerpc/fsl-booke: Enable L1 cache on e500v1/e500v2/e500mc CPUs

2009-06-10 Thread Nate Case
Some boot loaders may not enable L1 instruction/data cache. Check if data and instruction caches are enabled, and enable them if needed. Signed-off-by: Nate Case nc...@xes-inc.com --- arch/powerpc/include/asm/reg_booke.h |2 + arch/powerpc/kernel/cpu_setup_fsl_booke.S | 49

Re: Delay on intialization ide subsystem(most likely)

2009-06-10 Thread Andrey Gusev
On Mon, 8 Jun 2009 22:20:41 +0200 Bartlomiej Zolnierkiewicz bzoln...@gmail.com wrote: On Saturday 30 May 2009 12:46:43 Andrey Gusev wrote: On Wed, 20 May 2009 17:56:14 +0200 Bartlomiej Zolnierkiewicz bzoln...@gmail.com wrote: On Friday 15 May 2009 22:40:07 Andrey Gusev wrote: On

Re: [PATCH 00/33] My PS3-specific patches for 2.6.31

2009-06-10 Thread Benjamin Herrenschmidt
On Wed, 2009-06-10 at 16:38 +0200, Geert Uytterhoeven wrote: Hi Ben, Here are my PS3-specific patches for 2.6.31: G. It's -WAY TOO LATE- I though I made it clear that patches should be ready in -next -before- the merge window, in fact, by rc7 or rc8, we should have a good idea

Re: Delay on intialization ide subsystem(most likely)

2009-06-10 Thread Benjamin Herrenschmidt
On Thu, 2009-06-11 at 00:38 +0400, Andrey Gusev wrote: I try this small fix, traces in disappeared, but lost interrupts on the place:) Some interesting thing from dmesg: [0.435806] irq: irq 251 on host /p...@f200/mac...@17/interrupt-control...@4 mapped to virtual irq 251 [

Re: next branch update

2009-06-10 Thread Sean MacLennan
What ever happened to this patch? diff --git b/arch/powerpc/platforms/44x/warp.c a/arch/powerpc/platforms/44x/warp.c index c511880..7f3c1c7 100644 --- b/arch/powerpc/platforms/44x/warp.c +++ a/arch/powerpc/platforms/44x/warp.c @@ -43,7 +43,13 @@ static int __init warp_probe(void) {

Re: Delay on intialization ide subsystem(most likely)

2009-06-10 Thread Andrey Gusev
On Thu, 11 Jun 2009 07:46:17 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Thu, 2009-06-11 at 00:38 +0400, Andrey Gusev wrote: I try this small fix, traces in disappeared, but lost interrupts on the place:) Some interesting thing from dmesg: [0.435806] irq: irq

Re: [PATCH 00/33] My PS3-specific patches for 2.6.31

2009-06-10 Thread Benjamin Herrenschmidt
On Wed, 2009-06-10 at 17:00 -0500, Nate Case wrote: Hmm, I guess this sorta answers my question to Kumar about my recent -next submissions being eligible for 2.6.31. Sorry for not paying closer attention -- I just assumed we weren't even close to the cutoff time. I didn't even see Kumar's

Re: [PATCH -next] powerpc/85xx: Add support for X-ES MPC85xx boards

2009-06-10 Thread Kumar Gala
On Jun 10, 2009, at 4:46 PM, Nate Case wrote: Hi Kumar, Thanks for the feedback. Response below: + + root = of_find_node_by_path(/); + if (root == NULL) + return; + + model = of_get_property(root, model, NULL); + if (strncasecmp(model, xes,,

Re: Delay on intialization ide subsystem(most likely)

2009-06-10 Thread Benjamin Herrenschmidt
On Thu, 2009-06-11 at 01:57 +0400, Andrey Gusev wrote: I wrote about time, why it have such values on second CPU? Sorry, if this message is silly. Oh that's just because it hasn't synchronized the timebases yet when it prints those messages. Cheers, Ben. I found configuration, where

Re: next branch update

2009-06-10 Thread Benjamin Herrenschmidt
On Wed, 2009-06-10 at 17:56 -0400, Sean MacLennan wrote: What ever happened to this patch? Dunno... It should have been in patchwork. I remember the patch in fact and I intended to merge it... Can you re-submit with appropriate cset comment, signed-off-by etc... ? (Mistakes -do- happen, which

Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Stephen Rothwell
Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote: /* Find the TBI PHY. If it's not there, we don't support SGMII */ - ph = of_get_property(np, tbi-handle, NULL); + ph = (phandle *)of_get_property(np, tbi-handle, NULL); You don't

Re: next branch update

2009-06-10 Thread Benjamin Herrenschmidt
On Wed, 2009-06-10 at 21:09 -0400, Sean MacLennan wrote: I was expecting an rc9 and another week. Probably others where caught off guard. Patch below. Note that this simple patch qualifies as a bug fix in my book and thus is less constrainted. I would happily have merged it in -rc4 :-)

Re: [PATCH 00/33] My PS3-specific patches for 2.6.31

2009-06-10 Thread Michael Ellerman
On Thu, 2009-06-11 at 10:48 +1000, Benjamin Herrenschmidt wrote: On Wed, 2009-06-10 at 15:53 -0600, Gary Thomas wrote: Trying to understand the process (in preparation for any patches I may want to push upstream) - how can this be too late for 2.6.31? 2.6.30 just came out today... I'm

Re: [PATCH v2 -next] powerpc/85xx: Add support for X-ES MPC85xx boards

2009-06-10 Thread David Gibson
On Wed, Jun 10, 2009 at 05:30:39PM -0500, Nate Case wrote: Add support for X-ES single-board computers based on the Freescale MPC85xx processors. Changes include: [snip] diff --git a/arch/powerpc/boot/dts/xcalibur1501.dts b/arch/powerpc/boot/dts/xcalibur1501.dts new file mode 100644 index

Re: [PATCH 00/33] My PS3-specific patches for 2.6.31

2009-06-10 Thread Benjamin Herrenschmidt
On Thu, 2009-06-11 at 11:32 +1000, Michael Ellerman wrote: The way I think of it is that the merge window is the time for maintainers to merge with Linus. So if you're sending patches to a maintainer you need to have sent all your patches to them _before_ then. So the merge window for you is

Re: [PATCH 4/4] MPC85xx: Add UCC6 and UCC8 nodes in SGMII mode for MPC8569MDS

2009-06-10 Thread Kumar Gala
On Jun 3, 2009, at 5:51 AM, David Miller wrote: From: Haiying Wang haiying.w...@freescale.com Date: Tue, 2 Jun 2009 10:04:16 -0400 Signed-off-by: Haiying Wang haiying.w...@freescale.com I couldn't apply this to net-next-2.6 because this DTS file being patched doesn't exist there. Perhaps

linux-next: powerpc tree build warning

2009-06-10 Thread Stephen Rothwell
Hi Ben, Today's linux-next build (powerpc ppc64_defconfig) produced this warning: arch/powerpc/platforms/Kconfig.cputype:60:warning: defaults for choice values not supported We appear to have CONFIG_PPC_BOOK3S int two places which is confusing Kconfig. -- Cheers, Stephen Rothwell

Re: [PATCH v2] Add MSI interrupts to DTS of MPC8315E-RDB

2009-06-10 Thread Kumar Gala
On Jun 6, 2009, at 11:15 AM, leon.woestenb...@gmail.com wrote: The PCIe MSI interrupts are missing from the device tree source, and thus were not enabled. This patch adds them. v2 of the patch fixes inconsistent white space, reported by David Gibson. Tested to work on MPC8315E-RDB with

Re: [PATCH] powerpc/86xx: Add I2C device mappings in DTS for SBC610

2009-06-10 Thread Kumar Gala
On May 19, 2009, at 4:40 AM, Martyn Welch wrote: Mappings for temperature sensors (adt7461 and lm92) are missing from the SBC610's DTS file. Signed-off-by: Martyn Welch martyn.we...@gefanuc.com --- arch/powerpc/boot/dts/gef_sbc610.dts | 10 ++ 1 files changed, 10 insertions(+), 0

Re: [PATCH] powerpc/83xx: Update sdhci nodes per new bindings

2009-06-10 Thread Kumar Gala
On Jun 10, 2009, at 10:19 AM, Anton Vorontsov wrote: As of commit 404614728f857d0ac63d29c3a29d0cf392a15598 (Update FSL esdhc binding), we use fsl,esdhc compatible entry as a base match. U-Boot will use the same compatible to fixup esdhc nodes. This patch updates 83xx dts files so that they

Re: [PATCH 4/4] MPC85xx: Add UCC6 and UCC8 nodes in SGMII mode for MPC8569MDS

2009-06-10 Thread Kumar Gala
On Jun 2, 2009, at 9:04 AM, Haiying Wang wrote: Signed-off-by: Haiying Wang haiying.w...@freescale.com --- arch/powerpc/boot/dts/mpc8569mds.dts | 63 + + 1 files changed, 63 insertions(+), 0 deletions(-) applied to next. - k

Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash size

2009-06-10 Thread Kumar Gala
On May 12, 2009, at 2:06 PM, Wolfgang Denk wrote: The current device tree for the MPC8272ADS assumes a mapping of 32 MB of NOR flash at 0xFE00., while there are actually only 8 MB on the boards, mapped at 0xFF80.. When booting an uImage with such a device tree, the kernel crashes

Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Subrata Modak
On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote: /* Find the TBI PHY. If it's not there, we don't support SGMII */ - ph = of_get_property(np, tbi-handle, NULL); + ph =

Re: [PATCH 00/33] My PS3-specific patches for 2.6.31

2009-06-10 Thread Michael Ellerman
On Thu, 2009-06-11 at 11:35 +1000, Benjamin Herrenschmidt wrote: On Thu, 2009-06-11 at 11:32 +1000, Michael Ellerman wrote: The way I think of it is that the merge window is the time for maintainers to merge with Linus. So if you're sending patches to a maintainer you need to have sent

Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Michael Ellerman
On Thu, 2009-06-11 at 07:26 +0530, Subrata Modak wrote: On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote: /* Find the TBI PHY. If it's not there, we don't support SGMII */

[PATCH][Resend][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Subrata Modak
Hi Michael, On Thu, 2009-06-11 at 12:03 +1000, Michael Ellerman wrote: On Thu, 2009-06-11 at 07:26 +0530, Subrata Modak wrote: On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote:

Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Tony Breeds
On Thu, Jun 11, 2009 at 07:26:04AM +0530, Subrata Modak wrote: On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote: /* Find the TBI PHY. If it's not there, we don't support

Re: [PATCH] powerpc/85xx: add nor flash partitions for mpc8569mds

2009-06-10 Thread Kumar Gala
On May 26, 2009, at 9:05 PM, Kevin Hao wrote: Add 4 partitions in nor flash. Also fix nor flash bank width bug. Can you explain this.. I'm trying to understand why you set the bank- width to 1 - k Signed-off-by: Kevin Hao kexin@windriver.com ---

Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Nathan Lynch
Subrata Modak subr...@linux.vnet.ibm.com writes: On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote: /* Find the TBI PHY. If it's not there, we don't support SGMII */ - ph =

Re: [PATCH v2] 83xx: add support for the kmeter1 board.

2009-06-10 Thread Kumar Gala
On Apr 28, 2009, at 11:48 PM, Heiko Schocher wrote: The following series implements basic board support for the kmeter1 board from keymile, based on a MPC8360. This series provides the following functionality: - The board can boot with a serial console on UART1 - Ethernet: UCC1 in RGMII

Re: [PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-06-10 Thread Kumar Gala
On May 16, 2009, at 11:04 AM, Rogério Brito wrote: Hi, Kumar, Guennadi, and Co. This patch addresses the following issues: 01. makes CFQ the default scheduler, to be in line with the rest of the kernel. 02. since linkstations are meant to store files, enable large blk devices. 03. disable

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-06-10 Thread Kumar Gala
On Apr 27, 2009, at 3:49 PM, Dan Williams wrote: On Mon, Apr 27, 2009 at 1:47 PM, Timur Tabi ti...@freescale.com wrote: Adding Kumar to the CC: list, since he might pick up the patch. Acked-by: Dan Williams dan.j.willi...@intel.com I agree with taking this through Kumar's tree. I'm

Re: [PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx

2009-06-10 Thread Kumar Gala
On Jun 8, 2009, at 5:17 PM, Nate Case wrote: MPC85xx platforms do support 4 ethernet ports, so make sure the boot wrapper fixes up all of them in the fdt. Signed-off-by: Nate Case nc...@xes-inc.com --- arch/powerpc/boot/cuboot-85xx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

Re: linux-next: powerpc tree build warning

2009-06-10 Thread Benjamin Herrenschmidt
On Thu, 2009-06-11 at 11:39 +1000, Stephen Rothwell wrote: Hi Ben, Today's linux-next build (powerpc ppc64_defconfig) produced this warning: arch/powerpc/platforms/Kconfig.cputype:60:warning: defaults for choice values not supported We appear to have CONFIG_PPC_BOOK3S int two places

Re: ipr boot failure caused by MSI (2.6.30-rc1+)

2009-06-10 Thread Wayne Boyer
Brian King wrote: James Bottomley wrote: On Thu, 2009-05-21 at 14:51 -0500, James Bottomley wrote: I saw the quirk fix for this go by: http://ozlabs.org/pipermail/linuxppc-dev/2009-May/072436.html Is there an easy way to trigger an interrupt on this device? Preferably in ipr_probe_ioa()

Re: [PATCH] mpc83xx/usb.c: fix usb mux setup for mpc834x

2009-06-10 Thread Kumar Gala
On Jun 9, 2009, at 6:43 AM, Peter Korsgaard wrote: usb0 and usb1 mux settings in the sicrl register were swapped (twice!) in mpc834x_usb_cfg(), leading to various strange issues with fsl-ehci and full speed devices. The USB port config on mpc834x is done using 2 muxes: Port 0 is always used

[PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]

2009-06-10 Thread Subrata Modak
Hi Nathan, On Wed, 2009-06-10 at 21:28 -0500, Nathan Lynch wrote: Subrata Modak subr...@linux.vnet.ibm.com writes: On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: Hi Subrata, On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak subr...@linux.vnet.ibm.com wrote:

Re: [PATCH -next] powerpc/fsl-booke: Enable L1 cache on e500v1/e500v2/e500mc CPUs

2009-06-10 Thread Kumar Gala
On Jun 10, 2009, at 3:37 PM, Nate Case wrote: Some boot loaders may not enable L1 instruction/data cache. Check if data and instruction caches are enabled, and enable them if needed. Signed-off-by: Nate Case nc...@xes-inc.com --- arch/powerpc/include/asm/reg_booke.h |2 +

Re: [PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx

2009-06-10 Thread Nathaniel Case
On Wed, 10 Jun 2009 21:54:01 -0500, Kumar Gala ga...@kernel.crashing.org wrote: #define TARGET_85xx +#define TARGET_HAS_ETH3 This is problematic in that we'd be changing the memory layout of the bd_t and not ALL 85xx's have HAS_ETH3 set. It shouldn't be problematic. The bi_enet3addr

Re: [PATCH] serial: Fix bug of ucc_uart

2009-06-10 Thread Kumar Gala
On Jun 8, 2009, at 9:24 AM, Dave Liu wrote: Current ucc_uart driver doesn't work at UART mode, The TxBD[READY] is not cleared by H/W (RISC engine) when user send characters to Tx buffer of QE UART. so, these characters stay on the QE forever, never go to UART line. The patch is fixing th bug.

Re: [PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx

2009-06-10 Thread Kumar Gala
On Jun 10, 2009, at 10:40 PM, Nathaniel Case wrote: On Wed, 10 Jun 2009 21:54:01 -0500, Kumar Gala ga...@kernel.crashing.org wrote: #define TARGET_85xx +#define TARGET_HAS_ETH3 This is problematic in that we'd be changing the memory layout of the bd_t and not ALL 85xx's have HAS_ETH3 set.

Re: [PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx

2009-06-10 Thread Kumar Gala
On Jun 8, 2009, at 5:17 PM, Nate Case wrote: MPC85xx platforms do support 4 ethernet ports, so make sure the boot wrapper fixes up all of them in the fdt. Signed-off-by: Nate Case nc...@xes-inc.com --- arch/powerpc/boot/cuboot-85xx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

[PATCH][BUILD FAILURE 03/04] Next June 04:PPC64 randconfig [drivers/net/lance.o]

2009-06-10 Thread Subrata Modak
Hi Benjamin/Paul, On Thu, 2009-06-04 at 19:02 +0530, Subrata Modak wrote: CC drivers/net/lance.o drivers/net/lance.c: In function 'lance_probe1': drivers/net/lance.c:575: error: implicit declaration of function 'isa_virt_to_bus' drivers/net/lance.c: In function 'lance_rx':

[PATCH] sata_fsl: Add power mgmt support

2009-06-10 Thread Kumar Gala
From: Dave Liu dave...@freescale.com Signed-off-by: Dave Liu dave...@freescale.com Signed-off-by: Liu Yu yu@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- drivers/ata/sata_fsl.c | 35 +++ 1 files changed, 35 insertions(+), 0

[PATCH] powerpc/fsl_lbc: Increase the number of possible lbc banks

2009-06-10 Thread mware
Currently the fsl,*lbc devices support 8 banks (ie OR and BR registers). This is adequate for most pq2 and pq3 processors, but not the MPC8280 which has 12 banks. Signed-Off-By: Mark Ware mw...@elphinstone.net --- arch/powerpc/include/asm/fsl_lbc.h |4 ++-- 1 files changed, 2 insertions(+),

Re: [PATCH 1/6] rapidio: add common mapping APIs for RapidIO memory access

2009-06-10 Thread Kumar Gala
On May 12, 2009, at 3:35 AM, Li Yang wrote: Add the mapping functions used to support direct IO memory access of rapidIO. Signed-off-by: Zhang Wei z...@zh-kernel.org Signed-off-by: Li Yang le...@freescale.com Use inbnd/outbnd instead of inb/outb which make one think of byte level io

Re: MPC85xx erratum I2C1 - I2C controller is unable to generate clocks when SDA is low coming out of reset

2009-06-10 Thread Kumar Gala
On May 26, 2009, at 3:22 AM, Fredrik Arnerup wrote: We've had some trouble with I2C not working after a soft reboot, which we think is due to the the erratum I2C1 which is present in at least the mpc8540 and the mpc8560. Since there is no good workaround, the only choice seems to be to avoid

  1   2   >