Re: [RFC v3 PATCH 6/4] Use LOAD_REG_IMMEDIATE macros

2008-07-22 Thread Paul Mackerras
Mohan Kumar M writes: All of the variables references through @got translated into relocation type R_PPC64_GOT16_DS entries. All these entries correspond to one of the above entries in the .got section. But none of the entries in .got section are relocated. If that last statement is

Re: [RFC v3 PATCH 1/4] Extract list of relocation offsets

2008-07-22 Thread Paul Mackerras
Mohan Kumar M writes: diff --git a/arch/powerpc/boot/relocs.c b/arch/powerpc/boot/relocs.c new file mode 100644 index 000..31ca903 Where did this file come from? Did you write it all yourself? If not, then you need to credit the original author in the patch description at least. Also

[PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] Simple utility layer for creating ASoC machine instances based on data in the OpenFirmware device tree. OF aware platform drivers and codec drivers register themselves with this framework and the framework automatically instantiates a machine driver. At the

[PATCH v3 2/3] ALSA SoC: Add mpc5200-psc I2S driver

2008-07-22 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] This is an I2S bus driver for the MPC5200 PSC device. It depends on the soc-of helper functions to match a PSC device with a codec based on data in the device tree. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- sound/soc/fsl/Kconfig |7

[PATCH v3 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

2008-07-22 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] ASoC Codec driver for the TLV320AIC26 device. As it stands, this driver doesn't support all the modes and clocking options of the AIC16, but it is a start. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- sound/soc/codecs/Kconfig |4

[PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Grant Likely
Hi all, Here is the latest series for adding MPC5200 I2S and TI AIC26 codec support to ALSA SoC. I believe all the comments are addressed and I hope that this series is now ready to be merged. I would really like to see these ones land in 2.6.27. Thanks, g. include/sound/soc-of-simple.h |

[PATCH] powerpc/mpc5200: add PSC SICR bit definitions

2008-07-22 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] Required by the PSC I2S audio driver. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- include/asm-powerpc/mpc52xx_psc.h | 32 +++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git

Please pull mpc5200-next

2008-07-22 Thread Grant Likely
Hi Paul/Ben Please pull my mpc5200 next branch for the following commits: Thanks, g. The following changes since commit e89970aa93b06d0605a488e74af3b0a2a80e03b5: Linus Torvalds (1): Merge git://git.kernel.org/.../davem/net-2.6 are available in the git repository at:

[git pull] Please pull from powerpc.git merge branch

2008-07-22 Thread Benjamin Herrenschmidt
Hi Linus ! Here's the second batch of powerpc updates. I should have a last one before the end of the merge window for things that are stealing dealing with conflicts or dependencies but we are getting there. So please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git

Re: UIO not working on ppc405 onchip registers

2008-07-22 Thread super . firetwister
Hello Uwe, On Tuesday 22 July 2008, Uwe Kleine-König wrote: I don't know powerpc in general nor ppc405ep in detail but IIRC arm has problems if some memory is mapped twice. Might this be the problem here? Maybee, the emac0 (0xef600800) and emac1 (0xef600900) get mapped as well, because

Re: UIO not working on ppc405 onchip registers

2008-07-22 Thread super . firetwister
On Tuesday 22 July 2008, Ben Nizette wrote: As an aside, you sure you want to do this anyway? No ;) I'd suggest that you just do a gpio chip driver for this, tie it in to gpiolib and use the gpiolib user interface (which IIRC has only made it as far as -mm but is on the way up). This

Re: UIO not working on ppc405 onchip registers

2008-07-22 Thread Ben Nizette
Hey Markus, +config UIO_GPIO + tristate Driver for PPC_4xx GPIO As an aside, you sure you want to do this anyway? I'd suggest that you just do a gpio chip driver for this, tie it in to gpiolib and use the gpiolib user interface (which IIRC has only made it as far as -mm but is on

Re: UIO not working on ppc405 onchip registers

2008-07-22 Thread Uwe Kleine-König
Hello Markus, Markus Brunner wrote: I'm unable to get UIO working on the ppc405ep onchip registers (e.g. gpio/iic) however it's working fine on peripherals. I don't know powerpc in general nor ppc405ep in detail but IIRC arm has problems if some memory is mapped twice. Might this be the

Re: UIO not working on ppc405 onchip registers

2008-07-22 Thread Ben Nizette
On Tue, 2008-07-22 at 09:48 +0200, [EMAIL PROTECTED] wrote: On Tuesday 22 July 2008, Ben Nizette wrote: As an aside, you sure you want to do this anyway? No ;) I'd suggest that you just do a gpio chip driver for this, tie it in to gpiolib and use the gpiolib user interface

Re: bug: mutex_lock() in interrupt conntext via phy_stop() in gianfar

2008-07-22 Thread Wolfram Sang
Hi, On Fri, Jul 18, 2008 at 02:10:08PM +0200, Sebastian Siewior wrote: Commit 35b5f6b1a aka [PHYLIB: Locking fixes for PHY I/O potentially sleeping] changed the phydev-lock from spinlock into a mutex. Now, the following code path got triggered while NFS was unavailable: [...] I found out that

Re: [RFC v3 PATCH 1/4] Extract list of relocation offsets

2008-07-22 Thread Mohan Kumar M
Paul Mackerras wrote: Mohan Kumar M writes: diff --git a/arch/powerpc/boot/relocs.c b/arch/powerpc/boot/relocs.c new file mode 100644 index 000..31ca903 Where did this file come from? Did you write it all yourself? If not, then you need to credit the original author in the patch

Re: radeonfb, dedicate memory to something else

2008-07-22 Thread Matt Sealey
Jon Smirl wrote: On 7/20/08, Matt Sealey [EMAIL PROTECTED] wrote: Hi guys, I know this isn't a PPC question, but since some of the RadeonFB developers live here I thought best (and it's about a PPC platform). Is there any way to hack up the RadeonFB driver - or anything related - to

Re: radeonfb, dedicate memory to something else

2008-07-22 Thread Michel Dänzer
On Tue, 2008-07-22 at 09:31 +0100, Matt Sealey wrote: Jon Smirl wrote: On 7/20/08, Matt Sealey [EMAIL PROTECTED] wrote: Hi guys, I know this isn't a PPC question, but since some of the RadeonFB developers live here I thought best (and it's about a PPC platform). Is there any

Re: [PATCH 1/4][V2] powerpc : add support for linux, usable-memory properties for drconf memory

2008-07-22 Thread Chandru
Scan for linux,usable-memory properties in case of dynamic reconfiguration memory . Support for kexec/kdump. Signed-off-by: Chandru Siddalingappa [EMAIL PROTECTED] --- Patch applies on powerpc tree. Patch was reviewed by Nathan Fontenot, Stephen Rothwell, Michael Neuling.

Re: radeonfb, dedicate memory to something else

2008-07-22 Thread Matt Sealey
Michel Dänzer wrote: On Tue, 2008-07-22 at 09:31 +0100, Matt Sealey wrote: or other graphics drivers can be told please only use the first 32MB and then either manually or automatically, map the rest as ramdisk. You can limit the amount of video RAM used by X using the VideoRam directive in

Re: [PATCH 1/4][V2] powerpc : add support for linux, usable-memory properties for drconf memory

2008-07-22 Thread Benjamin Herrenschmidt
On Tue, 2008-07-22 at 14:31 +0530, Chandru wrote: Scan for linux,usable-memory properties in case of dynamic reconfiguration memory . Support for kexec/kdump. Signed-off-by: Chandru Siddalingappa [EMAIL PROTECTED] --- Patch applies on powerpc tree. Patch was reviewed by Nathan Fontenot,

Re: [PATCH 1/4][V2] powerpc : add support for linux, usable-memory properties for drconf memory

2008-07-22 Thread Paul Mackerras
Chandru writes: Scan for linux,usable-memory properties in case of dynamic reconfiguration memory . Support for kexec/kdump. Signed-off-by: Chandru Siddalingappa [EMAIL PROTECTED] Could we *please* have a more comprehensive patch description that that? Something which will help people

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:58:09AM -0600, Grant Likely wrote: Here is the latest series for adding MPC5200 I2S and TI AIC26 codec support to ALSA SoC. I believe all the comments are addressed and I hope that this series is now ready to be merged. I would really like to see these ones land

Re: [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:53:53AM -0600, Grant Likely wrote: This is most likely temporary glue code to work around limitations in the ASoC v1 framework. When v2 is merged, most of this driver will need to be reworked. Whatever is needed in v2 can probably have the client registration

Re: [Cbe-oss-dev] [patch 7/9] azfs: initial submit of azfs, a non-buffered filesystem

2008-07-22 Thread Christoph Hellwig
On Tue, Jul 15, 2008 at 09:51:46PM +0200, [EMAIL PROTECTED] wrote: From: Maxim Shchetynin [EMAIL PROTECTED] AZFS is a file system which keeps all files on memory mapped random access storage. It was designed to work on the axonram device driver for IBM QS2x blade servers, but can operate on

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Andrew Morton
On Fri, 4 Jul 2008 20:03:51 -0600 Matthew Wilcox [EMAIL PROTECTED] wrote: [PATCH] Make u64 long long on all architectures It is currently awkward to print a u64 type. Some architectures use unsigned long while others use unsigned long long. Since unsigned long long is 64-bit for all

Re: [PATCH v3 2/3] ALSA SoC: Add mpc5200-psc I2S driver

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:53:58AM -0600, Grant Likely wrote: Signed-off-by: Grant Likely [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] There's a few issues that were raised on the previous review cycle that still need to be addressed but they should be fixable in incremental

Re: [PATCH v3 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:54:03AM -0600, Grant Likely wrote: Signed-off-by: Grant Likely [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] with the same comments about outstanding issues as applied to the CPU side. +static int aic26_hw_params(struct snd_pcm_substream *substream,

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Michael Ellerman
On Tue, 2008-07-22 at 03:05 -0700, Andrew Morton wrote: On Fri, 4 Jul 2008 20:03:51 -0600 Matthew Wilcox [EMAIL PROTECTED] wrote: [PATCH] Make u64 long long on all architectures It is currently awkward to print a u64 type. Some architectures use unsigned long while others use unsigned

Re: Calling the kernel from a mini-bootloader

2008-07-22 Thread Guillaume Dargaud
Thank you Milton for the detailed explanation. It'll take me quite a while to digest it. As a follow up to my previous messages, I now have a working kernel and a working bootloader... but not when they are both together. Case in point: - load zImage.elf to DRAM 0x40 with JTAG debugger.

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Andrew Morton
On Tue, 22 Jul 2008 20:36:35 +1000 Michael Ellerman [EMAIL PROTECTED] wrote: On Tue, 2008-07-22 at 03:05 -0700, Andrew Morton wrote: On Fri, 4 Jul 2008 20:03:51 -0600 Matthew Wilcox [EMAIL PROTECTED] wrote: [PATCH] Make u64 long long on all architectures It is currently awkward to

Re: [PATCH] serial: fix struct uart_info change fallout

2008-07-22 Thread Alan Cox
What is your problem with the linux-next tree. The problem was discovered and reported when I first merged the ttydev tree into linux-next on July 1. The fixes were in linux-next on July 2. Yes .. and ? The clashes kept happening despite that when I was doing the merges (and going on holiday

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Benjamin Herrenschmidt
This is (IMO) a desirable change and will prevent a heck of a lot of goofing around, and will permit a lot of prior goofing around to be removed. But I bet there are lots of instalces of printk(%l, some_u64) down in arch code where the type of u64 _is_ known which will now spew warnings.

Re: [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:58:09AM -0600, Grant Likely wrote: Here is the latest series for adding MPC5200 I2S and TI AIC26 codec support to ALSA SoC. I believe all the comments are addressed and I hope that this series is now ready to be merged. I would really like to see these ones land

[PATCH 3/3] ASoC: Staticise keyclick dev_attr in tlv320aic26

2008-07-22 Thread Mark Brown
Signed-off-by: Mark Brown [EMAIL PROTECTED] --- sound/soc/codecs/tlv320aic26.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c index 73b7027..bed8a9e 100644 --- a/sound/soc/codecs/tlv320aic26.c +++

[PATCH 2/3] ASoC: Export DAI and codec for TLV320AIC26

2008-07-22 Thread Mark Brown
This fixes sparse warnings and allows non-OpenFirmware systems to attempt to bind to the device. Signed-off-by: Mark Brown [EMAIL PROTECTED] --- sound/soc/codecs/tlv320aic26.c |1 + sound/soc/codecs/tlv320aic26.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 1/3] ASoC: Make OpenFirmware helper include file conditional

2008-07-22 Thread Mark Brown
The OpenFirmware API headers don't build on all platforms so ensure that they are not included unless they are being used. Signed-off-by: Mark Brown [EMAIL PROTECTED] --- include/sound/soc-of-simple.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] Make u64 long long on all architectures (was: the printk problem)

2008-07-22 Thread Benjamin Herrenschmidt
On Tue, 2008-07-22 at 20:36 +1000, Michael Ellerman wrote: concordia powerpc(master) $ find arch/powerpc/ ! -name '*32.*' | xargs grep %l | grep -v %ll | wc -l 635 Someone's gonna get a lot of git points for fixing all those. Might keep the speeling fix crowd busy for a But a bunch of

Re: [git pull] Please pull from powerpc.git merge branch

2008-07-22 Thread Kumar Gala
On Jul 22, 2008, at 2:32 AM, Benjamin Herrenschmidt wrote: Hi Linus ! Here's the second batch of powerpc updates. I should have a last one before the end of the merge window for things that are stealing dealing with conflicts or dependencies but we are getting there. So please pull from:

Re: [PATCH 10/16 v3] powerpc: iommu enablement for CMO

2008-07-22 Thread Robert Jennings
* Paul Mackerras ([EMAIL PROTECTED]) wrote: Robert Jennings writes: To support Cooperative Memory Overcommitment (CMO), we need to check for failure from some of the tce hcalls. This patch runs into context mismatches because of changes made by Michael Ellerman's patch Fix sparse

Re: [PATCH 10/16 v3] [v2] powerpc: iommu enablement for CMO

2008-07-22 Thread Robert Jennings
* Paul Mackerras ([EMAIL PROTECTED]) wrote: Robert Jennings writes: Minor change to add a call to align the return from the device's get_desired_dma() function with IOMMU_PAGE_ALIGN(). Also removed a comment referring to a non-existent structure member. Anyway, my first comment is

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Jon Smirl
On 7/22/08, Mark Brown [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 12:58:09AM -0600, Grant Likely wrote: Here is the latest series for adding MPC5200 I2S and TI AIC26 codec support to ALSA SoC. I believe all the comments are addressed and I hope that this series is now ready to be

latest tree build failure -- cpm uart gpio

2008-07-22 Thread Kumar Gala
can someone look at the following compile failure in linus's tree. I'm guessing part of this has to do with Alan's tty changes (and might already be addressed?). include/asm-generic/gpio.h:131: error: implicit declaration of function 'gpio_get_value' include/asm-generic/gpio.h:137: error:

Re: latest tree build failure -- cpm uart gpio

2008-07-22 Thread Alan Cox
On Tue, 22 Jul 2008 08:54:16 -0500 Kumar Gala [EMAIL PROTECTED] wrote: can someone look at the following compile failure in linus's tree. I'm guessing part of this has to do with Alan's tty changes (and might already be addressed?). include/asm-generic/gpio.h:131: error: implicit

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 09:38:11AM -0400, Jon Smirl wrote: These drivers are going to get hit with immediate patches. The DMA is not broken out so that AC97 support can be fixed for the Efika. Further updates shouldn't present a problem - if anything, it should be easier easier to review

Re: radeonfb, dedicate memory to something else

2008-07-22 Thread Jon Smirl
On 7/22/08, Matt Sealey [EMAIL PROTECTED] wrote: Michel Dänzer wrote: On Tue, 2008-07-22 at 09:31 +0100, Matt Sealey wrote: or other graphics drivers can be told please only use the first 32MB and then either manually or automatically, map the rest as ramdisk. You can limit the

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Jon Smirl
On 7/22/08, Mark Brown [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 09:38:11AM -0400, Jon Smirl wrote: These drivers are going to get hit with immediate patches. The DMA is not broken out so that AC97 support can be fixed for the Efika. Further updates shouldn't present a problem -

Re: latest tree build failure -- cpm uart gpio

2008-07-22 Thread Anton Vorontsov
On Tue, Jul 22, 2008 at 08:54:16AM -0500, Kumar Gala wrote: can someone look at the following compile failure in linus's tree. I'm guessing part of this has to do with Alan's tty changes (and might already be addressed?). include/asm-generic/gpio.h:131: error: implicit declaration of

Re: going to OLS?

2008-07-22 Thread Becky Bruce
So, There doesn't seem to be an official plan, so I'm making one Kumar, Andy, and I will be at the Black Thorn at 7:30-ish this evening. Anybody that wants to join us welcome. Cheers, Becky On Jul 21, 2008, at 4:24 PM, Sean MacLennan wrote: On Mon, 21 Jul 2008 14:15:53 -0600

Re: Mikrotik RouterBoard 333

2008-07-22 Thread Scott Wood
Jerry Van Baren wrote: Scott Wood wrote: On Sun, Jul 13, 2008 at 08:44:46PM -0400, Jerry Van Baren wrote: I'm a half-ack. ;-) I'm partial to u-boot's implementation rather than using a bootwrapper for obvious reasons. The u-boot implementation takes the blob as a boot parameter and

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Timur Tabi
Jon Smirl wrote: I'm just going to ignore 2.6.27 and wait for 2.6.28. 2.6.28 might have ASoC V2, or at least portions of it. You might want to just port your driver to ASoC V2 like I did and not worry about it. -- Timur Tabi Linux kernel developer at Freescale

[PATCH] fs_enet: Remove unused fields in the fs_mii_bb_platform_info structure.

2008-07-22 Thread Laurent Pinchart
The mdio_port, mdio_bit, mdc_port and mdc_bit fields in the fs_mii_bb_platform_info structure are left-overs from the move to the Phy Abstraction Layer subsystem. They are not used anymore and can be safely removed. Signed-off-by: Laurent Pinchart [EMAIL PROTECTED] --- include/linux/fs_enet_pd.h

Re: [PATCH] serial: fix struct uart_info change fallout

2008-07-22 Thread Stephen Rothwell
Hi Alan, On Tue, 22 Jul 2008 11:44:36 +0100 Alan Cox [EMAIL PROTECTED] wrote: What is your problem with the linux-next tree. The problem was discovered and reported when I first merged the ttydev tree into linux-next on July 1. The fixes were in linux-next on July 2. Yes .. and ? The

[PATCH] cpm2: Rework baud rate generators configuration to support external clocks.

2008-07-22 Thread Laurent Pinchart
The CPM2 BRG setup functions cpm_setbrg and cpm2_fastbrg don't support external clocks. This patch adds a new exported __cpm2_setbrg function that takes the clock rate and clock source as extra parameters, and moves cpm_setbrg and cpm2_fastbrg to include/asm-powerpc/cpm2.h where they become inline

Re: Calling the kernel from a mini-bootloader

2008-07-22 Thread Guillaume Dargaud
Answering to myself to try and provide more background info: As a follow up to my previous messages, I now have a working kernel and a working bootloader... but not when they are both together. Case in point: - load zImage.elf to DRAM 0x40 with JTAG debugger. Run it. It runs fine. -

Re: UIO not working on ppc405 onchip registers

2008-07-22 Thread super . firetwister
On Tuesday 22 July 2008, [EMAIL PROTECTED] wrote: Hello Uwe, On Tuesday 22 July 2008, Uwe Kleine-König wrote: I don't know powerpc in general nor ppc405ep in detail but IIRC arm has problems if some memory is mapped twice. Might this be the problem here? Maybee, the emac0 (0xef600800)

Re: [PATCH] serial: fix struct uart_info change fallout

2008-07-22 Thread Alan Cox
I interpreted your So much for the linux-next tree as saying well, that has been no help. I am sorry if I got that wrong. True it didn't help in the merge that much this time. I don't think that is a problem with the linux-next tree but one of the lack of tty maintainer and tty tree letting

Re: [PATCH] serial: fix struct uart_info change fallout

2008-07-22 Thread Stephen Rothwell
Hi Alan, On Tue, 22 Jul 2008 16:59:29 +0100 Alan Cox [EMAIL PROTECTED] wrote: I really expected to get the rest merged within an hour or two, but then it broke, then I was travelling and each time I got wireless access to resync the tree and work on it - it broke again and again and again.

Re: [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Jon Smirl
On 7/22/08, Grant Likely [EMAIL PROTECTED] wrote: From: Grant Likely [EMAIL PROTECTED] Simple utility layer for creating ASoC machine instances based on data in the OpenFirmware device tree. OF aware platform drivers and codec drivers register themselves with this framework and the

Re: [RFC v3 PATCH 6/4] Use LOAD_REG_IMMEDIATE macros

2008-07-22 Thread Segher Boessenkool
All of the variables references through @got translated into relocation type R_PPC64_GOT16_DS entries. All these entries correspond to one of the above entries in the .got section. But none of the entries in .got section are relocated. If that last statement is really true, then that would be

Re: [alsa-devel] [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 12:38:30PM -0400, Jon Smirl wrote: On 7/22/08, Grant Likely [EMAIL PROTECTED] wrote: +int of_snd_soc_register_platform(struct snd_soc_platform *platform, +struct device_node *node, +struct

Re: 2.6.26 does not boot on Pegasos

2008-07-22 Thread Segher Boessenkool
If you built this kernel yourself, you need to do it from a system with an up-to-date binutils (2.18) otherwise, it does this. Note to the linux-ppc guys; is there any changelog entry which reports this requirement somewhere? I didn't find one... That's because there is no such requirement.

Re: [PATCH v3 2/3] ALSA SoC: Add mpc5200-psc I2S driver

2008-07-22 Thread Jon Smirl
What about the mpc5200b? +/* Match table for of_platform binding */ +static struct of_device_id psc_i2s_match[] __devinitdata = { + { .compatible = fsl,mpc5200-psc-i2s, }, + {} +}; +MODULE_DEVICE_TABLE(of, psc_i2s_match); + I'm just being grumpy because updating to linus/master made

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Mark Brown
On Tue, Jul 22, 2008 at 10:52:20AM -0400, Jon Smirl wrote: I'm just going to ignore 2.6.27 and wait for 2.6.28. This driver only If you want to get changes in for 2.6.28 it's probably best to be working on them now - it's not clear if this driver will be merged for 2.6.27 at all and the sooner

Re: [PATCH 04/16 v3] powerpc: Split retrieval of processor entitlement data into a helper routine

2008-07-22 Thread Nathan Fontenot
Paul Mackerras wrote: Robert Jennings writes: Split the retrieval of processor entitlement data returned in the H_GET_PPP hcall into its own helper routine. This seems to change the value reported for pool_capacity radically: /* report pool_capacity in percentage */ -

Re: [PATCH 02/16 v3] powerpc: Split processor entitlement retrieval and gathering to helper routines

2008-07-22 Thread Nathan Fontenot
Updated patch to remove checking the return code from the h_call for H_PIC. This reverts the reporting back to its original state. Split the retrieval and setting of processor entitlement and weight into helper routines. This also removes the printing of the raw values returned from h_get_ppp,

Re: [PATCH 03/16 v3] powerpc: Add memory entitlement capabilities to /proc/ppc64/lparcfg

2008-07-22 Thread Nathan Fontenot
Updated patch, increment the lparcfg module version number. Update /proc/ppc64/lparcfg to enable displaying of Cooperative Memory Overcommitment statistics as reported by the H_GET_MPP hcall. This also updates the lparcfg interface to allow setting memory entitlement and weight. Signed-off-by:

Re: [PATCH 04/16 v3] powerpc: Split retrieval of processor entitlement data into a helper routine

2008-07-22 Thread Nathan Fontenot
Updated patch to correct the reporting of pool_capcity. Split the retrieval of processor entitlement data returned in the H_GET_PPP hcall into its own helper routine. Signed-off-by: Nathan Fontenot [EMAIL PROTECTED] Signed-off-by: Robert Jennings [EMAIL PROTECTED] ---

Re: latest tree build failure -- cpm uart gpio

2008-07-22 Thread David Brownell
On Tuesday 22 July 2008, Anton Vorontsov wrote: On Tue, Jul 22, 2008 at 08:54:16AM -0500, Kumar Gala wrote: can someone look at the following compile failure in linus's tree. I'm guessing part of this has to do with Alan's tty changes (and might already be addressed?).

netif_schedule and mpc5200_fec

2008-07-22 Thread Jon Smirl
I just updated to linus/master and mpc5200_fec won't boot. Guessing it is this patch but I haven't looked at it yet. commit 263ba3204a434d0ca851e1321b31cd58376b86cb Author: David S. Miller [EMAIL PROTECTED] Date: Tue Jul 15 03:47:41 2008 -0700 netdev: Convert all drivers away from

Re: [PATCH] fs_enet: Remove unused fields in the fs_mii_bb_platform_info structure.

2008-07-22 Thread Jeff Garzik
Laurent Pinchart wrote: The mdio_port, mdio_bit, mdc_port and mdc_bit fields in the fs_mii_bb_platform_info structure are left-overs from the move to the Phy Abstraction Layer subsystem. They are not used anymore and can be safely removed. Signed-off-by: Laurent Pinchart [EMAIL PROTECTED] ---

Re: gigantci pages patches

2008-07-22 Thread Jon Tollefson
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 who will push them to Linus for 2.6.27. [PATCH 1/6 v2] allow arch specific function

Re: latest tree build failure -- cpm uart gpio

2008-07-22 Thread Anton Vorontsov
On Tue, Jul 22, 2008 at 12:33:16PM -0700, David Brownell wrote: On Tuesday 22 July 2008, Anton Vorontsov wrote: On Tue, Jul 22, 2008 at 08:54:16AM -0500, Kumar Gala wrote: can someone look at the following compile failure in linus's tree. I'm guessing part of this has to do with Alan's

Re: bug: mutex_lock() in interrupt conntext via phy_stop() in gianfar

2008-07-22 Thread Sebastian Siewior
* Nate Case | 2008-07-21 17:57:08 [-0500]: On Fri, 2008-07-18 at 14:10 +0200, Sebastian Siewior wrote: Commit 35b5f6b1a aka [PHYLIB: Locking fixes for PHY I/O potentially sleeping] changed the phydev-lock from spinlock into a mutex. Now, the following code path got triggered while NFS was

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread Jon Smirl
On 7/22/08, Jon Smirl [EMAIL PROTECTED] wrote: I just updated to linus/master and mpc5200_fec won't boot. It does boot, but this badness looks like it is coming from this patch. I don't know enough about networking to debug it. [EMAIL PROTECTED]:~/fs/drivers/net$ git diff

RE: going to OLS?

2008-07-22 Thread John Linn
Sounds good, I'll be there. It will be good to put some faces to names. Cheers, John -Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc-dev- [EMAIL PROTECTED] On Behalf Of Becky Bruce Sent: Tuesday, July 22, 2008 8:55 AM To: Sean MacLennan; [EMAIL PROTECTED]; Wolfgang

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread David Miller
From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 17:03:32 -0400 On 7/22/08, Jon Smirl [EMAIL PROTECTED] wrote: I just updated to linus/master and mpc5200_fec won't boot. It does boot, but this badness looks like it is coming from this patch. I don't know enough about networking to

Re: [PATCH v3 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 12:38:30PM -0400, Jon Smirl wrote: On 7/22/08, Grant Likely [EMAIL PROTECTED] wrote: +int of_snd_soc_register_codec(struct snd_soc_codec_device *codec_dev, + void *codec_data, struct snd_soc_dai *dai, +

Re: [PATCH v3 2/3] ALSA SoC: Add mpc5200-psc I2S driver

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 11:09:52AM +0100, Mark Brown wrote: On Tue, Jul 22, 2008 at 12:53:58AM -0600, Grant Likely wrote: Signed-off-by: Grant Likely [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] There's a few issues that were raised on the previous review cycle that

Re: [PATCH 1/3] ASoC: Make OpenFirmware helper include file conditional

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 12:53:07PM +0100, Mark Brown wrote: The OpenFirmware API headers don't build on all platforms so ensure that they are not included unless they are being used. Signed-off-by: Mark Brown [EMAIL PROTECTED] Acked-by: Grant Likely [EMAIL PROTECTED] I actually fixed this

Re: [PATCH 2/3] ASoC: Export DAI and codec for TLV320AIC26

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 12:53:08PM +0100, Mark Brown wrote: This fixes sparse warnings and allows non-OpenFirmware systems to attempt to bind to the device. Signed-off-by: Mark Brown [EMAIL PROTECTED] Acked-by: Grant Likely [EMAIL PROTECTED] --- sound/soc/codecs/tlv320aic26.c |1 +

Re: [PATCH 3/3] ASoC: Staticise keyclick dev_attr in tlv320aic26

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 12:53:09PM +0100, Mark Brown wrote: Signed-off-by: Mark Brown [EMAIL PROTECTED] Acked-by: Grant Likely [EMAIL PROTECTED] --- sound/soc/codecs/tlv320aic26.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/codecs/tlv320aic26.c

Re: [alsa-devel] [PATCH v3 0/3] ALSA SoC: MPC5200 audio driver

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 10:26:47AM +0100, Mark Brown wrote: On Tue, Jul 22, 2008 at 12:58:09AM -0600, Grant Likely wrote: Here is the latest series for adding MPC5200 I2S and TI AIC26 codec support to ALSA SoC. I believe all the comments are addressed and I hope that this series is now

Re: going to OLS?

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 03:09:55PM -0600, John Linn wrote: Becky Bruce wrote: So, There doesn't seem to be an official plan, so I'm making one Kumar, Andy, and I will be at the Black Thorn at 7:30-ish this evening. Anybody that wants to join us welcome. Sounds good, I'll be

Re: latest tree build failure -- cpm uart gpio

2008-07-22 Thread Anton Vorontsov
On Wed, Jul 23, 2008 at 08:05:09AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2008-07-22 at 18:53 +0400, Anton Vorontsov wrote: On Tue, Jul 22, 2008 at 08:54:16AM -0500, Kumar Gala wrote: can someone look at the following compile failure in linus's tree. I'm guessing part of this has

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread David Miller
From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 17:03:32 -0400 On 7/22/08, Jon Smirl [EMAIL PROTECTED] wrote: I just updated to linus/master and mpc5200_fec won't boot. It does boot, but this badness looks like it is coming from this patch. I don't know enough about networking to

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread Jon Smirl
On 7/22/08, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 17:03:32 -0400 On 7/22/08, Jon Smirl [EMAIL PROTECTED] wrote: I just updated to linus/master and mpc5200_fec won't boot. It does boot, but this badness looks like it is

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread David Miller
From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 18:54:18 -0400 On 7/22/08, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 17:03:32 -0400 On 7/22/08, Jon Smirl [EMAIL PROTECTED] wrote: I just updated to linus/master and

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread Jon Smirl
On 7/22/08, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 18:54:18 -0400 On 7/22/08, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 17:03:32 -0400 On 7/22/08, Jon Smirl

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread David Miller
From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 19:33:13 -0400 On 7/22/08, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED] Date: Tue, 22 Jul 2008 18:54:18 -0400 On 7/22/08, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED]

[PATCH 1/2] Support internal I2S clock sources on MPC5200

2008-07-22 Thread Jon Smirl
Support internal I2S clock sources on MPC5200 Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- sound/soc/fsl/mpc5200_psc_i2s.c | 58 ++- sound/soc/fsl/mpc5200_psc_i2s.h | 13 + 2 files changed, 64 insertions(+), 7 deletions(-) create mode 100644

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

2008-07-22 Thread Jon Smirl
Allow a custom ASOC machine driver with soc-of-simple Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- include/sound/soc-of-simple.h |2 ++ sound/soc/fsl/soc-of-simple.c | 26 +- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git

[PATCH] powerpc: fallout from sysdev API changes

2008-07-22 Thread Stephen Rothwell
A struct sysdev_attribute * parameter was added to the show routine by commit 4a0b2b4dbe1335b8b9886ba3dc85a145d5d938ed sysdev: Pass the attribute to the low level sysdev show/store function. This eliminates a warning: arch/powerpc/kernel/sysfs.c:538: warning: initialization from incompatible

Re: [RFC] 4xx hardware watchpoint support

2008-07-22 Thread Luis Machado
Hi, That, or adding a small function to move the bits to the appropriate registers (set_dbcr or set_dac_events). Do you think it's worth to support this facility on 405's processors? If so, i'll gladly work on a solution to it. I would think so. There's really no difference from a

Re: netif_schedule and mpc5200_fec

2008-07-22 Thread Grant Likely
On Tue, Jul 22, 2008 at 7:36 PM, David Miller [EMAIL PROTECTED] wrote: From: Jon Smirl [EMAIL PROTECTED] You're right. That patch fixes it. Another thing I brought down made my image file not get generated and I was using an old image. Thanks for confirming this Jon. Thanks for fixing it!

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

2008-07-22 Thread Stephen Rothwell
Hi John, On Tue, 22 Jul 2008 19:53:51 -0400 Jon Smirl [EMAIL PROTECTED] wrote: +static struct snd_soc_ops *machine_ops = NULL; +static char *machine_name = NULL; You don't need these initialisations. -- Cheers, Stephen Rothwell[EMAIL PROTECTED]