Re: [PATCH] ibm_newemac: Fixes memory leak in ibm_newemac ethernet driver

2008-07-02 Thread SathyaNarayanan
On Wed, Jul 2, 2008 at 11:16 AM, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Actually the meachanism of stopping the queue and starting it is already there. But even then due to some sync issue between the poll routine and xmit, we were resulted in using the slots of skb which was

[PATCH] powerpc/85xx: Add support for MPC8536DS

2008-07-02 Thread Kumar Gala
Add support for the MPC8536 process and MPC8536DS reference board. The MPC8536 is an e500v2 based SoC which eTSEC, USB, SATA, PCI, and PCIe. The USB and SATA IP blocks are similiar to those on the PQ2 Pro SoCs and thus use the same drivers. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- I've

[PATCH v2] powerpc/85xx: Add support for MPC8536DS

2008-07-02 Thread Kumar Gala
Add support for the MPC8536 process and MPC8536DS reference board. The MPC8536 is an e500v2 based SoC which eTSEC, USB, SATA, PCI, and PCIe. The USB and SATA IP blocks are similiar to those on the PQ2 Pro SoCs and thus use the same drivers. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Fixed

Re: [PATCH] POWERPC CPM: Minor cosmetic changes to udbg_putc

2008-07-02 Thread Kumar Gala
On Jun 27, 2008, at 3:01 PM, Nye Liu wrote: From: Nye Liu [EMAIL PROTECTED] udbg_putc is a *function pointer* that is initialized during udbg_init_cpm. It might not be initialized properly when called from udbg_putc_cpm(), so (recursively) call udbg_putc_cpm() directly. Printing an X on

Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-07-02 Thread Kumar Gala
On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote: It adds the missing RTC node to tqm8548.dts and enables support for I2C, DS1307 and LM75 in the default configuration. Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED] --- arch/powerpc/boot/dts/tqm8548.dts |5

Re: [PATCH] powerpc/86xx: mpc8610_hpcd: fix interrupt trigger type for ULi IDE

2008-07-02 Thread Kumar Gala
On Jul 1, 2008, at 8:04 AM, Anton Vorontsov wrote: i8259 PIC is disabled on MPC8610HPCD, and ULi IDE is configured to use PCI sideband interrupt that is specified in the device tree. Current HPCD's device tree specify that IDE interrupt is low to high sensitive, but in practice ULi IDE throws

Re: Commits added to powerpc.git master and powerpc-next branches

2008-07-02 Thread Kumar Gala
On Jul 1, 2008, at 3:49 AM, Laurent Pinchart wrote: Hi Paul, On Tuesday 01 July 2008, Paul Mackerras wrote: The following commits have been added to the master and powerpc-next branches of the powerpc.git repository. This includes patches pulled from Kumar's and Josh's trees. Any change

Re: Commits added to powerpc.git master and powerpc-next branches

2008-07-02 Thread Kumar Gala
On Jul 1, 2008, at 10:54 AM, Jochen Friedrich wrote: Hi Paul, On Tuesday 01 July 2008, Paul Mackerras wrote: The following commits have been added to the master and powerpc-next branches of the powerpc.git repository. This includes patches pulled from Kumar's and Josh's trees. Now that

Re: [PATCH] cpm_uart: Support uart_wait_until_sent()

2008-07-02 Thread Kumar Gala
On Jun 26, 2008, at 6:55 AM, Laurent Pinchart wrote: Set port-fifosize to the software FIFO size, and update the port timeout when the baud rate is modified. SCC ports have an optional 32 byte hardware FIFO which is currently not taken into account, as there is no documented way to check

Re: [BUG] 2.6.26-rc8-git2 - kernel BUG at mm/page_alloc.c:585

2008-07-02 Thread Andrew Morton
On Wed, 02 Jul 2008 11:55:36 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi, when running kernbench on powerpc box booted with the 2.6.26-rc8-git2 kernel the machine drops to xmon with the kernel BUG kernel BUG at mm/page_alloc.c:585! static int bad_range(struct zone *zone, struct

Re: [PATCH 06/12] net: use linux/of_{device, platform}.h instead of asm

2008-07-02 Thread Kumar Gala
On Jun 26, 2008, at 11:58 PM, Jeff Garzik wrote: Stephen Rothwell wrote: Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] --- drivers/net/fs_enet/fs_enet-main.c |2 +- drivers/net/fs_enet/mac-scc.c |2 +- drivers/net/fs_enet/mii-fec.c |2 +- drivers/net/ibm_newemac/core.h

patches for 2.6.27...

2008-07-02 Thread Kumar Gala
Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. I know there are probably a slew of CPM patches that need to get into the tree. - k ___ Linuxppc-dev mailing list

Re: [PATCH v3] [NAND] driver extension to support NAND on TQM85xx modules

2008-07-02 Thread Wolfgang Grandegger
Hello, I would like to ask for the status of the patch below and the related ones. Any chance to get them in for 2.6.27. TIA, Wolfgang. Wolfgang Grandegger wrote: This patch extends the FSL UPM NAND driver from Anton Vorontsov to support hardware which does not have the R/B pin of the NAND

Re: patches for 2.6.27...

2008-07-02 Thread Laurent Pinchart
Hi Kumar, On Wednesday 02 July 2008, Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. I know there are probably a slew of CPM patches that need to get into the tree. Here are 5 patches that I'd like to

Re: Commits added to powerpc.git master and powerpc-next branches

2008-07-02 Thread Laurent Pinchart
On Wednesday 02 July 2008, Kumar Gala wrote: On Jul 1, 2008, at 3:49 AM, Laurent Pinchart wrote: Hi Paul, On Tuesday 01 July 2008, Paul Mackerras wrote: The following commits have been added to the master and powerpc-next branches of the powerpc.git repository. This includes

[PATCHv2] cpm_uart: Support uart_wait_until_sent()

2008-07-02 Thread Laurent Pinchart
Set port-fifosize to the software FIFO size, and update the port timeout when the baud rate is modified. SCC ports have an optional 32 byte hardware FIFO which is currently not taken into account, as there is no documented way to check when the FIFO becomes empty. Signed-off-by: Laurent Pinchart

Re: patches for 2.6.27... (Kumar Gala)

2008-07-02 Thread Heiko Schocher
Hello Kumar, On Wednesday 02 July 2008, Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. Here are 2 patches that I'd like to see in 2.6.27. They haven't made into any git tree as far as I know.

Re: [PATCH] powerpc: fixup lwsync at runtime

2008-07-02 Thread Michael Ellerman
On Tue, 2008-07-01 at 09:48 -0500, Kumar Gala wrote: On Jul 1, 2008, at 1:29 AM, Michael Ellerman wrote: diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/ setup_32.c index 9e83add..0109e7f 100644 --- a/arch/powerpc/kernel/setup_32.c +++

Re: [PATCH v2 1/2] powerpc: Fix building of feature-fixup tests on ppc32

