Re: [PATCH 0/5] powerpc tracehook

2008-07-27 Thread Benjamin Herrenschmidt
On Sat, 2008-07-26 at 23:48 -0700, Roland McGrath wrote: > These patches are posted for review, but you can just pull the GIT branch > if you prefer. Patch 1/5 corrects a long-standing (minor) error in ptrace > behavior. The others change no existing behavior, just enable new and > future feature

Re: [PATCH 0/5] powerpc tracehook

2008-07-27 Thread David Miller
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Date: Sun, 27 Jul 2008 17:52:45 +1000 > On Sat, 2008-07-26 at 23:48 -0700, Roland McGrath wrote: > > These patches are posted for review, but you can just pull the GIT branch > > if you prefer. Patch 1/5 corrects a long-standing (minor) error in pt

Re: [PATCH 0/5] powerpc tracehook

2008-07-27 Thread Benjamin Herrenschmidt
> > Thanks for this. I haven't followed the story of tracehook so far, are > > those patches dependent on something else or it's all already upstream > > and do you think that's still 2.6.27 material ? > > The infrastructure is in Linus's tree. Thanks David. I'll review these on monday and if Pa

[PATCH] Fix powerpc64 build if CONFIG_EPOLL=n

2008-07-27 Thread Jimi Xenidis
Declate compat_sys_epoll_pwait as a conditional syscall like the rest of the epoll interfaces. We could have put an #ifdef around the entry in include/asm-powerpc/ systbl.h, but IMHO this is ultimately correct patch. Signed-off-by: Jimi Xenidis <[EMAIL PROTECTED]> --- diff --git a/kernel/sys_

Re: [PATCH 1/2] leds: make the default trigger name const

2008-07-27 Thread Stephen Rothwell
Hi Trent, On Sat, 26 Jul 2008 20:08:57 -0600 Grant Likely <[EMAIL PROTECTED]> wrote: > > On Fri, Jul 25, 2008 at 02:01:44PM -0700, Trent Piepho wrote: > > The default_trigger fields of struct gpio_led and thus struct led_classdev > > are pretty much always assigned from a string literal, which mea

Re: [PATCH 2/2] Allow a custom ASOC machine driver with soc-of-simple

2008-07-27 Thread Jon Smirl
On 7/27/08, Grant Likely <[EMAIL PROTECTED]> wrote: > On Sun, Jul 27, 2008 at 12:44 AM, Jon Smirl <[EMAIL PROTECTED]> wrote: > > On 7/26/08, Grant Likely <[EMAIL PROTECTED]> wrote: > >> On Tue, Jul 22, 2008 at 07:53:51PM -0400, Jon Smirl wrote: > >> > >> > Allow a custom ASOC machine driver wit

Re: [PATCH] of: i2c: improve last resort compatible entry selection

2008-07-27 Thread Jon Smirl
On 7/27/08, Grant Likely <[EMAIL PROTECTED]> wrote: > On Sun, Jul 27, 2008 at 1:05 AM, Jon Smirl <[EMAIL PROTECTED]> wrote: > > On 7/26/08, Grant Likely <[EMAIL PROTECTED]> wrote: > >> On Mon, Jul 14, 2008 at 09:54:37PM +0400, Anton Vorontsov wrote: > >> > Currently of_i2c will select first com

Re: [PATCH] Fix powerpc64 build if CONFIG_EPOLL=n

2008-07-27 Thread Stephen Rothwell
Hi Jimi, On Sun, 27 Jul 2008 08:48:09 -0400 Jimi Xenidis <[EMAIL PROTECTED]> wrote: > > Declate compat_sys_epoll_pwait as a conditional syscall like the rest > of the epoll interfaces. > We could have put an #ifdef around the entry in include/asm-powerpc/ > systbl.h, but IMHO this is ultimately

[PATCH] powerpc/cmo: fix sysdev attribute API change fallout

2008-07-27 Thread Stephen Rothwell
Noticed due to these wanings: arch/powerpc/platforms/pseries/cmm.c:298: warning: initialization from incompatible pointer type arch/powerpc/platforms/pseries/cmm.c:299: warning: initialization from incompatible pointer type arch/powerpc/platforms/pseries/cmm.c:320: warning: initialization from

[PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread Stephen Rothwell
The addition of an argument to dma_mapping_error() in commit 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 "dma-mapping: add the device argument to dma_mapping_error()" left a bit of fallout: drivers/net/ibmveth.c:263: error: too few arguments to function 'dma_mapping_error' drivers/net/ibmveth.c:264:

[PATCH] powerpc/vio: more fallout from dma_mapping_error API change

2008-07-27 Thread Stephen Rothwell
arch/powerpc/kernel/vio.c:533: error: too few arguments to function 'dma_mapping_error' Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/vio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Compile tested for ppc64_defconfig. diff --git a/arch/powerpc/ke

[PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Stephen Rothwell
On powerpc (allyesconfig build) we get this error: drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of function 'virt_to_bus' Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- drivers/isdn/hardware/mISDN/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions

Re: [PATCH] powerpc: Use new printk extension %pS to print symbols on oops

2008-07-27 Thread Linus Torvalds
On Sun, 27 Jul 2008, David Woodhouse wrote: > > Out of interest, why is it %pS and not %Sp? Shouldn't the modifier come > first? What if we want to print a pointer immediately followed by a > capital S? Try it. Linus ___ Linu

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Sean MacLennan
On Mon, 28 Jul 2008 02:37:32 +1000 "Stephen Rothwell" <[EMAIL PROTECTED]> wrote: > On powerpc (allyesconfig build) we get this error: > > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit > declaration of function 'virt_to_bus' When did mISDN make it into the kernel? And which kernel tr

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Alan Cox
On Mon, 28 Jul 2008 02:37:32 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > On powerpc (allyesconfig build) we get this error: > > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of > function 'virt_to_bus' > > Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> Can

Re: [PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread Andrew Morton
On Mon, 28 Jul 2008 02:14:24 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > The addition of an argument to dma_mapping_error() in commit > 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 "dma-mapping: add the device > argument to dma_mapping_error()" left a bit of fallout: Yeah, sorry, that patch w

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread David Miller
From: Alan Cox <[EMAIL PROTECTED]> Date: Sun, 27 Jul 2008 18:27:09 +0100 > On Mon, 28 Jul 2008 02:37:32 +1000 > Stephen Rothwell <[EMAIL PROTECTED]> wrote: > > > On powerpc (allyesconfig build) we get this error: > > > > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Roland Dreier
> IMHO, this driver was really rushed in and that was a huge mistake. > If it had gone through linux-next we could have tidied all of this > stuff up in a less "rushed" manner. ?? This thread *is* about a build failure in linux-next. - R. ___ Linux

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Sam Ravnborg
On Sun, Jul 27, 2008 at 01:33:49PM -0700, Roland Dreier wrote: > > IMHO, this driver was really rushed in and that was a huge mistake. > > If it had gone through linux-next we could have tidied all of this > > stuff up in a less "rushed" manner. > > ?? This thread *is* about a build failure in

Re: [PATCH] powerpc/mpc5200: Fix locking on mpc52xx_spi driver

2008-07-27 Thread David Brownell
Applying patch mpc52xx-spi-fix0.patch patching file drivers/spi/mpc52xx_spi.c Hunk #1 FAILED at 149. Hunk #2 succeeded at 154 (offset -7 lines). Hunk #3 succeeded at 311 (offset -7 lines). 1 out of 3 hunks FAILED -- rejects in file drivers/spi/mpc52xx_spi.c Patch mpc52xx-spi-fix0.patch does not app

Re: [PATCH v3 4/4] powerpc/mpc5200: Add mpc5200-spi (non-PSC) device driver

2008-07-27 Thread David Brownell
On Friday 25 July 2008, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Adds support for the dedicated SPI device on the Freescale MPC5200(b) > SoC. It'd be a bit more clear if you said dedicated SPI "controller"; "device" sounds like it's a "struct spi_device". Capsule summary:

Re: Please pull mpc52xx-next

2008-07-27 Thread Grant Likely
On Fri, Jul 25, 2008 at 10:00 PM, Grant Likely <[EMAIL PROTECTED]> wrote: > Hey Ben, here are a few more patches for .27. I would have had this > stuff in earlier, but they depended on another patch that I didn't > feel like I should push that was in Andrew's queue. > > Grant Likely (4): > of

Re: [PATCH v3 0/4 REPOST] OF infrastructure for SPI devices

2008-07-27 Thread David Brownell
On Friday 25 July 2008, Grant Likely wrote: > I don't know what to do with these patches.  I'd really like to see them > in .27, and now that akpm has cleared his queue, the prerequisite patch > has been merged so they are ready to go in.  However, even though there > has been favourable reception

Re: [PATCH] of: i2c: improve last resort compatible entry selection

2008-07-27 Thread Segher Boessenkool
compatible = "atmel,24c32wp", "24c32", "eeprom"; I know this is just an example; but to keep thinks clear, the second and third values in this compatible property are completely bogus (for device trees). The manufacturer prefix needs to be present and 'eeprom' is far to vague. Isn't 24c

Re: [PATCH] of: i2c: improve last resort compatible entry selection

2008-07-27 Thread Jon Smirl
On 7/27/08, Segher Boessenkool <[EMAIL PROTECTED]> wrote: > > > > > > > > > compatible = "atmel,24c32wp", "24c32", "eeprom"; > > > > > > > > > > > > > > > > I know this is just an example; but to keep thinks clear, the second > > > and third values in this compatible property are completely bogus

Re: [spi-devel-general] [PATCH 1/4] [SPI] [POWERPC] spi_mpc83xx: handles Freescale MPC8610 as well

2008-07-27 Thread David Brownell
On Friday 16 May 2008, Scott Wood wrote: > On Fri, May 16, 2008 at 08:50:52PM +0400, Anton Vorontsov wrote: > > config SPI_MPC83xx > > tristate "Freescale MPC83xx/QUICC Engine SPI controller" > > - depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE) && EXPERIMENTAL > > + depends on SPI_MAS

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread David Miller
From: Roland Dreier <[EMAIL PROTECTED]> Date: Sun, 27 Jul 2008 13:33:49 -0700 > > IMHO, this driver was really rushed in and that was a huge mistake. > > If it had gone through linux-next we could have tidied all of this > > stuff up in a less "rushed" manner. > > ?? This thread *is* about a

mISDN still breaking the allmodconfig build...

2008-07-27 Thread David Miller
More fallout from the premature mISDN driver merge: drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not running on big endian machines now" ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc

Re: mISDN still breaking the allmodconfig build...

2008-07-27 Thread Benjamin Herrenschmidt
On Sun, 2008-07-27 at 17:02 -0700, David Miller wrote: > More fallout from the premature mISDN driver merge: > > drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not running on > big endian machines now" Lovely... Ben. ___ Linuxppc-dev

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Stephen Rothwell
On Sun, 27 Jul 2008 18:27:09 +0100 Alan Cox <[EMAIL PROTECTED]> wrote: > > On Mon, 28 Jul 2008 02:37:32 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > > > On powerpc (allyesconfig build) we get this error: > > > > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit declaration of > >

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Stephen Rothwell
Hi Roland, On Sun, 27 Jul 2008 13:33:49 -0700 Roland Dreier <[EMAIL PROTECTED]> wrote: > > > IMHO, this driver was really rushed in and that was a huge mistake. > > If it had gone through linux-next we could have tidied all of this > > stuff up in a less "rushed" manner. > > ?? This thread *i

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Stephen Rothwell
Hi Sam, On Sun, 27 Jul 2008 22:43:55 +0200 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > On Sun, Jul 27, 2008 at 01:33:49PM -0700, Roland Dreier wrote: > > > IMHO, this driver was really rushed in and that was a huge mistake. > > > If it had gone through linux-next we could have tidied all of this

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Stephen Rothwell
Hi Dave, On Sun, 27 Jul 2008 16:14:32 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > > The driver went directly into Linus's tree. > > Stephen hit the build problem once he synced linux-next up with > Linus's current tree. It didn't even get as far as linux-next, I was just browsing the b

Re: [PATCH] isdn: mISDN HFC PCI support depends on virt_to_bus()

2008-07-27 Thread Stephen Rothwell
Hi Sean, On Sun, 27 Jul 2008 13:39:18 -0400 Sean MacLennan <[EMAIL PROTECTED]> wrote: > > On Mon, 28 Jul 2008 02:37:32 +1000 > "Stephen Rothwell" <[EMAIL PROTECTED]> wrote: > > > On powerpc (allyesconfig build) we get this error: > > > > drivers/isdn/hardware/mISDN/hfcpci.c:1991: error: implicit

Re: [PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread Stephen Rothwell
Hi Andrew, On Sun, 27 Jul 2008 12:24:14 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Mon, 28 Jul 2008 02:14:24 +1000 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > > > The addition of an argument to dma_mapping_error() in commit > > 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 "dma-mapping: a

Re: mISDN still breaking the allmodconfig build...

2008-07-27 Thread Sean MacLennan
On Mon, 28 Jul 2008 10:13:42 +1000 "Benjamin Herrenschmidt" <[EMAIL PROTECTED]> wrote: > On Sun, 2008-07-27 at 17:02 -0700, David Miller wrote: > > More fallout from the premature mISDN driver merge: > > > > drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not > > running on big endi

Re: mISDN still breaking the allmodconfig build...

2008-07-27 Thread David Miller
From: Marcel Holtmann <[EMAIL PROTECTED]> Date: Mon, 28 Jul 2008 03:03:04 +0200 > > More fallout from the premature mISDN driver merge: > > > > drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not > > running on big endian machines now" > > is that only the HFC driver or the whole

Re: gigantci pages patches

2008-07-27 Thread David Gibson
On Tue, Jul 22, 2008 at 03:22:36PM -0500, Jon Tollefson wrote: > David Gibson wrote: > > On Fri, Jul 11, 2008 at 05:45:15PM +1000, Stephen Rothwell wrote: > > > >> Hi all, > >> > >> Could people take one last look at these patches and if there are no > >> issues, please send Ack-bys to Andrew wh

ide pmac breakage

2008-07-27 Thread Benjamin Herrenschmidt
The current ide-pmac upstream is broken. It calls media_bay_set_ide_infos() with an uninitialized "hwif" argument. It's not a trivial mistake, there's a chicken-and-egg problem in the init code in there. I've locally fixed it with this patch that i'll merge via the powerpc tree unless you have an

Re: mISDN still breaking the allmodconfig build...

2008-07-27 Thread Marcel Holtmann
Hi Dave, More fallout from the premature mISDN driver merge: drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not running on big endian machines now" is that only the HFC driver or the whole mISDN stack? I know that the two old ISDN stacks where really bad on big endian, but my

Re: mISDN still breaking the allmodconfig build...

2008-07-27 Thread Marcel Holtmann
Hi Dave, More fallout from the premature mISDN driver merge: drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not running on big endian machines now" is that only the HFC driver or the whole mISDN stack? I know that the two old ISDN stacks where really bad on big endian, but

Re: mISDN still breaking the allmodconfig build...

2008-07-27 Thread Mikael Pettersson
David Miller writes: > From: Marcel Holtmann <[EMAIL PROTECTED]> > Date: Mon, 28 Jul 2008 03:03:04 +0200 > > > > More fallout from the premature mISDN driver merge: > > > > > > drivers/isdn/hardware/mISDN/hfcmulti.c:5255:2: error: #error "not > > > running on big endian machines now" > >

Re: [PATCH 1/2] leds: make the default trigger name const

2008-07-27 Thread Trent Piepho
On Sun, 27 Jul 2008, Stephen Rothwell wrote: > On Sat, 26 Jul 2008 20:08:57 -0600 Grant Likely <[EMAIL PROTECTED]> wrote: >> On Fri, Jul 25, 2008 at 02:01:44PM -0700, Trent Piepho wrote: >>> The default_trigger fields of struct gpio_led and thus struct led_classdev >>> are pretty much always assign

Re: ide pmac breakage

2008-07-27 Thread Benjamin Herrenschmidt
On Mon, 2008-07-28 at 11:29 +1000, Benjamin Herrenschmidt wrote: > The current ide-pmac upstream is broken. It calls > media_bay_set_ide_infos() with an uninitialized "hwif" argument. > > It's not a trivial mistake, there's a chicken-and-egg problem in the > init code in there. > > I've locally f

[PATCH] powerpc/powermac: Use sane default baudrate for SCC debugging

2008-07-27 Thread Benjamin Herrenschmidt
When using the "sccdbg" option to route early kernel messages and xmon to the SCC serial port on PowerMacs, when this wasn't the configured output port of Open Firmware, we initialize the baudrate to 57600bps. This isn't a very good default on some powermacs where both the FW and pmac_zilog will de

[PATCH v2] leds: make the default trigger name const

2008-07-27 Thread Trent Piepho
The default_trigger fields of struct gpio_led and thus struct led_classdev are pretty much always assigned from a string literal, which means the string can't be modified. Which is fine, since there is no reason to modify the string and in fact it never is. But they should be marked const to prev

Re: [PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread Andrew Morton
On Mon, 28 Jul 2008 11:07:40 +1000 (EST) James Morris <[EMAIL PROTECTED]> wrote: > On Mon, 28 Jul 2008, Stephen Rothwell wrote: > > > I hope that we all can discuss procedures for API changes at the Kernel > > Summit ... > > "all" as in, whoever was invited (the only transparent aspect of was a

Re: gigantci pages patches

2008-07-27 Thread Andrew Morton
On Mon, 28 Jul 2008 11:07:57 +1000 David Gibson <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 03:22:36PM -0500, Jon Tollefson wrote: > > David Gibson wrote: > > > On Fri, Jul 11, 2008 at 05:45:15PM +1000, Stephen Rothwell wrote: > > > > > >> Hi all, > > >> > > >> Could people take one la

Re: gigantci pages patches

2008-07-27 Thread Benjamin Herrenschmidt
On Sun, 2008-07-27 at 20:17 -0700, Andrew Morton wrote: > s > > OK. Although I'm no longer sure what patches "for the series" refers to. > > I am currently retaining > > powerpc-implement-pte_special.patch > powerpc-implement-pte_special-update.patch > powerpc-lockless-get_user_pages.patch > >

powerpc/powermac: Fixup default serial port device for pmac_zilog

2008-07-27 Thread Benjamin Herrenschmidt
This removes the non-working code in legacy_serial that tried to handle the powermac SCC ports, and instead add a (now working) function to the powermac platform code to find the default serial console if any. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> diff --git a/arch/powerpc

Re: [PATCH] powerpc/ibmveth: fix multiple errors with dma_mapping_error conversion

2008-07-27 Thread James Morris
On Mon, 28 Jul 2008, Stephen Rothwell wrote: > I hope that we all can discuss procedures for API changes at the Kernel > Summit ... "all" as in, whoever was invited (the only transparent aspect of was a silly count of # of commits for the initial shortlist), or was on the committee, or bought s

Re: Please pull mpc52xx-next

2008-07-27 Thread Grant Likely
On Sun, Jul 27, 2008 at 3:48 PM, Grant Likely <[EMAIL PROTECTED]> wrote: > On Fri, Jul 25, 2008 at 10:00 PM, Grant Likely > <[EMAIL PROTECTED]> wrote: >> Hey Ben, here are a few more patches for .27. I would have had this >> stuff in earlier, but they depended on another patch that I didn't >> fee

Re: [PATCH] of: i2c: improve last resort compatible entry selection

2008-07-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Jon Smirl" <[EMAIL PROTECTED]> writes: : On 7/27/08, Segher Boessenkool <[EMAIL PROTECTED]> wrote: : > > : > > > : > > > > compatible = "atmel,24c32wp", "24c32", "eeprom"; : > > > > : > > > : > > : > : > : > > : > > > I know this is just an example; but

[PATCH] powerpc: Disable 64K huge page support when doing 64K SPU mappings

2008-07-27 Thread Benjamin Herrenschmidt
The 64K SPU local store mapping feature is incompatible with the 64K huge pages support due to the inability of some parts of the memory management to differenciate between them while they use a different page table format. For now, disable 64K huge pages when CONFIG_SPU_FS_64K_LS, in the long run

Re: [PATCH 0/6] powerpc topology updates

2008-07-27 Thread Benjamin Herrenschmidt
On Sun, 2008-07-27 at 00:24 -0500, Nathan Lynch wrote: > This series consists of a couple of cleanups and a few feature > additions, all of which are more or less related to system topology > (threads, cores, caches, sysfs...) These are independent of > each other except for 4 and 5 (core sibling