[PATCH] powerpc: Don't do generic calibrate_delay()

2009-06-10 Thread Benjamin Herrenschmidt
Currently we are wasting time calling the generic calibrate_delay() function. We don't need it since our implementation of __delay() is based on the CPU timebase. So instead, we use our own small implementation that initializes loops_per_jiffy to something sensible to make the few users like spinlo

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 memor

[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: http://oz

[Patch 1/6] Prepare the PowerPC platform for HW Breakpoint infrastructure

2009-06-10 Thread K.Prasad
Prepare the PowerPC code for HW Breakpoint infrastructure patches by including relevant constant definitions and function declarations. Signed-off-by: K.Prasad --- arch/powerpc/include/asm/hw_breakpoint.h | 59 +++ arch/powerpc/include/asm/processor.h |1 a

[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 --- arch/powerpc/kernel/ptrace.c | 43 +++ 1 file changed, 43 insertions(+) Index: linux-2.6-tip.hbkpt/arch/powerpc/kernel/ptrace.c

[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 --- arch/powerpc/ke

[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 --- arch/powerpc/Kconfig|1 arch/powerpc/kernel/Makefile|2 arch/powerpc

[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 --- arch/powerpc/mm/fault.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) Index: linux-2.6-tip.hbkpt/arch/powerpc/mm/fault.c =

[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 --- arch/powerpc/kernel/machine_kexec_64.c |3 +++ samples/hw_breakpoint/data_breakpoint.c |4 2 files changed, 7 insertions(+) Index

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:<3>ide-pmac lost interrupt, dma status: 8480 > > > > DMA status indicates that DMA transfer is still active according to > > the control

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 ps3vra

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

2009-06-10 Thread Geert Uytterhoeven
From: sebastian.bla...@gmail.com Signed-off-by: Geert Uytterhoeven 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 b/drivers/ps3/ps3av.c index 235e87f..4e4611e 100644 --- a/driver

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

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Jim Paris Cc: Jens Axboe --- 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 100644 --- a/drivers/block/ps3vram.c +++ b/drivers/block/p

[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 Signed-off-by: Geert Uytterhoeven Cc: Jim Paris Cc: Jens Axboe --- drivers/block/ps3vram.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3v

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

2009-06-10 Thread Geert Uytterhoeven
From: Jim Paris Signed-off-by: Geert Uytterhoeven Cc: Jim Paris Cc: Jens Axboe --- drivers/block/ps3vram.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c index 6e73868..3c9ad19 100644 --- 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 Cc: linux-fbdev-de...@lists.sourceforge.net --- drivers/video/ps3fb.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletion

[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 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 b/drivers/video/ps3fb.c index ce0f873..a745018

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

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven 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 --- a/drivers/video/ps3fb.c ++

[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 Cc: linux-fb

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

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Jim Paris Cc: Jens Axboe --- 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 7d1c742..5f408c6 100644 --- a/drivers/block/ps3vram.c +++ b/d

[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 Cc: Jim Paris Cc: Jens Axboe --- v2: Use bio_list instead of homebrew single-linked list

[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 Cc: Jim Pari

[PATCH 10/33] powerpc/cell: Extract duplicated IOPTE_* to

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 , while adding a CBE_ prefix. This also allows them to be used by drivers. Signed-off-by: Geert Uytterhoeven --- v2: Add CBE_ prefix

[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 Cc: Jim Paris Cc: Jens Axboe --- drivers/block/ps3vram.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c index 5f408c6..fbbdd5c 100644 --- a/drivers/block/ps

[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 Cc: Geoff Levand --- 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 b9e4987..dcd302f 100644 --- a/arch/powerpc/include/asm/ps3.h +++

[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 Cc: linux-fbdev-de...@lists.sourceforge.net --- arch/po

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

2009-06-10 Thread Geert Uytterhoeven
From: Roel Kluin 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 backwards compatible

[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 Cc: Jens Axboe --- include/linux/bio.h |5 + 1 fi

[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 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 --- a/drivers/video/ps3fb.c +++ b/drive

[PATCH 13/33] ps3fb/vram: Extract common GPU stuff into

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: linux-fbdev-de...@lists.sourceforge.net Cc: Jim Paris Cc: Jens Axboe --- arch/powerpc/include/asm/ps3.h |3 - arch/powerpc/include/asm/ps3gpu.h | 78 arch/powerpc/platforms/ps3/setup.c |1 + drivers/block/

[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 Cc: Geoff Levand --- drivers/ps3/ps3-sys-manager.c |2 +- drivers/ps3/ps3av.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ps3/ps3

[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 Cc: linux-s...@vger.kernel.org Cc: James E.J. Bottomley --- drivers/scsi/ps3rom.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/ps3rom.c b/drivers/scsi/ps3rom.c index ca0dd33..db90caf 100644 --- a/drivers/scsi/ps3

[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 --- 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 +++ b/drivers/char/ps3flash.c @@ -108,7 +

[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 Cc: Geoff Levand --- drivers/usb/host/ehci-ps3.c |4 ++-- drivers/usb/host/ohci-ps3.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/

[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 Cc: Geoff Levand --- arch/powerpc/platforms/ps3/mm.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/ps3/mm.c b/arch/powerp

[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 Cc: Geoff Levand --- drivers/net/ps3_gelic_net.c | 22 -- drivers/net/ps3_gelic_wireless.c |6 +++--- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/net/ps3_gelic_net.c

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

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai --- sound/ppc/snd_ps3.c | 32 +++- 1 files changed, 15 insertions(+), 17 deletions(-) diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c index f361c26..d660b0f 100644 --- a/sound

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

2009-06-10 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- 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 b/drivers/char/ps3flash.c index d884d31..f424d

[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 Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai --- sound/ppc/snd_ps3.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c index cd9109a..53c81a5 100

[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 Cc: alsa-de...@alsa-project.org Cc: Takashi Iwai --- sound/ppc/snd_ps3.c | 621 --- 1 files changed, 288 insertions(+

[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 30/33] ps3: Switch ps3_os_area_[gs]et_rtc_diff to EXPORT_SYMBOL_GPL()

2009-06-10 Thread Geert Uytterhoeven
They were never intended to be exported using EXPORT_SYMBOL() anyway Signed-off-by: Geert Uytterhoeven Cc: Geoff Levand --- arch/powerpc/platforms/ps3/os-area.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platf

[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 Cc: Geoff Levand Cc: Jim Paris --- arch/powerpc/include/asm/ps3.h |4 +- drivers/block/ps3disk.c| 23 +++--- drivers/block/ps3vram.c| 48 drivers/net/ps3_gelic_net.c|8 +++---

[PATCH 31/33] ps3: Replace direct file operations by callback

2009-06-10 Thread Geert Uytterhoeven
Currently the FLASH database is updated by the kernel using file operations, meant for userspace only. While this works for us because copy_{from,to}_user() on powerpc can handle kernel pointers, this is unportable and a bad example. Replace the file operations by callbacks, registered by the ps3fl

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 > Cc: alsa-de...@alsa-project.org > Cc: Takashi Iwai Thanks, applied these three patches (26,27,28) to sound git tree. Takashi > --- > sound/ppc/snd_ps3.c | 32 +++--

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

2009-06-10 Thread Anton Vorontsov
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 conform to the new bindings. Signed-off-by: Anton Voron

Re: [PATCH 30/33] ps3: Switch ps3_os_area_[gs]et_rtc_diff to EXPORT_SYMBOL_GPL()

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:39 AM, Geert Uytterhoeven wrote: > They were never intended to be exported using EXPORT_SYMBOL() anyway > > Signed-off-by: Geert Uytterhoeven > Cc: Geoff Levand Acked-by: Geoff Levand ___ Linuxppc-dev mailing list Linuxppc-dev@lists

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 > Cc: Geoff Levand > --- > arch/powerpc/include/asm/ps3.h |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Acked-by: Geoff Levand ___ Linuxppc-dev m

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 > Cc: Geoff Levand > --- > drivers/ps3/ps3-sys-manager.c |2 +- > drivers/ps3/ps3av.c |4 ++-- > 2 files ch

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 > Cc: Geoff Levand > --- > drivers/net/ps3_gelic_net.c | 22 -- > drivers/net/ps3_gelic_wireless.c |6 +++--- > 2 files changed, 15 insert

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 > Cc: Geoff Levand > --- > drivers/usb/host/ehci-ps3.c |4 ++-- > drivers/usb/host/ohci-ps3.c |4 ++-- > 2 files chan

Re: [PATCH 31/33] ps3: Replace direct file operations by callback

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:39 AM, Geert Uytterhoeven wrote: > Currently the FLASH database is updated by the kernel using file operations, > meant for userspace only. While this works for us because > copy_{from,to}_user() > on powerpc can handle kernel pointers, this is unportable and a bad example. > Repl

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

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:39 AM, Geert Uytterhoeven wrote: > It reports the failure of a call to lv1_put_iopte(), not > lv1_map_device_dma_region(). > > Signed-off-by: Geert Uytterhoeven > Cc: Geoff Levand > --- > arch/powerpc/platforms/ps3/mm.c |5 ++--- > 1 files changed, 2 insertions(+), 3 deleti

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

2009-06-10 Thread David Miller
From: Jeremy Kerr 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 completely?

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

2009-06-10 Thread Geoff Levand
On 06/10/2009 07:38 AM, Geert Uytterhoeven wrote: > Here are my PS3-specific patches for 2.6.31: All the ones that touch my stuff look good. A lot of nice cleanups, thanks for the effort. -Geoff ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.

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 > Cc: Geoff Levand > Cc: Jim Paris > --- > arch/powerpc/include/asm/ps3.h |4 +- > drivers/block/ps3disk.c| 23 +++--- > drivers/block/ps3vram.c| 48 > -

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

2009-06-10 Thread Subrata Modak
Hi Ling, >On Thu, 2009-06-04 at 19:02 +0530, Subrata Modak wrote: >CC [M] drivers/net/ucc_geth.o > drivers/net/ucc_geth.c: In function bucc_geth_probeb: > drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this > function) > drivers/net/ucc_geth.c:3822: error: (Each undeclared ide

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 manua

[patch 1/1] drivers/hvc: add missing __devexit_p()

2009-06-10 Thread akpm
From: Mike Frysinger The remove function uses __devexit, so the .remove assignment needs __devexit_p() to fix a build error with hotplug disabled. Signed-off-by: Mike Frysinger Cc: Stephen Rothwell Cc: Paul Mackerras Cc: Milton Miller Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Signed-o

[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 --- 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 wrote: > On Saturday 30 May 2009 12:46:43 Andrey Gusev wrote: > > On Wed, 20 May 2009 17:56:14 +0200 > > Bartlomiej Zolnierkiewicz wrote: > > > > > On Friday 15 May 2009 22:40:07 Andrey Gusev wrote: > > > > On Wed, 13 May 2009 20:46:33

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 id

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: [PATCH -next] powerpc/85xx: Add support for X-ES MPC85xx boards

2009-06-10 Thread Nate Case
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,", strlen("xes,")) != 0) > > + return; >

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) { unsign

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 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 251 on > > host

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

2009-06-10 Thread Nate Case
On Thu, 2009-06-11 at 07:43 +1000, Benjamin Herrenschmidt wrote: > 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 of what's going in either via my 'next' branch

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,", strle

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

2009-06-10 Thread Kumar Gala
On Jun 10, 2009, at 5:30 PM, Nate Case wrote: Add support for X-ES single-board computers based on the Freescale MPC85xx processors. Changes include: * New machine support in platforms/85xx * dts files for supported boards * defconfig * Boot wrapper support for XPedite5200 to support lega

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

2009-06-10 Thread Nate Case
On Wed, 2009-06-10 at 18:24 -0500, Kumar Gala wrote: > > + form-factor = "6U cPCI"; > > + boot-bank = <0x0>; /* 0: Primary flash, 1: Secondary flash */ > > I'm not a fan of taking device trees with properties that are > specified anywhere. I can just delete them for now. They're purel

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 t

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

2009-06-10 Thread Benjamin Herrenschmidt
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 taking the liberty to reply to the list here because I think more peop

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 i

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 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 need this cast becaus

Re: next branch update

2009-06-10 Thread Sean MacLennan
On Thu, 11 Jun 2009 10:50:52 +1000 Benjamin Herrenschmidt wrote: > n 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 >

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 :-) Chee

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...

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 >

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

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 Date: Tue, 2 Jun 2009 10:04:16 -0400 Signed-off-by: Haiying Wang I couldn't apply this to net-next-2.6 because this DTS file being patched doesn't exist there. Perhaps the powerpc-next tree can suck it in... I'll pick

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 cus

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 --- arch/powerpc/boot/dts/gef_sbc610.dts | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) applied t

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 --- arch/powerpc/boot/dts/mpc8569mds.dts | 63 + + 1 files changed, 63 insertions(+), 0 deletions(-) applied to next. - k ___ Linuxppc-

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 becaus

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 > 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_g

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 h

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 > > wrote: > > > > > > /* Find the TBI PHY. If it's not there, we don't support SGMII */ > > > - ph = o

[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 > > > 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 > > wrote: > > > > > > /* Find the TBI PHY. If it's not there, we don't support SGMII */ > > > -

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 --- arch/powerpc/boot/dts/mpc8569mds.dts | 24 +++

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 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 >> wrote: >> > >> >/* Find the TBI PHY. If it's not there, we don't support SGMII */ >> > - ph = of_get_property(np, "tbi-handle", NULL

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 mo

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 wrote: Adding Kumar to the CC: list, since he might pick up the patch. Acked-by: Dan Williams I agree with taking this through Kumar's tree. I'm going through patches for .31.. Should I still

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 --- arch/powerpc/boot/cuboot-85xx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch

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 pl

  1   2   >