2008-07-02 Thread Michael Ellerman
On Tue, 2008-07-01 at 10:16 -0500, Kumar Gala wrote: We need to use PPC_LCMPI otherwise we get compile errors like: arch/powerpc/lib/feature-fixups-test.S: Assembler messages: arch/powerpc/lib/feature-fixups-test.S:142: Error: Unrecognized opcode: `cmpdi'

Re: [PATCH] powerpc/mpc5200: Fix lite5200b suspend/resume

2008-07-02 Thread Tim Yamin
Hi Grant, This patch works fine for me. Cheers, Tim On Tue, Jul 1, 2008 at 10:12 PM, Grant Likely [EMAIL PROTECTED] wrote: From: Tim Yamin [EMAIL PROTECTED] Suspend/resume (echo mem /sys/power/state) does not work with vanilla kernels -- the system does not suspend correctly and just

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

2008-07-02 Thread Takashi Iwai
At Tue, 01 Jul 2008 17:53:30 -0600, Grant Likely wrote: diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 18f28ac..c5736e5 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -23,6 +23,12 @@ config SND_SOC This ASoC audio support can also be built as a module. If so,

[PATCH] [POWERPC] 52xx: add missing MSCAN FDT nodes for TQM52xx

2008-07-02 Thread Wolfgang Grandegger
This patch adds the still missing FDT nodes for the MSCAN devices for the TQM52xx modules. Signed-off-by: Wolfgang Grandegger [EMAIL PROTECTED] --- arch/powerpc/boot/dts/tqm5200.dts | 16 1 file changed, 16 insertions(+) Index: linux-2.6-galak/arch/powerpc/boot/dts/tqm5200.dts

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

2008-07-02 Thread Liam Girdwood
On Tue, 2008-07-01 at 17:53 -0600, Grant Likely wrote: From: Grant Likely [EMAIL PROTECTED] This is an I2S bus driver for the MPC5200 PSC device. It is probably will not be merged as-is because it uses v1 of the ASoC API, but I want to get it out there for comments. Looks good, just minor

Re: [alsa-devel] [PATCH 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

2008-07-02 Thread Liam Girdwood
On Tue, 2008-07-01 at 17:53 -0600, Grant Likely wrote: From: Grant Likely [EMAIL PROTECTED] ASoC Codec driver for the TLV320AIC26 device. This driver uses the ASoC v1 API, so I don't expect it to get merged as-is, but I want to get it out there for review. --- sound/soc/codecs/Kconfig

Re: Commits added to powerpc.git master and powerpc-next branches

2008-07-02 Thread Jochen Friedrich
Hi Kumar, any chance to get this one into 2.6.27? [POWERPC] Add i2c pins to dts and board setup http://patchwork.ozlabs.org/linuxppc/patch?person=1023id=18603 Will we always want defconfig updates to enable the driver? Good question. Maybe not, as the i2c bus seems to be unused on these

[git pull] Please pull powerpc.git merge branch

2008-07-02 Thread Paul Mackerras
Linus, Please pull from the 'merge' branch of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get two more small bug-fixes for powerpc, as listed below. Thanks, Paul. arch/powerpc/boot/Makefile |3 ++- arch/powerpc/kernel/legacy_serial.c |5 + 2

Re: [PATCH]: [MPC5200] (v2) Add ATA DMA support

2008-07-02 Thread Tim Yamin
Hi Grant, Thanks for the feedback. New version is attached. Is this a bug fix? If so, please put it into a separate patch. I suppose so, yes. If Ethernet has higher priority than ATA, you can get a deadlock if you try and download a large file over a LAN to disk, for example. But given that

powerpc: Remove old dump_task_* functions

2008-07-02 Thread Michael Neuling
Since Roland's ptrace cleanup starting f65255e8d51ecbc6c9eef20d39e0377d19b658ca, the dump_task_* functions are no longer being used. Signed-off-by: Michael Neuling [EMAIL PROTECTED] --- Paulus: please add to you 2.6.27 tree. arch/powerpc/kernel/process.c | 83

Re: [i2c] [PATCH 1/2] Convert i2c-mpc from a platform driver into a of_platform driver, V4

2008-07-02 Thread Wolfram Sang
Hi Jean, On Tue, Jul 01, 2008 at 06:14:44PM +0200, Jean Delvare wrote: Applied, after fixing the patch so that it applies, fixing it again so that it is correct in the polling case, and fixing it again to make it pass checkpatch.pl. So, it cannot be applied directly? :( Could you repost the

Re: High Memory problem on 2.4.22 Linux, 2GB ppc card

2008-07-02 Thread Ruksen INANIR
I want to change the MAX_LOW_MEM to 1520 MB, what other settings do i need to change? I do not want to use HIGHMEM because the Fiber channel does not support highmem. The card is 2 GB ppc. 1520 MB is enough. At the moment card works with 1456 MB MAX_LOW_MEM. but setting the value

RE: Graphic Card on Freescale MPC837x-rdb

2008-07-02 Thread Bizhan Gholikhamseh (bgholikh)
-Original Message- From: Anatolij Gustschin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 12:37 AM To: Bizhan Gholikhamseh (bgholikh) Cc: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org Subject: Re: Graphic Card on Freescale MPC837x-rdb Bizhan Gholikhamseh (bgholikh) wrote:

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

2008-07-02 Thread Jon Smirl
DMA, needs to be split out. Efika is AC97 on the MPC5200 and needs to share DMA code. The new Phytec pcm030 baseboard is AC97 too. What does the device tree look like? On 7/1/08, Grant Likely [EMAIL PROTECTED] wrote: From: Grant Likely [EMAIL PROTECTED] This is an I2S bus driver for the

Re: [alsa-devel] [PATCH 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

2008-07-02 Thread Jon Smirl
On 7/1/08, Grant Likely [EMAIL PROTECTED] wrote: From: Grant Likely [EMAIL PROTECTED] ASoC Codec driver for the TLV320AIC26 device. This driver uses the ASoC v1 API, so I don't expect it to get merged as-is, but I want to get it out there for review. --- sound/soc/codecs/Kconfig

Re: [PATCH] powerpc/85xx: Add support for MPC8536DS

2008-07-02 Thread Chen Gong
Stephen Rothwell 写道: Hi Kumar, On Wed, 2 Jul 2008 02:01:10 -0500 (CDT) Kumar Gala [EMAIL PROTECTED] wrote: +void __init mpc8536_ds_pic_init(void) +{ +struct mpic *mpic; +struct resource r; +struct device_node *np = NULL; You don't need to initialise this. +np =

RE: [PATCH] powerpc: Xilinx: add dts file for ML507 board

2008-07-02 Thread John Linn
Hi Josh, It's looking like I need to update this anyway for some changes to our reference system I just learned about. I'll talk with Stephen about dts-v1 as he does most of the dts generation work. Thanks, John -Original Message- From: Josh Boyer [mailto:[EMAIL PROTECTED] Sent:

Re: [PATCH v2 1/2] powerpc: Fix building of feature-fixup tests on ppc32

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 4:35 AM, Michael Ellerman wrote: On Tue, 2008-07-01 at 10:16 -0500, Kumar Gala wrote: We need to use PPC_LCMPI otherwise we get compile errors like: arch/powerpc/lib/feature-fixups-test.S: Assembler messages: arch/powerpc/lib/feature-fixups-test.S:142: Error: Unrecognized

Re: [PATCH 1/2] Convert i2c-mpc from a platform driver into a of_platform driver, V4

2008-07-02 Thread Jean Delvare
On Wed, 2 Jul 2008 15:33:43 +0200, Wolfram Sang wrote: Hi Jean, On Tue, Jul 01, 2008 at 06:14:44PM +0200, Jean Delvare wrote: Applied, after fixing the patch so that it applies, fixing it again so that it is correct in the polling case, and fixing it again to make it pass

Please pull linux-2.6-mpc52xx.git for 2.6.26

2008-07-02 Thread Grant Likely
Hi Paul, Here is one more last minute 2.6.26 bug fix. The following changes since commit 1702b52092e9a6d05398d3f9581ddc050ef00d06: Linus Torvalds (1): Merge git://git.kernel.org/.../mchehab/v4l-dvb are available in the git repository at:

[PATCH] powerpc/85xx: minor fixes for MPC85xx DS board port

2008-07-02 Thread Kumar Gala
These issues were reported by Stephen Rothwell for another 85xx board port and pointed out by Chen Gong as issues in the DS port. * mpic OF node reference counting was off * of_device_id struct should be marked as __initdata Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- in my powerpc-next

Re: [PATCH] powerpc/85xx: Add support for MPC8536DS

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 9:04 AM, Chen Gong wrote: Stephen Rothwell 写道: Hi Kumar, On Wed, 2 Jul 2008 02:01:10 -0500 (CDT) Kumar Gala [EMAIL PROTECTED] wrote: +void __init mpc8536_ds_pic_init(void) +{ + struct mpic *mpic; + struct resource r; + struct device_node *np = NULL;

Re: [PATCH v2] Change the default link address for pSeries zImage kernels.

2008-07-02 Thread Olaf Hering
On Tue, Jun 24, Tony Breeds wrote: Currently we set the start of the .text section to be 4Mb for pSeries. In situations where the zImage is 8Mb we'll fail to boot (due to overlapping with OF). Move .text in a zImage from 4MB to 64MB (well past OF). We still will not be able to load large

Re: Commits added to powerpc.git master and powerpc-next branches

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 7:35 AM, Jochen Friedrich wrote: Hi Kumar, any chance to get this one into 2.6.27? [POWERPC] Add i2c pins to dts and board setup http://patchwork.ozlabs.org/linuxppc/patch?person=1023id=18603 Will we always want defconfig updates to enable the driver? Good question.

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

2008-07-02 Thread Jon Smirl
On 7/1/08, Grant Likely [EMAIL PROTECTED] wrote: From: Grant Likely [EMAIL PROTECTED] This is an I2S bus driver for the MPC5200 PSC device. It is probably will not be merged as-is because it uses v1 of the ASoC API, but I want to get it out there for comments. ---

Re: [PATCH] powerpc/85xx: Add support for MPC8536DS

2008-07-02 Thread Chen Gong
Kumar Gala 写道: On Jul 2, 2008, at 9:04 AM, Chen Gong wrote: Stephen Rothwell 写道: Hi Kumar, On Wed, 2 Jul 2008 02:01:10 -0500 (CDT) Kumar Gala [EMAIL PROTECTED] wrote: +void __init mpc8536_ds_pic_init(void) +{ +struct mpic *mpic; +struct resource r; +struct device_node

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

2008-07-02 Thread Jon Smirl
On 7/1/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: patches for 2.6.27...

2008-07-02 Thread Scott Wood
On Wed, Jul 02, 2008 at 02:56:16AM -0500, Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. I know there are probably a slew of CPM patches that need to get into the tree. Could you apply the 83xx power

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

2008-07-02 Thread Grant Likely
On Wed, Jul 02, 2008 at 11:50:43AM +0200, Takashi Iwai wrote: At Tue, 01 Jul 2008 17:53:30 -0600, Grant Likely wrote: diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 18f28ac..c5736e5 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -23,6 +23,12 @@ config SND_SOC

Re: [PATCH] powerpc: fixup lwsync at runtime

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 4:34 AM, Michael Ellerman wrote: On Tue, 2008-07-01 at 09:48 -0500, Kumar Gala wrote: On Jul 1, 2008, at 1:29 AM, Michael Ellerman wrote: diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/ setup_32.c index 9e83add..0109e7f 100644 ---

Re: patches for 2.6.27...

2008-07-02 Thread Kim Phillips
On Wed, 2 Jul 2008 02:56:16 -0500 Kumar Gala [EMAIL PROTECTED] wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. I haven't heard back from Segher, so: http://patchwork.ozlabs.org/linuxppc/patch?id=19313 Kim

[PATCH] powerpc: fix section numbering of CPM chapter in booting-without-of.

2008-07-02 Thread Jochen Friedrich
Within the Freescale Communications Processor Module chapter, both Serial and Network have the same section number iii). Renumber the sections to make them unique again. Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 12 ++-- 1

Re: [PATCH 1/3] mpc83xx: Power Management support

2008-07-02 Thread Kumar Gala
diff --git a/arch/powerpc/platforms/83xx/suspend-asm.S b/arch/ powerpc/platforms/83xx/suspend-asm.S new file mode 100644 index 000..03e29a2 --- /dev/null +++ b/arch/powerpc/platforms/83xx/suspend-asm.S @@ -0,0 +1,539 @@ +/* + * Enter and leave sleep state on MPC83xx + * + * Author: Scott

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

2008-07-02 Thread Liam Girdwood
On Wed, 2008-07-02 at 09:48 -0600, Grant Likely wrote: On Wed, Jul 02, 2008 at 11:50:43AM +0200, Takashi Iwai wrote: This is a helper module and not necessarily manually selectable. Better to make the other driver selecting this. Yes, you're right. I hadn't put too much thought into

[PATCH] powerpc: Add i2c pins to dts and board setup

2008-07-02 Thread Jochen Friedrich
Initialize I2C pins on boards with CPM1/CPM2 controllers and document the i2c bus in booting-without-of. The boards don't have any I2C chips connected to the I2C bus, so unless some external chips are connected to the boards, this code is just an example of setting everything else up.

Re: [alsa-devel] [PATCH 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

2008-07-02 Thread Liam Girdwood
On Wed, 2008-07-02 at 09:52 -0400, Jon Smirl wrote: I've been using asoc-v2 so it may not be possible to make this arch independent in asoc-v1. Maybe try porting this to asoc-v2 and see if a bunch of the registration complexity disappears. Most of soc-of.c should be unnecessary. Liam,

[PATCH] powerpc: Add documentation for CPM GPIO banks to booting-without-of

2008-07-02 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 39 ++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index

Re: [PATCHv2] cpm_uart: Support uart_wait_until_sent()

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 3:58 AM, Laurent Pinchart wrote: Set port-fifosize to the software FIFO size, and update the port timeout when the baud rate is modified. SCC ports have an optional 32 byte hardware FIFO which is currently not taken into account, as there is no documented way to check

Re: [PATCH] powerpc: Add i2c pins to dts and board setup

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 11:06 AM, Jochen Friedrich wrote: Initialize I2C pins on boards with CPM1/CPM2 controllers and document the i2c bus in booting-without-of. The boards don't have any I2C chips connected to the I2C bus, so unless some external chips are connected to the boards, this code is

[PATCH] powerpc: implement GPIO LIB API on CPM1 Freescale SoC.

2008-07-02 Thread Jochen Friedrich
This patch implement GPIO LIB support for the CPM1 GPIOs. Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] --- This patch depends on the GPIO LIB support for the CPM2 GPIOs patch from Laurent Pinchart. Changes since last submission: - of_gc-gpio_cells = 2 to allow passing port options in the

Re: [PATCH 1/3] mpc83xx: Power Management support

2008-07-02 Thread Scott Wood
Kumar Gala wrote: If we are going to allocate space for save area like this, can't we do this in C code. Its less error prone and easier to extend over time. I know the powermac code does something similar but it places the save area on the stack. Then we'd have to split it between things

Re: [PATCH 1/3] mpc83xx: Power Management support

2008-07-02 Thread Kumar Gala
diff --git a/arch/powerpc/platforms/83xx/suspend-asm.S b/arch/ powerpc/platforms/83xx/suspend-asm.S new file mode 100644 index 000..03e29a2 --- /dev/null +++ b/arch/powerpc/platforms/83xx/suspend-asm.S @@ -0,0 +1,539 @@ +/* + * Enter and leave sleep state on MPC83xx + * + * Author: Scott

Re: [PATCH 1/3] mpc83xx: Power Management support

2008-07-02 Thread Scott Wood
Kumar Gala wrote: +#define SS_MEMSAVE0x00 What is this? add a comment? There's a comment where MEMSAVE is used: /* The first 2 words of memory are used to communicate with the * bootloader, to tell it how to resume. * * The first word is the magic

Re: patches for 2.6.27...

2008-07-02 Thread Dave Jiang
Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. I know there are probably a slew of CPM patches that need to get into the tree. - k ___ Linuxppc-dev mailing list

[PATCH] powerpc/86xx: Refactor pic init

2008-07-02 Thread Kumar Gala
Moved the pic initialization into its own common file and out of the board code. Also fixed the OF reference counting on the mpic node. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- in my powerpc-next tree. - k arch/powerpc/platforms/86xx/Makefile |1 +

Re: [PATCH v2] 85xx: publish of device for cds platforms

2008-07-02 Thread Kumar Gala
On Jun 16, 2008, at 5:36 PM, Dave Jiang wrote: Publish the devices listed in dts under SOC as of_device for 85xx_cds platform. The devices are needed by the 85xx EDAC driver. Signed-off-by: Dave Jiang [EMAIL PROTECTED] --- Added simple bus per Scott Wood

Re: [PATCH 1/3] mpc83xx: Power Management support

2008-07-02 Thread Scott Wood
Kumar Gala wrote: On Jul 2, 2008, at 12:12 PM, Scott Wood wrote: Kumar Gala wrote: +#define SS_MEMSAVE0x00 What is this? add a comment? There's a comment where MEMSAVE is used: /* The first 2 words of memory are used to communicate with the I read this as the memory address

Re: [Bugme-new] [Bug 11027] New: random forward time jumps

2008-07-02 Thread Andrew Morton
On Wed, 2 Jul 2008 10:49:59 -0700 (PDT) [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=11027 Hopefully someone in ppc land has set a watch on [EMAIL PROTECTED] If not, please go to http://bugzilla.kernel.org/userprefs.cgi?tab=email and enter [EMAIL PROTECTED] into the

Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
Scott, I know I asked about this in the past, but I can't remember where it was left. Did this get resolved in some other repository that isn't the main linux-2.6 repository? If it didn't I think I might have a solution. BTW I'm using 2.6.26-rc8 Ron

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Scott Wood
Ron Madrid wrote: I know I asked about this in the past, but I can't remember where it was left. Did this get resolved in some other repository that isn't the main linux-2.6 repository? If it didn't I think I might have a solution. BTW I'm using 2.6.26-rc8 What was the issue? -Scott

Re: patches for 2.6.27...

2008-07-02 Thread Kumar Gala
On Jul 2, 2008, at 2:14 PM, Phil Terry wrote: On Wednesday 02 July 2008 12:56:16 am Kumar Gala wrote: Please point out any patches that have been posted but havent made it into a git tree related to Freescale chips. What has happened to the RapidIO patches? I saw a bunch in march but don't

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
During boot the kernel mounts the root file system and (I think) based on the size of the NAND in the dts attempts to format the rest of the NAND fs partition. At this point the blocks are being marked as bad. Therefore, when I reboot, the kernel thinks that there is no more usable space in

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Scott Wood
Ron Madrid wrote: /* Large Page FLASH with FMR[ECCM] = 0 */ static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = { .eccbytes = 12, .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56}, - .oobfree = { {1, 5}, {9, 13}, {25, 13}, {41, 13}, {57, 7} }, + .oobfree = {

[PATCH 1/5] Document Freescale power management nodes, and the sleep property.

2008-07-02 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 207 - 1 files changed, 165 insertions(+), 42 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index

[PATCH 4/5] gianfar: Magic Packet and suspend/resume support.

2008-07-02 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt |5 +- arch/powerpc/sysdev/fsl_soc.c|3 + drivers/net/gianfar.c| 118 +- drivers/net/gianfar.h| 12 ++-

[PATCH 3/5] mpc83xx: Power Management support

2008-07-02 Thread Scott Wood
Basic PM support for 83xx. Standby is implemented as sleep. Suspend-to-RAM is implemented as deep sleep (with the processor turned off) on 831x. Signed-off-by: Scott Wood [EMAIL PROTECTED] --- Updated comments, and changed SS_CURRENT to SS_R2 as requested. arch/powerpc/Kconfig

[PATCH 5/5] mpc8313erdb: Add power management to the device tree.

2008-07-02 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8313erdb.dts | 247 +++-- 1 files changed, 174 insertions(+), 73 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts index b206843..6633ec4

Re: Kernel marking NAND blocks bad

2008-07-02 Thread Ron Madrid
Thank you (once again). I found the information. Ron --- Scott Wood [EMAIL PROTECTED] wrote: Ron Madrid wrote: /* Large Page FLASH with FMR[ECCM] = 0 */ static struct nand_ecclayout fsl_elbc_oob_lp_eccm0 = { .eccbytes = 12, .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55,

[PATCH] powerpc: Xilinx: Fix boot with 16550 for 405 and 440

2008-07-02 Thread John Linn
The following changes add processing to initialize the Xilinx 16550 UART in the boot strap loader since a boot loader is not used many times with the FPGA. The wrapper was also modified to add the 440 build. Signed-off-by: John Linn [EMAIL PROTECTED] --- arch/powerpc/boot/Makefile |2 +-

gianfar in SGMII mode

2008-07-02 Thread Nate Case
Hi Kumar, I'm looking at gfar_configure_serdes() and I'm at a loss as to why this is always called when the MAC is in SGMII mode. It looks like it assumes the use of TBI for some reason. On my board it's just a regular SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI involved.

[PATCH] powerpc: Xilinx: add defconfig for virtex 5 boards

2008-07-02 Thread John Linn
This defconfig file is specific to Xilinx Virtex 5 FXT boards. Signed-off-by: John Linn [EMAIL PROTECTED] --- arch/powerpc/configs/44x/virtex5_defconfig | 1107 1 files changed, 1107 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH v2 1/2] powerpc: Fix building of feature-fixup tests on ppc32

2008-07-02 Thread Segher Boessenkool
We need to use PPC_LCMPI otherwise we get compile errors like: arch/powerpc/lib/feature-fixups-test.S: Assembler messages: arch/powerpc/lib/feature-fixups-test.S:142: Error: Unrecognized opcode: `cmpdi' arch/powerpc/lib/feature-fixups-test.S:149: Error: Unrecognized opcode: `cmpdi'

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

