Re: [PATCH 1/2] Enable SPU switch notification to detect currently active SPU tasks.

2007-07-13 Thread Christoph Hellwig
On Fri, Jul 13, 2007 at 12:12:33PM +0200, Christoph Hellwig wrote: -static inline int spu_stopped(struct spu_context *ctx, u32 * stat) +static inline int spu_stopped(struct spu_context *ctx, u32 *stat) useless (and wrong) reformatting, please remove. Sorry, this looked like going the wrong

Re: [Cbe-oss-dev] PS3 improved video mode autodetection for HDMI/DVI

2007-07-13 Thread Geert Uytterhoeven
On Fri, 13 Jul 2007, Benjamin Herrenschmidt wrote: Since 720p is a broadcast mode, I can't make it default to fullscreen, as a part of the image will fall off on most monitors. Do you have any info from the EDID block that would tell you whether the monitor displays the full picture

Re: PS3 Storage Driver O_DIRECT issue

2007-07-13 Thread Geert Uytterhoeven
On Fri, 13 Jul 2007, Olaf Hering wrote: This driver (or the generic PS3 code) has appearently problems with O_DIRECT. glibc aborts parted because the malloc metadata get corrupted. While it is reproducible, the place where it crashes changes with every version of the debug attempt. I dont

Re: [PATCH 2/4] Implement arch disable/enable irq hooks.

2007-07-13 Thread Johannes Berg
On Thu, 2007-07-12 at 14:12 -0500, Scott Wood wrote: +void generic_suspend_disable_irqs(void) +void generic_suspend_enable_irqs(void) Oh hm on second thought, can we have these in some header file so we can call them if we need to use the ppc_md hooks? johannes signature.asc Description:

[PATCH 2/2] Add PCI/PCI Express node for 8544DS board]

2007-07-13 Thread Zang Roy-r61911
From: Roy Zang [EMAIL PROTECTED] Add PCI/PCI Express node for 8544DS board. --- arch/powerpc/boot/dts/mpc8544ds.dts | 211 +++ 1 files changed, 211 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8544ds.dts

[PATCH 1/2] Add basic PCI /PCI Express support for 8544DS board

2007-07-13 Thread Zang Roy-r61911
From: Roy Zang [EMAIL PROTECTED] Add basic PCI/PCI Express support for 8544DS board. Signed-off-by: York Sun [EMAIL PROTECTED] Signed-off-by: Roy Zang [EMAIL PROTECTED] --- arch/powerpc/platforms/85xx/Kconfig |1 + arch/powerpc/platforms/85xx/mpc8544_ds.c | 252

[PATCH 0/2] Add basic PCI/PCI express support for 8544DS board

2007-07-13 Thread Zang Roy-r61911
These two patches add basic PCI/PCI Express support for 8544DS board. These patches are based on current Kumar's tree for_paulus. Roy ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [Cbe-oss-dev] PS3 improved video mode autodetection for HDMI/DVI

2007-07-13 Thread HÃ¥vard Espeland
On Thu, Jul 12, 2007 at 05:12:43PM +0200, Geert Uytterhoeven wrote: On Thu, 12 Jul 2007, [iso-8859-1] H?vard Espeland wrote: On Thu, Jul 12, 2007 at 10:40:47AM +0200, Geert Uytterhoeven wrote: If it fails, please add `#define DEBUG' to drivers/ps3/ps3av.c, send me the `Monitor Info'

Re: [PATCH 1/3] powerpc clk.h interface for platforms

2007-07-13 Thread Domen Puncer
On 11/07/07 21:34 +0100, Russell King wrote: On Wed, Jul 11, 2007 at 10:02:54AM -0700, David Brownell wrote: On Wednesday 11 July 2007, Christoph Hellwig wrote: On Wed, Jul 11, 2007 at 08:56:58AM -0700, David Brownell wrote: Umm, this is about the fifth almost identical implementation

Re: Tickless Hz/hrtimers/etc. on PowerPC

2007-07-13 Thread Domen Puncer
On 12/07/07 13:07 +0100, Matt Sealey wrote: Domen, You wouldn't have tried these on the Efika yet, would you? Not yet, but they worked on a mpc5200b based board (lite5200b). Domen -- Matt Sealey [EMAIL PROTECTED] Genesi, Manager, Developer Relations Domen Puncer wrote:

Re: Tickless Hz/hrtimers/etc. on PowerPC

2007-07-13 Thread Benjamin Herrenschmidt
On Thu, 2007-07-12 at 21:04 +0100, Matt Sealey wrote: We already have some ~20 for Efika support on top of 2.6.22 including minor bugfixes and stuff, and the Gentoo genpatches stuff. I really want to get a good start on CFS, hrtimers, dynticks and so on though and see if we can push it to

[PATCH] Add global-utilities node for mpc8544ds and mpc8572mds boards

2007-07-13 Thread Zang Roy-r61911
From: Roy Zang [EMAIL PROTECTED] Add global-utilities node for mpc8544ds and mpc8572mds boards Signed-off-by: Roy Zang [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8544ds.dts |6 ++ arch/powerpc/boot/dts/mpc8568mds.dts |6 ++ 2 files changed, 12 insertions(+), 0 deletions(-)

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-13 Thread Geert Uytterhoeven
On Fri, 13 Jul 2007, Jens Axboe wrote: On Fri, Jul 13 2007, James Bottomley wrote: On Wed, 2007-07-04 at 15:22 +0200, Geert Uytterhoeven wrote: + kaddr = kmap_atomic(sgpnt-page, KM_USER0); + if (!kaddr) + return

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-13 Thread James Bottomley
On Fri, 2007-07-13 at 17:10 +0200, Geert Uytterhoeven wrote: On Fri, 13 Jul 2007, Arnd Bergmann wrote: On Friday 13 July 2007, James Bottomley wrote: IC. - flush_kernel_dcache_page() is a no-op on ppc64 (ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE is defined on parisc only).

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-13 Thread Jens Axboe
On Fri, Jul 13 2007, Geert Uytterhoeven wrote: It's probably a good idea to have the flush_kernel_dcache_page() in there anyway, if only to serve as an example for people that copy it into architecture-independent drivers, same as what we do for the k{,un}map_atomic() that is also not

Re: [PATCH 2.6.21-rt2] PowerPC: revert fix for threaded fasteoi IRQ handlers

2007-07-13 Thread Sergei Shtylyov
Hello. Thomas Gleixner wrote: Now that the -rt patch has been first release in the broken-out version, let me tell you that the following 3 patches in the series can be just annihilated: preempt-irqs-ppc-ack-irq-fixups.patch preempt-irqs-ppc-fix-b5.patch

Re: [PATCH 0/5] Kconfig cleanup revisited

2007-07-13 Thread Mark A. Greer
On Fri, Jul 13, 2007 at 11:54:34AM +0200, Arnd Bergmann wrote: On Friday 13 July 2007, Mark A. Greer wrote: I really like what you've done here, thanks. The patches don't apply straight up so what other patches do these go on top of? They are meant to apply on top of powerpc.git.

Re: [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack.

2007-07-13 Thread Scott Wood
Paul Mackerras wrote: Scott Wood writes: The e300 core (and probably most other 6xx chips) can only come out of sleep mode with an interrupt. However, interrupts are logically disabled by the power management layer. On powerbooks it's typically a hard reset rather than an interrupt. Is

Re: questions about mpc82xx_ads and porting to other, similar, platform

2007-07-13 Thread Scott Wood
On Fri, Jul 13, 2007 at 11:51:15AM +0300, Alexandros Kostopoulos wrote: I am trying to port kernel 2.6.22.1 to my own platform, which incorporates an mpc8275 chip. I'm using platform code for mpc82xx_ads as a template (is this right in the first place?). I have a couple of questions: I

Re: [PATCH] Use resource_size_t for serial port IO addresses

2007-07-13 Thread Andrew Morton
On Fri, 13 Jul 2007 09:02:16 -0500 Josh Boyer [EMAIL PROTECTED] wrote: This is a resend of a patch David sent out on May 7. Without it, the PowerPC 44x port in 2.6.22 and on is broken. I've rebased it off of Linus' current tree. Please consider pushing this soon. josh At present,

Re: [PATCH] Use resource_size_t for serial port IO addresses

2007-07-13 Thread Josh Boyer
On Fri, 2007-07-13 at 12:02 -0700, Andrew Morton wrote: On Fri, 13 Jul 2007 09:02:16 -0500 Josh Boyer [EMAIL PROTECTED] wrote: This is a resend of a patch David sent out on May 7. Without it, the PowerPC 44x port in 2.6.22 and on is broken. I've rebased it off of Linus' current tree.

Re: Help required for porting ISP1362 usb device driver

2007-07-13 Thread Sonny Rao
On Thu, Jul 12, 2007 at 03:57:32PM -0700, Vikram Kone wrote: Hi.. I'm a linux newbie and im working on porting the USB driver ISP1362 by Philips on to my Freescale ppc board. I dont know how to do this... so if any of you can tell me how to do this step by step, i would be

[PATCH 3/5] move 86xx into multiplatform

2007-07-13 Thread Arnd Bergmann
Jon Loeliger [EMAIL PROTECTED] wrote: X-Provags-ID: V01U2FsdGVkX18q0hUeUuMqOEeLWhKFlJn74HxEidaqOcemeHV ERKD3Oa64b/U3Jbpg7ScqVjTea/vrQYQQ9h6BX663cqWFlw9cZ acZ0zSjq49Kqfby7nRUgQ== Hmmm... Shouldn't this sort of change come with an update to the 8641 defconfig too? Content-Disposition: inline;

[PATCH 4/5] linkstation: fix multiplatform build

2007-07-13 Thread Arnd Bergmann
Jon Loeliger [EMAIL PROTECTED] wrote: X-Provags-ID: V01U2FsdGVkX19mfbfAMECjK3Yc4qnJalet5VRz84KpvPei34h Js67aIi1Jyt+C01bLuMxs+l5L4KLJuYYiIXI6fjXdktExWZ2WR fI/xi0tOHQX8AN87t62WA== Hmmm... Shouldn't this sort of change come with an update to the 8641 defconfig too? Content-Disposition: inline;

[PATCH 5/5] move 83xx into multiplatform

2007-07-13 Thread Arnd Bergmann
Jon Loeliger [EMAIL PROTECTED] wrote: X-Provags-ID: V01U2FsdGVkX183KEAUKHXvruCYhaaV52OzolDzOwR8U/cVbZz RqqlZgNmQVzTnk6PKfA2exuU2PW9QK2JcOV9grQhnden9S/eQ3 4u2xKjwqyFO/YMrW3bvyA== Hmmm... Shouldn't this sort of change come with an update to the 8641 defconfig too? Content-Disposition: inline;

[PATCH 2/5] move embedded6xx into multiplatform

2007-07-13 Thread Arnd Bergmann
Jon Loeliger [EMAIL PROTECTED] wrote: X-Provags-ID: V01U2FsdGVkX1+SaCCegn5lQjYmfKX51SjCTUcB54DR70XKrhI hmGM1tKApkuJUhU1N/m27xBNFkgSrryBjxIoSP8aSjI4iolGnU P+lfBacQBsWXTPdYoWsBw== Hmmm... Shouldn't this sort of change come with an update to the 8641 defconfig too? Content-Disposition: inline;

[PATCH 0/5] Kconfig cleanup

2007-07-13 Thread Arnd Bergmann
Jon Loeliger [EMAIL PROTECTED] wrote: X-Provags-ID: V01U2FsdGVkX18a539ZiXmAXeY+eK9MdUjOkwfvlvR4PUC8vLN hv7FFOkt1BgOy18T2Tf8fQgBcT+SMke7QjZMwzOtjX3HPEZzfI I86h59GhTM7GU39vE50ww== Hmmm... Shouldn't this sort of change come with an update to the 8641 defconfig too? Yes, good point. This updates

Re: 2.6.22 flash boot

2007-07-13 Thread Sergei Shtylyov
Hello. Marc Leeman wrote: With the release of the 2.6.22, our boards didn't boot anymore. I traced the change back to 2.6.21-git10/2.6.21-git11. The reason they didn't boot was that the kernel didn't detect the flash where the root filesystem is stored on. The boards boot without an

[PATCH] Fix Tsi108 ethernet driver performance

2007-07-13 Thread Alexandre Bounine
From: Alexandre Bounine [EMAIL PROTECTED] This patch improves performance of the Tsi108 Ethernet driver by changing interrupt handling for frame receive path. It reduces number of interrupts generated for received frames and therefore lowers CPU utilization by the device driver.

Re: [PATCH] Fix Tsi108 ethernet driver performance

2007-07-13 Thread Scott Wood
Alexandre Bounine wrote: -/* If the RX ring has run out of memory, try periodically - * to allocate some more, as otherwise poll would never - * get called (apart from the initial end-of-queue condition). - * - * This is called once per second (by default) from the thread. +/*

Re: [PATCH] Fix Tsi108 ethernet driver performance

2007-07-13 Thread Scott Wood
Scott Wood wrote: Wouldn't this cause latencies of up to a second in responding to received packets? I'd think that would be considered excessive. And shouldn't NAPI be reducing the RX interrupt load anyway? Sorry, I missed that you reduced the interval to 20 ms. Still, a bit on the high

Re: hvc_iseries not working

2007-07-13 Thread Tony Breeds
On Fri, Jul 13, 2007 at 07:05:40PM +0200, Olaf Hering wrote: Hi Olaf, 2.6.21 arch/powerpc/configs/iseries_defconfig works on an i825 with v5r4 2.6.22 arch/powerpc/configs/iseries_defconfig does not. But it works on a i820 with v5r3. 2.6.22 boots ok with CONFIG_VIOCONS Rats! Can you

Re: [PATCH] crash in 2.6.22-git2 sysctl_set_parent()

2007-07-13 Thread David Miller
From: [EMAIL PROTECTED] (Linas Vepstas) Date: Fri, 13 Jul 2007 15:05:15 -0500 This is a patch ( bug report) for a crash in sysctl_set_parent() in 2.6.22-git2. Problem: 2.6.22-git2 crashes with a stack trace [c1d0fb00] c0067b4c .sysctl_set_parent+0x48/0x7c

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-13 Thread Benjamin Herrenschmidt
On Fri, 2007-07-13 at 09:02 -0400, James Bottomley wrote: On Wed, 2007-07-04 at 15:22 +0200, Geert Uytterhoeven wrote: + kaddr = kmap_atomic(sgpnt-page, KM_USER0); + if (!kaddr) + return -1; +

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-13 Thread Benjamin Herrenschmidt
On Fri, 2007-07-13 at 16:19 +0200, Arnd Bergmann wrote: I'm pretty sure that no ppc64 machine needs alias resolution in the kernel, although some are VIPT. Last time we discussed this, Segher explained it to me, but I don't remember which way Cell does it. IIRC, it automatically flushes cache

Re: [PATCH] crash in 2.6.22-git2 sysctl_set_parent()

2007-07-13 Thread Satyam Sharma
Hi, I'm totally confuzed by this patch ... On 7/14/07, Linas Vepstas [EMAIL PROTECTED] wrote: This is a patch ( bug report) for a crash in sysctl_set_parent() in 2.6.22-git2. Are you sure you saw this crash on 22-git2 (Linus' tree) ??? Problem: 2.6.22-git2 crashes with a stack trace

Re: [PATCH] crash in 2.6.22-git2 sysctl_set_parent()

2007-07-13 Thread Eric W. Biederman
[EMAIL PROTECTED] (Linas Vepstas) writes: This is a patch ( bug report) for a crash in sysctl_set_parent() in 2.6.22-git2. Problem: 2.6.22-git2 crashes with a stack trace [c1d0fb00] c0067b4c .sysctl_set_parent+0x48/0x7c [c1d0fb90] c0069b40

Powerpc - Include pagemap.h in asm/powerpc/tlb.h

2007-07-13 Thread Mathieu Desnoyers
Powerpc - Include pagemap.h in asm/powerpc/tlb.h Fixes this powerpc build error in 2.6.22-rc6-mm1 for powerpc 64 : In file included from include2/asm/tlb.h:60, from /home/compudj/git/linux-2.6-lttng/arch/powerpc/mm/init_64. c:56: