Re: [BUG] 2.6.24-rc2-mm1 - kernel bug on nfs v4

2007-11-18 Thread Torsten Kaiser
On Nov 18, 2007 8:18 PM, Trond Myklebust <[EMAIL PROTECTED]> wrote: > On Sun, 2007-11-18 at 19:44 +0100, Torsten Kaiser wrote: > > NFSv2/3 and NFSv4 share the same dentry_iput and so share the same > > unlink and sillyrename logic. > > But they do not share nfs_init_server()! > > > > I wonder why t

[PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

2007-11-18 Thread Stephen Rothwell
From: Kamalesh Babulal <[EMAIL PROTECTED]> The kernel builds fails with following error, with randconfig CC arch/powerpc/mm/stab.o arch/powerpc/mm/stab.c: In function ‘stab_initialize’: arch/powerpc/mm/stab.c:282: error: implicit declaration of function ‘HvCall1’ arch/powerpc/mm/stab.c:282

[RFC/PATCH] powerpc: Fix 8xx build breakage due to _tlbie changes

2007-11-18 Thread Benjamin Herrenschmidt
My changes to _tlbie to fix 4xx unfortunately broke 8xx build in a couple of places. This fixes it. Spotted by Olof Johansson Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/mm/mem.c |2 +- arch/powerpc/mm/mmu_decl.h |2 +- arch/ppc/mm/init.c |

[RFC/PATCH] powerpc: 4xx PCI work in progress

2007-11-18 Thread Benjamin Herrenschmidt
Because a mailing list is the best of backups and I've get something working allright on ebony right now, I figured I would post my WIP pile of patch bringing PCI to the 44x arch/powerpc world. At this stage, only ebony is hooked up, there's a known problem with the SCSI layer and non-coherent arc

[PATCH] powerpc: Fix 8xx build breakage due to _tlbie changes

2007-11-18 Thread Benjamin Herrenschmidt
My changes to _tlbie to fix 4xx unfortunately broke 8xx build in a couple of places. This fixes it. Spotted by Olof Johansson Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/mm/mem.c |2 +- arch/powerpc/mm/mmu_decl.h |2 +- arch/ppc/mm/init.c |

libfdt: Abolish fdt_offset_ptr_typed()

2007-11-18 Thread David Gibson
The fdt_offset_ptr_typed() macro seemed like a good idea at the time. However, it's not actually used all that often, it can silently throw away const qualifications and it uses a gcc extension (typeof) which I'd prefer to avoid for portability. Therefore, this patch gets rid of it (and the fdt_of

[PATCH-RESEND] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

2007-11-18 Thread Kamalesh Babulal
Hi Stephen, Resubmitting the patch titled powerpc-iseries-build-failure-mm-stabc.patch in the -mm tree. Signed-off-by: Kamalesh Babulal <[EMAIL PROTECTED]> -- --- linux-2.6.24-rc2/arch/powerpc/mm/stab.c 2007-11-07 03:27:46.0 +0530 +++ linux-2.6.24-rc2/arch/powerpc/mm/~stab.c2007

[PATCH] [POWERPC] remove redundant declaration of hose_list.

2007-11-18 Thread Stephen Rothwell
It is already declared in ppc-pci.h which is included. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci-common.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) -- Cheers, Stephen Rothwell[EMAIL PROTECTED] diff --git a/arch/powerpc

[PATCH] [POWERPC] iSeries: fix sparse warnings in setup.c

2007-11-18 Thread Stephen Rothwell
arch/powerpc/platforms/iseries/setup.c:111:27: warning: constant 0x1 is so big it is long arch/powerpc/platforms/iseries/setup.c:113:23: warning: constant 0x1 is so big it is long arch/powerpc/platforms/iseries/setup.c:117:27: warning: constant 0x000f is so big it is

[PATCH] [POWERPC] iSeries: declare iSeries_pci_final_fixup in pci.h

2007-11-18 Thread Stephen Rothwell
Fixes sparse warning: arch/powerpc/platforms/iseries/pci.c:169:13: warning: symbol 'iSeries_pci_final_fixup' was not declared. Should it be static? Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/pci.h |5 + arch/powerpc/platforms/iseries/setup.c

[PATCH] [POWERPC] iSeries: mark two functions __init

2007-11-18 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/iseries/pci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- Cheers, Stephen Rothwell[EMAIL PROTECTED] diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platform

[PATCH] [POWERPC] make global_phb_number static

2007-11-18 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci-common.c |2 +- include/asm-powerpc/ppc-pci.h|1 - 2 files changed, 1 insertions(+), 2 deletions(-) -- Cheers, Stephen Rothwell[EMAIL PROTECTED] diff --git a/arch/powerpc/kernel/pci-

Re: [PATCH v2] [POWERPC] vdso: Fixes for cache block sizes

2007-11-18 Thread Olof Johansson
On Mon, Nov 19, 2007 at 03:07:22PM +1100, Paul Mackerras wrote: > Olof Johansson writes: > > > [POWERPC] vdso: Fixes for cache line sizes > > > > Current VDSO implementation is hardcoded to 128 byte cache blocks, > > which are only used on IBM's 64-bit processors. > > > > Convert it to get the

Re: [PATCH v2] [POWERPC] vdso: Fixes for cache block sizes

2007-11-18 Thread Paul Mackerras
Olof Johansson writes: > [POWERPC] vdso: Fixes for cache line sizes > > Current VDSO implementation is hardcoded to 128 byte cache blocks, > which are only used on IBM's 64-bit processors. > > Convert it to get the blocks sizes out of vdso_data instead, similar > to how the ppc64 in-kernel cach

Re: [PATCH] 2.6.24-rc2-mm1 powerpc (iseries)- build failure - mm/stab.c

2007-11-18 Thread Stephen Rothwell
Hi Kamalesh, On Wed, 14 Nov 2007 16:24:10 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > +#ifdef CONFIG_PPC_ISERIES > +#include > +#endif /* CONFIG_PPC_ISERIES */ You should not need the #ifdef and we prefer not to ifdef include unless necessary. Please resubmit. -- Cheers, Stephen Rot

Re: [PATCH] Fix buglets in mpc5200 FEC code that are corrupting memory.

2007-11-18 Thread Jon Smirl
On 11/9/07, Grant Likely <[EMAIL PROTECTED]> wrote: > On 11/9/07, Domen Puncer <[EMAIL PROTECTED]> wrote: > > On 09/11/07 00:31 -0500, Jon Smirl wrote: > > > This is the reason I couldn't get user space started or connect to my > > > nfs server. Patch is against current linus git. > > > > > > mpc52

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread Jon Smirl
On 11/18/07, David Gibson <[EMAIL PROTECTED]> wrote: > On Sun, Nov 18, 2007 at 11:31:13PM +, Matt Sealey wrote: > > Matt Sealey wrote: > > > Jon Smirl wrote: > > > > > > If you require the codec to be subservient to some "fabric" then I > > > suggest you make a "sound" node with a compatible en

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread David Gibson
On Sun, Nov 18, 2007 at 11:31:13PM +, Matt Sealey wrote: > Matt Sealey wrote: > > Jon Smirl wrote: > > > > If you require the codec to be subservient to some "fabric" then I > > suggest you make a "sound" node with a compatible entry which is > > defined as something specific to your board (dig

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread Jon Smirl
On 11/18/07, Matt Sealey <[EMAIL PROTECTED]> wrote: > I'd suggest something like this: > > [EMAIL PROTECTED] { > \\ this is our magic audio fabric > device_type = "digispeaker,flinger"; > > \\ it's actually just an i2s pcm codec > compatible = "mpc5200-psc-i2s"; > >

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread Matt Sealey
Matt Sealey wrote: > Jon Smirl wrote: > > If you require the codec to be subservient to some "fabric" then I > suggest you make a "sound" node with a compatible entry which is > defined as something specific to your board (digispeaker,audio) and > let your driver pick that up and then switch on the

2.6.24-rc3: High CPU load -- hardware interrupts

2007-11-18 Thread Jörg Sommer
Hi, I've installed the new kernel version and now suspend to RAM works. But I saw that the CPU load is everytime 50% due to hardware interrupts. Is this a known bug? top - 22:51:19 up 21:58, 8 users, load average: 0.36, 0.39, 0.40 Tasks: 66 total, 4 running, 62 sleeping, 0 stopped, 0 zo

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread Matt Sealey
Jon Smirl wrote: > > The codec-fabric node was just being used to trigger the loading of > the platform specific driver. Just remember one thing. 1) the term "fabric" when coined for audio drivers is a new, ALSA SoC specific term. It isn't relevant for anything but ALSA SoC drivers. 2) this dev

[PATCH 4/21] ide/Kconfig: fix mpc8xx host driver dependencies

2007-11-18 Thread Bartlomiej Zolnierkiewicz
Only LWMON, IVMS8, IVML24 and TQM8xxL platforms have the needed defines (IDE0_BASE_OFFSET and friends) in the platform header file. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- drivers/ide/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ide/

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread Jon Smirl
On 11/18/07, Segher Boessenkool <[EMAIL PROTECTED]> wrote: > > David Gibson > > made a proposal that a fabric node wrap the codec node. That doesn't > > work very well with the i2c bus where the bus code is walking down the > > nodes and triggering the instantiation of the i2c drivers. > > Yeah, do

Re: Revisited, audio codec device tree entries.

2007-11-18 Thread Segher Boessenkool
> [EMAIL PROTECTED] { // PSC2 > compatible = "mpc5200b-psc-ac97","mpc5200-psc-ac97"; > cell-index = <1>; > reg = <2200 100>; > interrupts = <2 2 0>; > interrupt-pa

Re: [BUG] 2.6.24-rc2-mm1 - kernel bug on nfs v4

2007-11-18 Thread Trond Myklebust
On Sun, 2007-11-18 at 19:44 +0100, Torsten Kaiser wrote: > On Nov 18, 2007 12:05 AM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > I've been staring at this NFS code for a while an can't make any sense > > out of it. It seems to correctly initialize the waitqueue. So this would > > indicate corrup

Re: [BUG] 2.6.24-rc2-mm1 - kernel bug on nfs v4

2007-11-18 Thread Torsten Kaiser
On Nov 18, 2007 12:05 AM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > I've been staring at this NFS code for a while an can't make any sense > out of it. It seems to correctly initialize the waitqueue. So this would > indicate corruption of some sort. No, it does not "correctly" initialize the wai

Revisited, audio codec device tree entries.

2007-11-18 Thread Jon Smirl
I've been trying to write ALSA SOC code supporting audio codecs and device trees. This looks ok for the main device tree entires. Codecs are hung off from their controlling bus. It may still need a little tweaking. [EMAIL PROTECTED] { // PSC2 co

Re: [POWERPC] [RFC] Fix 8xx tlbie definition

2007-11-18 Thread Kumar Gala
>>> Where can I grab it to give a try? My linuxppc archive is silent >>> for some reason.. >> >> Looks like I may have failed to post it ... weird, I was sure I >> posted >> that days ago, when Olof first mentioned the breakage. I'll check & >> resend. > > I never saw it. If I had, I wouldn't

Re: about uImage-DENX-v2.6.14 config

2007-11-18 Thread Robert Schwebel
On Sun, Nov 18, 2007 at 01:43:01AM +0100, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> Stefan Roese wrote: > > On Wednesday 14 November 2007, zhangwei zhang wrote: > > > Hello, I have a problem when using linux-2.6.14(download from > > > ftp.denx.de) for RTAI on ppc440EP. > > > > RTAI on P

Re: [patch] PS3: Fix printing of os-area magic numbers

2007-11-18 Thread Geert Uytterhoeven
On Sat, 17 Nov 2007, Geoff Levand wrote: > Fix a bug in the printing of the PS3 os-area magic numbers which assumed that > magic numbers were zero terminated strings. The magic numbers are represented > in memory as integers. If the os-area sections are not initialized correctly > they could cont