2008-07-02 Thread Paul Mackerras
Linus, Grant Likely sent me one more bug-fix for 2.6.26, which I have merged into my merge branch at: git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge So when you do the pull from there, you'll get 3 commits as listed below. Thanks, Paul. arch/powerpc/boot/Makefile

[PATCH v2 0/5] SPI OF bindings and mpc5200-spi driver

2008-07-02 Thread Grant Likely
I think I've addressed all the comments I've received. This series adds OpenFirmware device tree bindings for SPI devices. SPI master drivers which make use of of_spi.c can retrieve the set of spi devices from the device tree and automatically create them. This series depends on previously

[PATCH v2 1/5] spi: Change modalias from a pointer to a character array

2008-07-02 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] Currently, 'modalias' in the spi_device structure is a 'const char *'. The spi_new_device() function fills in the modalias value from a passed in spi_board_info data block. Since it is a pointer copy, the new spi_device remains dependent on the spi_board_info

[PATCH v2 2/5] spi: split up spi_new_device() to allow two stage registration.

2008-07-02 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] spi_new_device() allocates and registers an spi device all in one swoop. If the driver needs to add extra data to the spi_device before it is registered, then this causes problems. This patch splits the allocation and registration portions of code out of

[PATCH v2 3/5] of-bindings: Add binding documentation for SPI busses and devices

2008-07-02 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] Add documentation about how to describe SPI busses in the device tree. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 60 ++ 1 files changed, 60 insertions(+), 0 deletions(-) diff

[PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-02 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] This patch adds support for populating an SPI bus based on data in the OF device tree. This is useful for powerpc platforms which use the device tree instead of discrete code for describing platform layout. Signed-off-by: Grant Likely [EMAIL PROTECTED] ---

[PATCH v2 5/5] powerpc/mpc5200: Add mpc5200-spi (non-PSC) device driver

2008-07-02 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] Adds support for the dedicated SPI device on the Freescale MPC5200(b) SoC. Signed-off-by: Grant Likely [EMAIL PROTECTED] --- drivers/spi/Kconfig |8 + drivers/spi/Makefile|1 drivers/spi/mpc52xx_spi.c | 595

Re: [PATCH 06/12] net: use linux/of_{device,platform}.h instead of asm

2008-07-02 Thread Stephen Rothwell
Hi Kumar, On Wed, 2 Jul 2008 02:55:29 -0500 Kumar Gala [EMAIL PROTECTED] wrote: I'll pick it up (since it mainly touches fsl enet controllers) if you can repost it. I seem to have lost the patch. Here you go. -- Cheers, Stephen Rothwell[EMAIL PROTECTED]

