Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread David Gibson
On Wed, Aug 06, 2008 at 11:46:47AM -0500, Timur Tabi wrote: > On Wed, Aug 6, 2008 at 1:02 AM, Grant Likely <[EMAIL PROTECTED]> wrote: > > From: Grant Likely <[EMAIL PROTECTED]> > > > > of_lookup_stdout() is useful for figuring out what device to use as output > > for early boot progress messages.

Re: [PATCH] net/fs_enet: remove redundant messages for performance

2008-08-06 Thread Jeff Garzik
Li Yang wrote: Currently when we do a packet flood to the Ethernet port, the console reports error every time when a packet is dropped. This is too redundant and cost performance. Remove message for this type of event. Signed-off-by: Li Yang <[EMAIL PROTECTED]> --- drivers/net/fs_enet/mac-fcc

[PATCH] powerpc/iseries: remove the old viocons driver

2008-08-06 Thread Stephen Rothwell
This driver was declared obsolete over 2 years ago, the alternative console driver for legacy iSeries (hvc_iseries) was made the default over 1 year ago and this driver has been build broken for over 3 months, so remove it. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/plat

Re: [PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS

2008-08-06 Thread Li Yang
On Wed, 2008-08-06 at 12:19 -0500, Scott Wood wrote: > On Wed, Aug 06, 2008 at 03:04:43PM +0800, Li Yang wrote: > > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > > --- > > arch/powerpc/boot/dts/mpc8272ads.dts |8 > > arch/powerpc/platforms/82xx/mpc8272_ads.c | 25 +++

Re: [PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-06 Thread Li Yang
On Wed, 2008-08-06 at 12:29 -0500, Scott Wood wrote: > On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote: > > [EMAIL PROTECTED] { > > - compatible = "qe_udc"; > > + compatible = "fsl,qe_udc"; > [snip] > > + > > + np = of_find_compatibl

Re: [PATCH] powerpc: EOI spurious irqs during boot so they can be reenabled later

2008-08-06 Thread miltonm
- Original Message Follows - From: Michael Ellerman <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Paul Mackerras <[EMAIL PROTECTED]>, linuxppc-dev@ozlabs.org, Segher Boessenkool <[EMAIL PROTECTED]> Subject: Re: [PATCH] powerpc: EOI spurious irqs during boot so they can be reenabled later Da

Re: dtc update for in-kernel version

2008-08-06 Thread David Gibson
On Wed, Aug 06, 2008 at 09:35:22AM -0400, Josh Boyer wrote: > On Wed, 6 Aug 2008 08:29:30 -0500 > Kumar Gala <[EMAIL PROTECTED]> wrote: > > > > > On Aug 6, 2008, at 7:43 AM, Josh Boyer wrote: > > > > > So we asked about this a while ago and I haven't seen anything yet, > > > but > > > is there

Re: [RFC PATCH] Link the bootwrapper as a position-independent executable

2008-08-06 Thread Paul Mackerras
Segher Boessenkool writes: > ... that is exactly what I meant: the code skips relocation only if > both are missing. Doh! You're right, thanks. Serves me right for being so clever. :) Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https:

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Kumar Gala
why can't we just do this in ioremap itself? I suppose we could; but the usecase is somewhat different and I wanted to keep it simple. Using a separate API also helps reenforce that the caller really needs to know what they are doing because BATs are a limited resource. there is a bunch

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Kumar Gala
On Aug 6, 2008, at 5:28 PM, Benjamin Herrenschmidt wrote: there is a bunch of error checking and difference in semantics that you need to fix. I think introduce a new API for this is silly, especially since we expect there to only be one actual invocation of the API for serial console access

problem in booting kernel with mpc836x_mds.dtb

2008-08-06 Thread surendranath . moilla
Hi, I have the following problem, when i am trying to boot linux on MPC8360E MDS board with the mpc836x_mds.dtb created using dtc and mpc836x_mds.dts in from /arch/powerpc/boot/platforms/dts/ directory of linux-2.6.22 version. fdt_chosen: FDT_ERR_BADMAGIC after this it is trying to re boot. ho

Re: [RFC PATCH] Link the bootwrapper as a position-independent executable

2008-08-06 Thread Segher Boessenkool
+ bl .+4 +p_base:mflrr10 /* r10 now points to runtime addr of p_base */ bl p_base instead? I went back and forth on that. I ended up with it that way to emphasize that the bl does need to branch to the *next* instruction for the idiom to work. Right, I s

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Grant Likely
On Wed, Aug 6, 2008 at 11:35 AM, Scott Wood <[EMAIL PROTECTED]> wrote: > On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote: >> On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote: >> > I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600) >> > system. If I remove

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread David Gibson
On Wed, Aug 06, 2008 at 06:25:48PM +0200, Segher Boessenkool wrote: >> It's not what we do with flattened device trees blobs though. In the >> flattened tree we're not using a /chosen/stdout property, just the >> linux,stdout-path one. >> >> The question that remains is; should there be? Should t

Re: [PATCH]: Remove bogons from the iSeries console

2008-08-06 Thread Linus Torvalds
On Thu, 7 Aug 2008, Paul Mackerras wrote: > > I think you want "return -ENOIOCTLCMD" rather than "return ret" since > ret is uninitialized with your patch applied. Actually, nobody has apparently ever even tried compiling that function even before. Yes, 'ret' became uninitialized, but since

[PATCH] of/powerpc: remove include of linux/of_platform.h from asm/of_platform.h

2008-08-06 Thread Stephen Rothwell
Now that we have removed all inclusions of asm/of_platform.h, this compatibility include can be removed. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/of_platform.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/include/a

Re: [PATCH]: Remove bogons from the iSeries console

2008-08-06 Thread Alan Cox
On Thu, 7 Aug 2008 09:43:28 +1000 Paul Mackerras <[EMAIL PROTECTED]> wrote: > Alan Cox writes: > > > --- a/drivers/char/viocons.c > > +++ b/drivers/char/viocons.c > > @@ -705,10 +705,6 @@ static int viotty_ioctl(struct tty_struct *tty, struct > > file *file, > > case KDSKBLED: > >

Re: [PATCH]: Remove bogons from the iSeries console

2008-08-06 Thread Paul Mackerras
Alan Cox writes: > --- a/drivers/char/viocons.c > +++ b/drivers/char/viocons.c > @@ -705,10 +705,6 @@ static int viotty_ioctl(struct tty_struct *tty, struct > file *file, > case KDSKBLED: > return 0; > } > - /* FIXME: WTF is this being called for ??? */ > - lock_

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Brad Boyer
On Thu, Aug 07, 2008 at 08:28:29AM +1000, Benjamin Herrenschmidt wrote: > > > there is a bunch of error checking and difference in semantics that > > you need to fix. I think introduce a new API for this is silly, > > especially since we expect there to only be one actual invocation of > >

Re: [RFC PATCH] Link the bootwrapper as a position-independent executable

2008-08-06 Thread Paul Mackerras
Segher Boessenkool writes: > Hurray! Looks good, just a few nits... Thanks for reviewing. > > + bl .+4 > > +p_base:mflrr10 /* r10 now points to runtime addr of > > p_base */ > > bl p_base instead? I went back and forth on that. I ended up with it that way to emph

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Grant Likely
On Wed, Aug 6, 2008 at 4:28 PM, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > >> there is a bunch of error checking and difference in semantics that >> you need to fix. I think introduce a new API for this is silly, >> especially since we expect there to only be one actual invocation of >> t

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Grant Likely
On Wed, Aug 6, 2008 at 4:26 PM, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote: >> From: Grant Likely <[EMAIL PROTECTED]> >> >> ioremap_bat() is useful for things like mapping SoC internally memory mapped >> register and early text because

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Grant Likely
On Wed, Aug 6, 2008 at 4:11 PM, Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Aug 6, 2008, at 4:54 PM, Grant Likely wrote: > >> On Wed, Aug 6, 2008 at 8:07 AM, Kumar Gala <[EMAIL PROTECTED]> >> wrote: >>> >>> On Aug 6, 2008, at 1:02 AM, Grant Likely wrote: >>> From: Grant Likely <[EMAIL PROTECT

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Benjamin Herrenschmidt
> there is a bunch of error checking and difference in semantics that > you need to fix. I think introduce a new API for this is silly, > especially since we expect there to only be one actual invocation of > the API for serial console access. Not necessarily There's another aspect to

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Scott Wood
Kumar Gala wrote: On Aug 6, 2008, at 4:54 PM, Grant Likely wrote: I suppose we could; but the usecase is somewhat different and I wanted to keep it simple. Using a separate API also helps reenforce that the caller really needs to know what they are doing because BATs are a limited resource. t

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Benjamin Herrenschmidt
On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > ioremap_bat() is useful for things like mapping SoC internally memory mapped > register and early text because it allows mappings to devices to be setup > early in the boot process where they are ne

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Kumar Gala
On Aug 6, 2008, at 4:54 PM, Grant Likely wrote: On Wed, Aug 6, 2008 at 8:07 AM, Kumar Gala <[EMAIL PROTECTED]> wrote: On Aug 6, 2008, at 1:02 AM, Grant Likely wrote: From: Grant Likely <[EMAIL PROTECTED]> ioremap_bat() is useful for things like mapping SoC internally memory mapped regi

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Grant Likely
On Wed, Aug 6, 2008 at 8:07 AM, Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Aug 6, 2008, at 1:02 AM, Grant Likely wrote: > >> From: Grant Likely <[EMAIL PROTECTED]> >> >> ioremap_bat() is useful for things like mapping SoC internally memory >> mapped >> register and early text because it allows ma

[PATCH] Delete completed "ppc removal" task from feature removal file.

2008-08-06 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- unless this is in someone's tree already. diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index c239554..17cab3c 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Document

Re: to schedule() or not to schedule() ?

2008-08-06 Thread Arnd Bergmann
On Wednesday 06 August 2008, Kevin Diggs wrote: > For the purpose of learning, there is no direct, correct way to yield > the cpu when in a timer fired routine, right? > No, in a timer, you interrupt a totally unrelated thread, so sleeping would prevent that from running on, as well as preventin

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-08-06 Thread Dave Hansen
On Wed, 2008-08-06 at 10:02 +0100, Mel Gorman wrote: > > That said, this particular patch doesn't appear *too* bound to hugetlb > > itself. But, some of its limitations *do* come from the filesystem, > > like its inability to handle VM_GROWS... > > The lack of VM_GROWSX is an issue, but on its

Re: Big include file move breaks user mode

2008-08-06 Thread Kumar Gala
On Aug 6, 2008, at 12:44 PM, René Rebe wrote: Heh, you might also consider using "off the shelf" build systems, such as the T2 SDE: http://t2-project.org To avoid re-inventing the wheel again and again. Yours, Whee.. another rootfs build system. Why we can't converge some of these tow

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-08-06 Thread Andi Kleen
Andrew Morton <[EMAIL PROTECTED]> writes: > Do we expect that this change will be replicated in other > memory-intensive apps? (I do). The catch with 2MB pages on x86 is that x86 CPUs generally have much less 2MB TLB entries than 4K entries. So if you're unlucky and access a lot of mappings you

RE: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread John Linn
I was thinking it's CONFIG_PPC_UDBG_16550. -- John > -Original Message- > From: [EMAIL PROTECTED] [mailto:linuxppc-dev- > [EMAIL PROTECTED] On Behalf Of Kumar Gala > Sent: Wednesday, August 06, 2008 12:39 PM > To: Stephen Neuendorffer > Cc: Scott Wood; ppc-dev list > Subject: Re: hang w/p

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Kumar Gala
Do you know what the CONFIG_ option is called for the legacy driver. - k On Aug 6, 2008, at 1:02 PM, Stephen Neuendorffer wrote: The problem (in my case) is that the legacy-serial driver doesn't accept all of the 16550 configurations accepted by the regular ns16550 driver. The problem is

Re: Big include file move breaks user mode

2008-08-06 Thread René Rebe
Hi, Sean MacLennan wrote: On Wed, 6 Aug 2008 16:51:40 +0200 "Arnd Bergmann" <[EMAIL PROTECTED]> wrote: The user space headers are provided by your distribution, not by the kernel, so include/asm should be a directory, not a symlink. If you are building your own distro, don't just copy the f

Re: Big include file move breaks user mode

2008-08-06 Thread René Rebe
Hi, Sean MacLennan wrote: On Wed, 6 Aug 2008 16:51:40 +0200 "Arnd Bergmann" <[EMAIL PROTECTED]> wrote: The user space headers are provided by your distribution, not by the kernel, so include/asm should be a directory, not a symlink. If you are building your own distro, don't just copy the f

RE: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Stephen Neuendorffer
The problem (in my case) is that the legacy-serial driver doesn't accept all of the 16550 configurations accepted by the regular ns16550 driver. The problem is not related to simple-bus, but only became visible when simple-bus bindings are used because the legacy-serial driver specifically looks f

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Scott Wood
On Wed, Aug 06, 2008 at 07:41:28AM -0600, Grant Likely wrote: > On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote: > > I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600) > > system. If I remove the 'simple-bus' compatible from the soc node in > > the .dts it works.

Re: [PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-06 Thread Scott Wood
On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote: > [EMAIL PROTECTED] { > - compatible = "qe_udc"; > + compatible = "fsl,qe_udc"; [snip] > + > + np = of_find_compatible_node(NULL, NULL, "fsl,qe_udc"); > + if (np) {

Re: [PATCH 6/6] powerpc: add 82xx platform level support to SEC engine

2008-08-06 Thread Scott Wood
On Wed, Aug 06, 2008 at 03:04:45PM +0800, Li Yang wrote: > diff --git a/arch/powerpc/platforms/82xx/pq2.c > b/arch/powerpc/platforms/82xx/pq2.c > index 1b75902..bacb136 100644 > --- a/arch/powerpc/platforms/82xx/pq2.c > +++ b/arch/powerpc/platforms/82xx/pq2.c > @@ -22,6 +22,8 @@ > #include > >

Re: [PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS

2008-08-06 Thread Scott Wood
On Wed, Aug 06, 2008 at 03:04:43PM +0800, Li Yang wrote: > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/dts/mpc8272ads.dts |8 > arch/powerpc/platforms/82xx/mpc8272_ads.c | 25 + > arch/powerpc/platforms/82xx/pq2ads.h |3

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Mitch Bradley
Segher Boessenkool wrote: It's not what we do with flattened device trees blobs though. In the flattened tree we're not using a /chosen/stdout property, just the linux,stdout-path one. The question that remains is; should there be? Should the dt blobs use /chosen/stdout also? (I'm not famil

Re: [PATCH]: Remove bogons from the iSeries console

2008-08-06 Thread Adrian Bunk
On Thu, Aug 07, 2008 at 12:10:06AM +1000, Stephen Rothwell wrote: > Hi Alan, > > On Wed, 6 Aug 2008 14:06:29 +0100 Alan Cox <[EMAIL PROTECTED]> wrote: > > > > The iSeries driver calls into the n_tty ldisc code directly for some > > bizarre reason. I previously tagged this with a query but this act

[PATCH] powerpc: add SSI-to-DMA properties to Freescale MPC8610 HPCD device tree

2008-08-06 Thread Timur Tabi
Add the fsl,playback-dma and fsl,capture-dma properties to the Freescale MPC8610 HPCD device tree. These properties connect the SSI nodes to the DMA nodes for the DMA channels that the SSI should use. Also update the ssi.txt documentation. These properties will be needed when the ASoC V2 version

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Timur Tabi
On Wed, Aug 6, 2008 at 1:02 AM, Grant Likely <[EMAIL PROTECTED]> wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > of_lookup_stdout() is useful for figuring out what device to use as output > for early boot progress messages. It returns the node pointed to by the > linux,stdout-path property in

test - ignore

2008-08-06 Thread Victor Gallardo
test - ignore ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Segher Boessenkool
It's not what we do with flattened device trees blobs though. In the flattened tree we're not using a /chosen/stdout property, just the linux,stdout-path one. The question that remains is; should there be? Should the dt blobs use /chosen/stdout also? (I'm not familiar enough with real OF to kn

Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver

2008-08-06 Thread Timur Tabi
On Wed, Aug 6, 2008 at 2:16 AM, Li Yang <[EMAIL PROTECTED]> wrote: > +/*- > + * Mask definitions for usb BD * > + **/ > +#de

Re: [PATCH 2/6] powerpc: export cpm2_immr symbol for CPM2 drivers to compile as module

2008-08-06 Thread Anton Vorontsov
On Wed, Aug 06, 2008 at 03:04:41PM +0800, Li Yang wrote: > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > arch/powerpc/sysdev/cpm2.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c > index f1c3395..021480e 1

Re: Big include file move breaks user mode

2008-08-06 Thread Sean MacLennan
On Wed, 6 Aug 2008 16:51:40 +0200 "Arnd Bergmann" <[EMAIL PROTECTED]> wrote: > The user space headers are provided by your distribution, not > by the kernel, so include/asm should be a directory, not a symlink. > If you are building your own distro, don't just copy the files > but rather use 'make

Re: Big include file move breaks user mode

2008-08-06 Thread Arnd Bergmann
On Tuesday 05 August 2008, Sean MacLennan wrote: > Should include/asm be a link to arch/powerpc/include/asm? The user space headers are provided by your distribution, not by the kernel, so include/asm should be a directory, not a symlink. If you are building your own distro, don't just copy the fi

Re: inline assembly & r0 SOS

2008-08-06 Thread Segher Boessenkool
unsigned int get_PLL_range(unsigned int range, unsigned int config) { range = range * 8 + 23; return ((config << range) | (config >> (32 - range))) & 3; } The special pattern ((a << n) | (a >> (32 - n))) is recognized by gcc as a rotate operation. It's only valid for 1 <= n <= 31 though

RE: [PATCH]: [MPC5200] Add ATA DMA support

2008-08-06 Thread Daniel Schnell
Hi, Daniel Schnell wrote: > Tim Yamin wrote: >> On Wed, Aug 6, 2008 at 12:58 PM, Daniel Schnell >> <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> Sorry for testing this patch so late, but I get these if I apply >>> your patch to 2.6.24.7 and use it with my Sandisk Extreme IV 4GB >>> card: >> >> Hi,

Re: [RFC PATCH] Link the bootwrapper as a position-independent executable

2008-08-06 Thread Segher Boessenkool
Instead we now link the bootwrapper with -pie to get a position- independent executable, and process the relocations in the dynamic relocation section that the linker puts into the executable. Hurray! Looks good, just a few nits... + bl .+4 +p_base:mflrr10 /

Re: [RFC/PATCH 1/3] powerpc: add ioremap_bat() function for setting up BAT translated IO regions.

2008-08-06 Thread Kumar Gala
On Aug 6, 2008, at 1:02 AM, Grant Likely wrote: From: Grant Likely <[EMAIL PROTECTED]> ioremap_bat() is useful for things like mapping SoC internally memory mapped register and early text because it allows mappings to devices to be setup early in the boot process where they are needed, and

Re: [PATCH]: Remove bogons from the iSeries console

2008-08-06 Thread Stephen Rothwell
Hi Alan, On Wed, 6 Aug 2008 14:06:29 +0100 Alan Cox <[EMAIL PROTECTED]> wrote: > > The iSeries driver calls into the n_tty ldisc code directly for some > bizarre reason. I previously tagged this with a query but this actually > does need fixing as n_tty methods when you have a different ldisc set

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Grant Likely
On Wed, Aug 06, 2008 at 08:47:29AM -0500, Kumar Gala wrote: > > On Aug 6, 2008, at 8:41 AM, Grant Likely wrote: > >> On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote: >>> I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/ >>> e600) >>> system. If I remove the 'simple-bus'

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Kumar Gala
On Aug 6, 2008, at 8:41 AM, Grant Likely wrote: On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote: I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/ e600) system. If I remove the 'simple-bus' compatible from the soc node in the .dts it works. Otherwise it hangs at b

Re: hang w/ppc6xx_defconfig related to 'simple-bus' compatible

2008-08-06 Thread Grant Likely
On Tue, Aug 05, 2008 at 08:21:31AM -0500, Kumar Gala wrote: > I'm trying to get the ppc6xx_defconfig booting on any 8641 (74xx/e600) > system. If I remove the 'simple-bus' compatible from the soc node in > the .dts it works. Otherwise it hangs at but and looks to be crashed in > the serial d

Re: dtc update for in-kernel version

2008-08-06 Thread Josh Boyer
On Wed, 6 Aug 2008 08:29:30 -0500 Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Aug 6, 2008, at 7:43 AM, Josh Boyer wrote: > > > So we asked about this a while ago and I haven't seen anything yet, > > but > > is there going to be an update to the version of DTC that is in the > > kernel tree?

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Grant Likely
On Wed, Aug 6, 2008 at 4:21 AM, Paul Mackerras <[EMAIL PROTECTED]> wrote: > David Miller writes: > >> On sparc platforms this is obtained differently. We obtain the 32-bit >> instance value of "/chosen/stdout" and convert that into a prom device >> node path using "instance-to-path". > > That's ac

[PATCH 2/2] powerpc - Make the irq reverse mapping radix tree lockless

2008-08-06 Thread Sebastien Dugue
The radix trees used by interrupt controllers for their irq reverse mapping (currently only the XICS found on pSeries) have a complex locking scheme dating back to before the advent of the lockless radix tree. Take advantage of this and of the fact that the items of the tree are pointers to a

[PATCH 1/2] powerpc - Separate the irq radix tree insertion and lookup

2008-08-06 Thread Sebastien Dugue
irq_radix_revmap() currently serves 2 purposes, irq mapping lookup and insertion which happen in interrupt and process context respectively. Separate the function into its 2 components, one for lookup only and one for insertion only. Fix the only user of the revmap tree (XICS) to use the ne

[PATCH 0/2 V3] powerpc - Make the irq reverse mapping tree lockless

2008-08-06 Thread Sebastien Dugue
Hi , here is V3 for the powerpc IRQ radix tree reverse mapping rework. V2 -> V3: from comments by Benjamin Herrenschmidt and Daniel Walker - Move the initialization of the radix tree back into irq_late_init() and insert pre-existing irqs into the tree at that time. - One whitespa

Re: dtc update for in-kernel version

2008-08-06 Thread Kumar Gala
On Aug 6, 2008, at 7:43 AM, Josh Boyer wrote: So we asked about this a while ago and I haven't seen anything yet, but is there going to be an update to the version of DTC that is in the kernel tree? 1.2 is out now, would be a good idea to update soon. is there any reason to update to 1.2 f

RE: [PATCH]: [MPC5200] Add ATA DMA support

2008-08-06 Thread Daniel Schnell
Tim Yamin wrote: > On Wed, Aug 6, 2008 at 12:58 PM, Daniel Schnell > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Sorry for testing this patch so late, but I get these if I apply your >> patch to 2.6.24.7 and use it with my Sandisk Extreme IV 4GB card: > > Hi, > > What board are you using? DMA requi

[PATCH]: Remove bogons from the iSeries console

2008-08-06 Thread Alan Cox
The iSeries driver calls into the n_tty ldisc code directly for some bizarre reason. I previously tagged this with a query but this actually does need fixing as n_tty methods when you have a different ldisc set are not a good thing to call. In n_tty mode this change should have no effect, the core

dtc update for in-kernel version

2008-08-06 Thread Josh Boyer
So we asked about this a while ago and I haven't seen anything yet, but is there going to be an update to the version of DTC that is in the kernel tree? 1.2 is out now, would be a good idea to update soon. josh ___ Linuxppc-dev mailing list Linuxppc-d

unconditional link object arch/powerpc/lib/crtsavres.o breaks module build

2008-08-06 Thread Olaf Hering
Sam, please have a look at bug 11143. http://bugzilla.kernel.org/show_bug.cgi?id=11143 arch/powerpc/lib/crtsavres.o is added inconditionally to the linker flags, but there is no rule to actually create the object file. This breaks building external modules on 32bit powerpc since 2.6.26. Thanks

Re: [PATCH]: [MPC5200] Add ATA DMA support

2008-08-06 Thread Tim Yamin
On Wed, Aug 6, 2008 at 12:58 PM, Daniel Schnell <[EMAIL PROTECTED]> wrote: > Hi, > > Sorry for testing this patch so late, but I get these if I apply your > patch to 2.6.24.7 and use it with my Sandisk Extreme IV 4GB card: Hi, What board are you using? DMA requires a few more signals to be routed

RE: [PATCH]: [MPC5200] Add ATA DMA support

2008-08-06 Thread Daniel Schnell
Hi, Tim Yamin wrote: > This patch adds MDMA/UDMA support (using BestComm for DMA) on the > MPC5200 platform. > > Based heavily on previous work by Freescale (Bernard Kuhn, John > Rigby) and Domen Puncer. > > Using a SanDisk Extreme IV CF card I get read speeds of approximately > 26.70 MB/sec.

Re: [PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-06 Thread Anton Vorontsov
Hello Li, On Wed, Aug 06, 2008 at 03:04:44PM +0800, Li Yang wrote: > Signed-off-by: Li Yang <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/dts/mpc836x_mds.dts | 15 ++- > arch/powerpc/platforms/83xx/mpc836x_mds.c | 19 - > arch/powerpc/platforms/83xx/mpc83xx.h |1 + > a

Please pull 'for-2.6.27' branch of 4xx tree

2008-08-06 Thread Josh Boyer
Hi Paul, Please grab the tree below. It contains some fixes for the PIKA Warp board, and some much needed defconfig updates for .27. josh The following changes since commit 2e1e9212ed8c532c6b324de77d3cafef5d2bc846: Linus Torvalds (1): Merge git://git.kernel.org/.../lethal/sh-2.6 are

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread David Miller
From: Paul Mackerras <[EMAIL PROTECTED]> Date: Wed, 6 Aug 2008 20:21:04 +1000 > David Miller writes: > > > On sparc platforms this is obtained differently. We obtain the 32-bit > > instance value of "/chosen/stdout" and convert that into a prom device > > node path using "instance-to-path". > >

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Paul Mackerras
David Miller writes: > On sparc platforms this is obtained differently. We obtain the 32-bit > instance value of "/chosen/stdout" and convert that into a prom device > node path using "instance-to-path". That's actually exactly what we do too, the linux,stdout-path property is just a cache of th

RE: Kconfig debug help

2008-08-06 Thread Geert Uytterhoeven
On Tue, 5 Aug 2008, John Linn wrote: > Thanks Josh, I just came to the conclusion it was busted somehow in the > mainline after repeating it there. It was fixed in mainline by commit 22127f246dc37ed5bea0915f7860002ba6d87da7 Author: Sam Ravnborg <[EMAIL PROTECTED]> Date: Mon Aug 4 22:18:07 2008 +

Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

2008-08-06 Thread Mel Gorman
On (05/08/08 10:53), Dave Hansen didst pronounce: > On Tue, 2008-08-05 at 17:28 +0100, Mel Gorman wrote: > > Ok sure, you could do direct inserts for MAP_PRIVATE as conceptually it > > suits this patch. However, I don't see what you gain. By reusing hugetlbfs, > > we get things like proper reserva

Re: inline assembly & r0 SOS

2008-08-06 Thread Andreas Schwab
Kevin Diggs <[EMAIL PROTECTED]> writes: > Jeremy Kerr wrote: >> Hi Kevin, >> >> >>> /* >>> * Turn r3 (range) into a rotate count for the selected >>>range. * 0 -> 23, 1 -> 31 >>> */ >>> __asm__ __volatile__ ( "slwi %0,%0,3\n" >>> "

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Stephen Rothwell
On Wed, 6 Aug 2008 17:42:33 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > > Could you also send an email to Dave Miller to see if he has any objections > to this function being generic (since the Sparc guys share this code). So I should read ahead :-) -- Cheers, Stephen Rothwell

Re: [PATCH 5/6] powerpc: add USB peripheral support to MPC836xMDS

2008-08-06 Thread Stephen Rothwell
Hi Li, On Wed, 6 Aug 2008 15:04:44 +0800 Li Yang <[EMAIL PROTECTED]> wrote: > > @@ -93,6 +93,12 @@ static void __init mpc836x_mds_setup_arch(void) > > for (np = NULL; (np = of_find_node_by_name(np, "ucc")) != NULL;) > par_io_of_config(np); > + > +

Re: [PATCH 4/6] powerpc: add USB peripheral support to MPC8272ADS

2008-08-06 Thread Stephen Rothwell
Hi Li, On Wed, 6 Aug 2008 15:04:43 +0800 Li Yang <[EMAIL PROTECTED]> wrote: > > @@ -150,6 +169,12 @@ static void __init mpc8272_ads_setup_arch(void) > clrbits32(&bcsr[3], BCSR3_FETHIEN2); > setbits32(&bcsr[3], BCSR3_FETH2_RST); > > + /* Enabling USB support in BCSR */ > + np

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread David Miller
From: Stephen Rothwell <[EMAIL PROTECTED]> Date: Wed, 6 Aug 2008 17:42:33 +1000 > Hi Grant, > > On Wed, 6 Aug 2008 00:34:04 -0600 "Grant Likely" <[EMAIL PROTECTED]> wrote: > > > > On Wed, Aug 6, 2008 at 12:14 AM, Michael Ellerman > > <[EMAIL PROTECTED]> wrote: > > > On Wed, 2008-08-06 at 00:02 -0

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread Stephen Rothwell
Hi Grant, On Wed, 6 Aug 2008 00:34:04 -0600 "Grant Likely" <[EMAIL PROTECTED]> wrote: > > On Wed, Aug 6, 2008 at 12:14 AM, Michael Ellerman > <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-08-06 at 00:02 -0600, Grant Likely wrote: > >> From: Grant Likely <[EMAIL PROTECTED]> > >> > >> of_lookup_stdout

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

2008-08-06 Thread David Miller
From: "Grant Likely" <[EMAIL PROTECTED]> Date: Wed, 6 Aug 2008 00:35:24 -0600 > On Wed, Aug 6, 2008 at 12:32 AM, David Miller <[EMAIL PROTECTED]> wrote: > > From: Grant Likely <[EMAIL PROTECTED]> > > Date: Wed, 06 Aug 2008 00:02:44 -0600 > > > >> of_lookup_stdout() is useful for figuring out what