Re: [PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-02 Thread Jon Smirl
On 7/2/08, Grant Likely [EMAIL PROTECTED] wrote: From: Grant Likely [EMAIL PROTECTED] This patch adds support for populating an SPI bus based on data in the OF device tree. This is useful for powerpc platforms which use the device tree instead of discrete code for describing platform

[PATCH 0/5 v2] Update memory dlpar for dynamic reconfiguration memory

2008-07-02 Thread Nathan Fontenot
The following patchset corrects a set of issues for memory dlpar and the representation of memory in the device tree under the ibm,dynamic-reconfiguration-memory node. On newer hardware and kernels, the device tree has changed so that all memory appears under the

[PATCH 1/5 v2] Allow phandle to be specified in formats other than decimal

2008-07-02 Thread Nathan Fontenot
Allow the phandle passed to the /proc/ppc64/ofdt file to be specified in formats other than decimal. This allows us to easily specify phandle values in hex that would otherwise appear as negative integers. This is an issue on systems where the value of

[PATCH 2/5 v2] Use base address to derive starting page frame number

2008-07-02 Thread Nathan Fontenot
Use the base address of the lmb to derive the starting page frame number instead of trying to extract it from the drc index of the lmb. The drc index should not be used for this as it will, and did, break. Until this point, systems that have had memory represented in the device tree with a node

[PATCH 3/5 v2] Update the device tree correctly for drconf memory add/remove

2008-07-02 Thread Nathan Fontenot
This patch updates the device tree manipulation routines so that memory add/remove of lmbs represented under the ibm,dynamic-reconfiguration-memory node of the device tree invokes the hotplug notifier chain. This change is needed because of the change in the way memory is represented under the

[PATCH 4/5 v2] Split code into helper routines for drconf memory

2008-07-02 Thread Nathan Fontenot
This patch splits off several pieces of code that parse the ibm,dynamic-reconfiguration-memory node of the device tree into separate helper routines. This is in preparation for the followon patch that will use these helper routines. There are no functional changes in this patch. Signed-off-by:

[PATCH 5/5 v2] Update numa association of hotplug memory add for drconf memory

2008-07-02 Thread Nathan Fontenot
Update the association of a memory section with a numa node that occurs during hotplug add of a memory section. This adds a check in the hot_add_scn_to_nid() routine for the ibm,dyamic-reconfiguration-memory node in the device tree. If present the new hot_add_drconf_scn_to_nid() routine is

Re: [PATCH] [RFC v3] OF: OpenFirmware bindings for the mmc_spi driver

2008-07-02 Thread Jon Smirl
On 6/5/08, Anton Vorontsov [EMAIL PROTECTED] wrote: Here is v3. I'm out of ideas if you won't like it. :-) v3: - Now these bindings are using bus notifiers chain, thus we adhere to the spi bus. By the way, this scheme (IMO) looks good for I2C devices which needs platform_data

Re: [PATCH 4/5 v2] Split code into helper routines for drconf memory

2008-07-02 Thread Nathan Fontenot
Oops, some silliness in one of the comments. New patch below. This patch splits off several pieces of code that parse the ibm,dynamic-reconfiguration-memory node of the device tree into separate helper routines. This is in preparation for the followon patch that will use these helper routines.

linux-next: manual merge of the powerpc tree

2008-07-02 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the powerpc tree got a conflict in arch/powerpc/sysdev/fsl_soc.c between commit 4eac6a8b17ce5ebe66eb94b6a0b43aa3a2bf7ea6 (i2c-mpc: Convert to an of_platform driver) from the i2c tree and commits 22fb7d9be593181e2f779cf7a8421703a6be713b ([POWERPC] fsl: Add

Re: linux-next: manual merge of the powerpc tree

2008-07-02 Thread Grant Likely
On Thu, Jul 03, 2008 at 01:39:05PM +1000, Stephen Rothwell wrote: Hi Paul, Today's linux-next merge of the powerpc tree got a conflict in arch/powerpc/sysdev/fsl_soc.c between commit 4eac6a8b17ce5ebe66eb94b6a0b43aa3a2bf7ea6 (i2c-mpc: Convert to an of_platform driver) from the i2c tree and