Re: [PATCH] ps3: vuart: semaphore to mutex

2008-01-11 Thread Geert Uytterhoeven
On Thu, 10 Jan 2008, Daniel Walker wrote: This probe_mutex conforms to the new struct mutex type. This patch converts it from the old semaphore to the new struct mutex. The PS3 tree already has this change. With kind regards, Geert Uytterhoeven Software Architect Sony Network and Software

PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Kumar Gala
Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller and an e1000 NIC card. It appears that pci_bus_assign_resources() is trying to call

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jean Delvare
Hi Jon, On Wed, 19 Dec 2007 23:41:36 -0500, Jon Smirl wrote: Since copying i2c-mpc.c to maintain support for the ppc architecture seems to be an issue; instead rework i2c-mpc.c to use CONFIG_PPC_MERGE #ifdefs to support both the ppc and powerpc architecture. When ppc is deleted in six

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Kumar Gala
On Jan 11, 2008, at 2:41 AM, Jiri Slaby wrote: On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host

Re: [PATCH] ps3: vuart: semaphore to mutex

2008-01-11 Thread Daniel Walker
On Fri, 2008-01-11 at 09:20 +0100, Geert Uytterhoeven wrote: On Thu, 10 Jan 2008, Daniel Walker wrote: This probe_mutex conforms to the new struct mutex type. This patch converts it from the old semaphore to the new struct mutex. The PS3 tree already has this change. With kind regards,

[PATCH, ppc64] improve dedotify()

2008-01-11 Thread Jan Beulich
This completely untested patch is intended to be a suggestion only: Code inspection for an entirely different purpose made me stumble across this, and I think that modifying the string table of an ELF object is a bad idea, since there's nothing disallowing a linker to merge strings inside the

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Stephen Rothwell
Hi Sean, On Fri, 11 Jan 2008 02:10:45 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: Stephen Rothwell wrote: On Wed, 09 Jan 2008 15:19:13 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: No comments? I really thought I would get raked over the coals for this one. Ah ha! A challenge!

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Jiri Slaby
On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller and an e1000 NIC card. It appears that

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Jiri Slaby
On 01/11/2008 10:07 AM, Kumar Gala wrote: On Jan 11, 2008, at 2:41 AM, Jiri Slaby wrote: On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for

[PATCH 0/2] ps3fb fixes for 2.6.24

2008-01-11 Thread Geert Uytterhoeven
Hi Linus, Andrew, Here are 2 more fixes for ps3fb: [1] ps3fb: prevent use after free of fb_info [2] ps3fb: fix deadlock on kexec() The first one fixes a potential use after free. The second one fixes a lockup when using kexec or shutdown while /dev/fb0 is open (e.g. when using the

Re: Please pull linux-2.6-virtex.git

2008-01-11 Thread Josh Boyer
On Wed, 9 Jan 2008 08:03:31 -0700 Grant Likely [EMAIL PROTECTED] wrote: Gah; teach me to pick up patches right before bed. I shouldn't have picked up the ulite console changes patch just yet. I've dropped it from the series until I have a chance to rework it. Sorry. Here's the new pull

Re: libfdt: Add fdt_set_name() function

2008-01-11 Thread Jon Loeliger
So, like, the other day Josh Boyer mumbled: On Fri, 11 Jan 2008 07:44:33 -0600 Jon Loeliger [EMAIL PROTECTED] wrote: So, like, the other day David Gibson mumbled: This patch adds an fdt_set_name() function to libfdt, mirroring fdt_get_name(). This is a r/w function which alters the

Re: libfdt: Add fdt_set_name() function

2008-01-11 Thread Josh Boyer
On Fri, 11 Jan 2008 07:44:33 -0600 Jon Loeliger [EMAIL PROTECTED] wrote: So, like, the other day David Gibson mumbled: This patch adds an fdt_set_name() function to libfdt, mirroring fdt_get_name(). This is a r/w function which alters the name of a given device tree node.

Re: [PATCH for 2.6.24][NET] fs_enet: check for phydev existence in the ethtool handlers

2008-01-11 Thread Sergej Stepanov
Am Donnerstag, den 10.01.2008, 19:41 +0100 schrieb Heiko Schocher: Hello Scott, Scott Wood wrote: Heiko Schocher wrote: diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c index f2a4d39..f432a18 100644 --- a/drivers/net/fs_enet/fs_enet-main.c +++

Re: [alsa-devel] [PATCH v2] [ALSA] Add ASoC drivers for the Freescale MPC8610 SoC

2008-01-11 Thread Timur Tabi
Olof Johansson wrote: Having been in a similar situation myself (needing to share resources between DMA, ethernet and function offload), I recommend creating a separate small library that all those drivers use, instead of making some sort of dependency between drivers in completely different

[PATCH 1/2] ps3fb: prevent use after free of fb_info

2008-01-11 Thread Geert Uytterhoeven
From: Jeremy Kerr [EMAIL PROTECTED] In ps3fb_shutdown, freeing the framebuffer will cause fb_info (in dev-core.driver_data) to be free()ed, which we potentially access from the ps3fbd kthread. This change frees the framebuffer after stopping the ps3fbd kthread. Signed-off-by: Jeremy Kerr [EMAIL

[PATCH 2/2] ps3fb: fix deadlock on kexec()

2008-01-11 Thread Geert Uytterhoeven
From: Jeremy Kerr [EMAIL PROTECTED] Since the introduction of the acquire_console_sem calls in 0333d83509c7d8496c8965b5ba9bc0c98e83c259, kexecing can cause the kernel to deadlock: ps3fb_shutdown() - unregister_framebuffer() - fb_notifier_call_chain(FB_EVENT_FB_UNBIND) - fbcon_fb_unbind()

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jon Smirl
On 1/11/08, Jean Delvare [EMAIL PROTECTED] wrote: Hi Jon, On Wed, 19 Dec 2007 23:41:36 -0500, Jon Smirl wrote: Since copying i2c-mpc.c to maintain support for the ppc architecture seems to be an issue; instead rework i2c-mpc.c to use CONFIG_PPC_MERGE #ifdefs to support both the ppc and

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Kumar Gala
On Jan 11, 2008, at 3:13 AM, Jiri Slaby wrote: On 01/11/2008 10:07 AM, Kumar Gala wrote: On Jan 11, 2008, at 2:41 AM, Jiri Slaby wrote: On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate

Re: [PATCH 1/8] pseries: phyp dump: Docmentation

2008-01-11 Thread Linas Vepstas
On 10/01/2008, Nathan Lynch [EMAIL PROTECTED] wrote: Mike Strosaker wrote: At the risk of repeating what others have already said, the PHYP-assistance method provides some advantages that the kexec method cannot: - Availability of the system for production use before the dump data is

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Jiri Slaby
Kumar Gala napsal(a): I saw that patch, but if you notice that its just x86 specific and I'm having the issue on a powerpc 32-bit system. My bad, sorry. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

RE: Help with device tree binding for SMC serial

2008-01-11 Thread Rune Torgersen
From: Rune Torgersen Finally got it (sort-of) working. Turned out that for some reason the console init is setting the baudrate to 9600 the options string passed in to the console init fuunction is NULL. Any idea oon how this should be passed in from u-boot? Ok, needed a valid console=

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Josh Boyer
On Fri, 11 Jan 2008 02:10:45 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: Signed-off-by: Sean MacLennan [EMAIL PROTECTED] --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 66a3d8c..b3e4c35 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -469,7 +469,7 @@

Re: [PATCH 2/5] Warp Base Platform - dts

2008-01-11 Thread Josh Boyer
On Fri, 11 Jan 2008 01:15:48 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: David Gibson wrote: Or possibly what you actually want is: [EMAIL PROTECTED],0 { reg = 2 0 2200; ... }; That is what I want. I was missing a call to

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Yuri Tikhonov
Hello, Eugene, The h/w snooping mechanism you are talking about is limited to the Low Latency (LL) segment of the PLB bus in ppc440sp and ppc440spe chips (see section 7.2.7 L2 Cache Coherency of the ppc440spe spec), whereas DMA and XOR engines use the High Bandwidth (HB) segment of PLB bus

RFC: Only deal with apple fix if res is memory

2008-01-11 Thread Kumar Gala
Ben, Will this impact the apple fix? I'm getting some _IO cases hitting this. - k diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index d394d41..42a9dab 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -807,6 +807,7 @@

Re: libfdt: Add fdt_set_name() function

2008-01-11 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: This patch adds an fdt_set_name() function to libfdt, mirroring fdt_get_name(). This is a r/w function which alters the name of a given device tree node. Signed-off-by: David Gibson [EMAIL PROTECTED] Applied. jdl

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Greg KH
On Fri, Jan 11, 2008 at 02:29:28AM -0600, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller and an e1000 NIC card. It

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Eugene Surovegin
On Fri, Jan 11, 2008 at 06:24:46PM +0300, Yuri Tikhonov wrote: Hello, Eugene, The h/w snooping mechanism you are talking about is limited to the Low Latency (LL) segment of the PLB bus in ppc440sp and ppc440spe chips (see section 7.2.7 L2 Cache Coherency of the ppc440spe spec), whereas

Re: [DTC PATCH] Remove const from dtc_file::dir.

2008-01-11 Thread Jon Loeliger
So, like, the other day Scott Wood mumbled: Signed-off-by: Scott Wood [EMAIL PROTECTED] --- srcpos.c |4 ++-- srcpos.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Oh yeah. jdl ___ Linuxppc-dev mailing list

Re: Help with device tree binding for SMC serial

2008-01-11 Thread Scott Wood
Rune Torgersen wrote: Ok, needed a valid console= line on the command line. WHen we tried that, we had a typo, so it was not recognized. Our old 2.6.18 arch/ppc kernel didn't need a console parameter, it got the baudrate from u-boot somehow. Anyway of doing that here too? You could add

Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-11 Thread Jean Delvare
Hi Jon, On Wed, 19 Dec 2007 23:41:38 -0500, Jon Smirl wrote: This patch allows new style i2c chip drivers to have alias names using the official kernel aliasing system and MODULE_DEVICE_TABLE(). I've tested it on PowerPC and x86. This change is required for PowerPC device tree support. Your

Re: Help with device tree binding for SMC serial

2008-01-11 Thread Scott Wood
Rune Torgersen wrote: From: Scott Wood You could add something to the cuboot code to fill in current-speed based on the value in the bd_t. Ahh.. That was what I'm missing. Where in the devicetree is that supposed to be at? In the serial node. -Scott

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jean Delvare
On Fri, 11 Jan 2008 10:52:56 -0500, Jon Smirl wrote: On 1/11/08, Jean Delvare wrote: Now that I have read all the previous versions of this patch series and, more importantly, all objections that were raised on the way, I can start reviewing the latest iteration of your patches. I'll also

[DTC PATCH] Remove const from dtc_file::dir.

2008-01-11 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- srcpos.c |4 ++-- srcpos.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpos.c b/srcpos.c index 7d0f0a7..c8eaa1e 100644 --- a/srcpos.c +++ b/srcpos.c @@ -104,7 +104,7 @@ struct dtc_file *dtc_open_file(const char

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jon Smirl
On 1/11/08, Jean Delvare [EMAIL PROTECTED] wrote: Secondly, it promotes OF device names as acceptable aliases. This I don't think I agree with. While I see some value in moving the OF name - Linux name translation to the drivers themselves (even though I don't see this as a mandatory move

[PATCH] fsl_soc: Fix get_immrbase() to use ranges, rather than reg.

2008-01-11 Thread Scott Wood
The reg property in fsl soc nodes should be removed. Signed-off-by: Scott Wood [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_soc.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Kumar Gala
On Jan 11, 2008, at 11:50 AM, Greg KH wrote: On Fri, Jan 11, 2008 at 02:29:28AM -0600, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Sean MacLennan
Stephen Rothwell wrote: I don't where that function is actually defined - I assume it is in one of the other recent patch sets. /me searches ... /me reads ad7414 driver email ... /me notes spaces missing there as well :-) I didn't write the ad7414 driver and wanted to change the

[PATCH 2/3] mpc82xx: Embedded Planet EP8248E support

2008-01-11 Thread Scott Wood
This board is also resold by Freescale under the names QUICCStart MPC8248 Evaluation System and CWH-PPC-8248N-VE. Signed-off-by: Scott Wood [EMAIL PROTECTED] --- arch/powerpc/boot/Makefile |3 +- arch/powerpc/boot/dts/ep8248e.dts | 205 arch/powerpc/boot/ep8248e.c

Re: [PATCH 3/5] Warp Base Platform

2008-01-11 Thread Josh Boyer
On Fri, 11 Jan 2008 01:17:51 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: Update based on fixes to warp.dts. Signed-off-by: Sean MacLennan [EMAIL PROTECTED] Looks good. josh ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

[PATCH 1/3] nand base: Don't panic if a controller driver does ecc its own way.

2008-01-11 Thread Scott Wood
Some hardware, such as the enhanced local bus controller used on some mpc83xx chips, does ecc transparently when reading and writing data, rather than providing a generic calculate/correct mechanism that can be exported to the nand subsystem. The subsystem should not BUG() when calculate,

Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers

2008-01-11 Thread Eugene Surovegin
On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote: On Saturday 05 January 2008, Benjamin Herrenschmidt wrote: On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote: Performance tests done by AMCC have shown that 256 buffer increase the performance of the Linux EMAC driver. So

RE: Help with device tree binding for SMC serial

2008-01-11 Thread Rune Torgersen
From: Scott Wood You could add something to the cuboot code to fill in current-speed based on the value in the bd_t. Ahh.. That was what I'm missing. Where in the devicetree is that supposed to be at? ___ Linuxppc-dev mailing list

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Greg KH
On Fri, Jan 11, 2008 at 10:13:23AM +0100, Jiri Slaby wrote: On 01/11/2008 10:07 AM, Kumar Gala wrote: On Jan 11, 2008, at 2:41 AM, Jiri Slaby wrote: On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to

[PATCH 3/3] Update .gitignore for dtc.

2008-01-11 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- arch/powerpc/boot/.gitignore |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore index a424be6..c89cf13 100644 --- a/arch/powerpc/boot/.gitignore +++

Device Tree PCI

2008-01-11 Thread Rune Torgersen
Hi. We're trying to port 2.6.24-rc7 to a board. Right now wr're battling with the device tree and PCI. Our board is somewhat loosely based on a 8266ADS/pq2fads board We have a PCI interrupt mux in a fpga. We have a disk controller and a pci bridge on the primary side, and four TI dsp's on the

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jochen Friedrich
Hi Jon, The following series implements standard linux module aliasing for i2c modules on arch=powerpc. It then converts the mpc i2c driver from being a platform driver to an open firmware one. I2C device names are picked up from the device tree. Module aliasing is used to translate from

Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers

2008-01-11 Thread Benjamin Herrenschmidt
On Fri, 2008-01-11 at 09:48 -0800, Eugene Surovegin wrote: On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote: On Saturday 05 January 2008, Benjamin Herrenschmidt wrote: On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese wrote: Performance tests done by AMCC have shown that 256

[PATCH 2/3] mtd: Factor out OF partition support from the NOR driver.

2008-01-11 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED] --- drivers/mtd/Kconfig|8 drivers/mtd/Makefile |1 + drivers/mtd/maps/physmap_of.c | 89 drivers/mtd/ofpart.c | 70 +++

[PATCH 3/3] Freescale enhanced Local Bus Controller FCM NAND support.

2008-01-11 Thread Scott Wood
Signed-off-by: Nick Spence [EMAIL PROTECTED] Signed-off-by: Scott Wood [EMAIL PROTECTED] --- drivers/mtd/nand/Kconfig |9 + drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/fsl_elbc_nand.c | 1243 ++ 3 files changed, 1253 insertions(+), 0

Re: [PATCH 2/5] Warp Base Platform - dts

2008-01-11 Thread Sean MacLennan
Josh Boyer wrote: On Fri, 11 Jan 2008 01:15:48 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: This looks pretty darn good, minus the missing GPIO node (see comment in patch 1). Thanks. I have added the gpio and tested it. Cheers, Sean Signed-off-by: Sean MacLennan [EMAIL PROTECTED] ---

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Benjamin Herrenschmidt
The s/w synchronization algorithms proposed in my patches has no LL PLB limitations as opposed to h/w snooping, but, probably, this is not the best way of how it might be implemented. Even though with these patches the h/w accelerated RAID starts to operate correctly (with L2-cache

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Eugene Surovegin
On Sat, Jan 12, 2008 at 09:05:35AM +1100, Benjamin Herrenschmidt wrote: The s/w synchronization algorithms proposed in my patches has no LL PLB limitations as opposed to h/w snooping, but, probably, this is not the best way of how it might be implemented. Even though with these

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Sean MacLennan
Josh Boyer wrote: +if (gpio_base == NULL) { +printk(ERROR: Unable to remap GPIO base.\n); +return; +} +} + +leds = readl(gpio_base + 0x100); Do you really want readl here? That will byte-swap. According to

Re: RFC: Only deal with apple fix if res is memory

2008-01-11 Thread Benjamin Herrenschmidt
On Fri, 2008-01-11 at 10:38 -0600, Kumar Gala wrote: Ben, Will this impact the apple fix? I'm getting some _IO cases hitting this. No, your fix is right, it's a bug to compare against pci_mem_offset and not check if it's a memory resource in the first place. I would suggest that you do the

StorCenter Help?

2008-01-11 Thread Jon Loeliger
Folks, Anyone out there with an 8241 board such as the IoMega StorCenter who would be willing to help me debug my arch/powerpc cuImage problems? I feel like I am missing something very basic in my port... like, Did you map this memory right? or Did you set _this_ magic bit? I have posted the 3

Re: StorCenter Help?

2008-01-11 Thread Grant Likely
On 1/11/08, Jon Loeliger [EMAIL PROTECTED] wrote: Folks, Anyone out there with an 8241 board such as the IoMega StorCenter who would be willing to help me debug my arch/powerpc cuImage problems? I feel like I am missing something very basic in my port... like, Did you map this memory

Quick Engine Support on Kernel 2.4

2008-01-11 Thread mike zheng
Hi All, Is there any BSP on Linux Kernel 2.4 support Quick Engine of MPC8568? If not, which BSP shall I start the porting? The BSP(on Kernel2.6) of MPC8568MDS from Freescale supports CPM2, but not QE. What the difference between CPM2 and QE? Thanks,

Re: StorCenter Help?

2008-01-11 Thread Grant Likely
On 1/11/08, Jon Loeliger [EMAIL PROTECTED] wrote: So, like, the other day Grant Likely mumbled: Since you're getting absolutely no output after uncompression it probably means that you're failing in the boot wrapper... Or not getting to the boot wrapper... Hmm, yet it boots a regular

Please pull powerpc.git merge branch

2008-01-11 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get two more bug fixes for powerpc, as listed below. Thanks, Paul. arch/powerpc/kernel/prom_init.c | 39 ++ arch/powerpc/mm/slb.c

Re: [PATCH 0/2] [PPC 4xx] L2-cache synchronization for ppc44x

2008-01-11 Thread Benjamin Herrenschmidt
On Fri, 2008-01-11 at 14:38 -0800, Eugene Surovegin wrote: On Sat, Jan 12, 2008 at 09:05:35AM +1100, Benjamin Herrenschmidt wrote: The s/w synchronization algorithms proposed in my patches has no LL PLB limitations as opposed to h/w snooping, but, probably, this is not the

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Stephen Rothwell
Hi Sean, On Fri, 11 Jan 2008 18:39:15 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: +++ arch/powerpc/platforms/44x/warp-nand.c2008-01-11 18:04:10.0 -0500 @@ -0,0 +1,85 @@ You need a copyright/license notice. The only other concern I have left is the extern in the C file, but

[PATCH 19 2/5] Modify several rtc drivers to use the alias names list property of i2c

2008-01-11 Thread Jon Smirl
This patch modifies the ds1307, ds1374, and rs5c372 i2c drivers to support device tree names using the new i2c mod alias support Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_soc.c | 44 - drivers/rtc/rtc-ds1307.c | 18

[PATCH 19 3/5] Clean up error returns

2008-01-11 Thread Jon Smirl
Return errors that were being ignored in the mpc-i2c driver Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- drivers/i2c/busses/i2c-mpc.c | 30 +- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c

[PATCH 19 4/5] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2008-01-11 Thread Jon Smirl
Convert MPC i2c driver from being a platform_driver to an open firmware version. Error returns were improved. Routine names were changed from fsl_ to mpc_ to make them match the file name. Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_soc.c | 96

[PATCH 19 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-11 Thread Jon Smirl
This patch allows new style i2c chip drivers to have alias names using the official kernel aliasing system and MODULE_DEVICE_TABLE(). I've tested it on PowerPC and x86. This change is required for PowerPC device tree support. Signed-off-by: Jon Smirl [EMAIL PROTECTED] ---

[PATCH 19 0/5] Version 18, series to add device tree naming to i2c

2008-01-11 Thread Jon Smirl
Updated to reflect comments in: http://lkml.org/lkml/2008/1/11/272 Since copying i2c-mpc.c to maintain support for the ppc architecture seems to be an issue; instead rework i2c-mpc.c to use CONFIG_PPC_MERGE #ifdefs to support both the ppc and powerpc architecture. When ppc is deleted in six

[PATCH 19 5/5] Convert pfc8563 i2c driver from old style to new style

2008-01-11 Thread Jon Smirl
Convert pfc8563 i2c driver from old style to new style. The driver is also modified to support device tree names via the i2c mod alias mechanism. Signed-off-by: Jon Smirl [EMAIL PROTECTED] --- drivers/rtc/rtc-pcf8563.c | 107 +++-- 1 files changed, 27

Re: Device Tree PCI

2008-01-11 Thread Scott Wood
On Fri, Jan 11, 2008 at 12:17:41PM -0600, Rune Torgersen wrote: PCI_INT: [EMAIL PROTECTED],10 { #interrupt-cells = 1; interrupt-controller; reg = 5 10 4; // Chip select, offset, length

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Olof Johansson
On Sat, Jan 12, 2008 at 01:40:05PM +1100, Stephen Rothwell wrote: Hi Sean, On Fri, 11 Jan 2008 18:39:15 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: +++ arch/powerpc/platforms/44x/warp-nand.c 2008-01-11 18:04:10.0 -0500 @@ -0,0 +1,85 @@ You need a copyright/license

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Sean MacLennan
Stephen Rothwell wrote: Hi Sean, On Fri, 11 Jan 2008 18:39:15 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: +++ arch/powerpc/platforms/44x/warp-nand.c 2008-01-11 18:04:10.0 -0500 @@ -0,0 +1,85 @@ You need a copyright/license notice. The only other concern I have left

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Sean MacLennan
Olof Johansson wrote: On Sat, Jan 12, 2008 at 01:40:05PM +1100, Stephen Rothwell wrote: Hi Sean, On Fri, 11 Jan 2008 18:39:15 -0500 Sean MacLennan [EMAIL PROTECTED] wrote: +++ arch/powerpc/platforms/44x/warp-nand.c 2008-01-11 18:04:10.0 -0500 @@ -0,0 +1,85 @@

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Sean MacLennan
Signed-off-by: Sean MacLennan [EMAIL PROTECTED] --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 66a3d8c..b3e4c35 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -469,7 +469,7 @@ config MCA config PCI bool PCI support if 40x || CPM2 || PPC_83xx ||

Re: [i2c] [PATCH 19 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-11 Thread Jon Smirl
Comment was wrong, I2C_OF_MODULE_PREFIX was needed. Add it back. Implement module aliasing for i2c to translate from device tree names This patch allows new style i2c chip drivers to have alias names using the official kernel aliasing system and MODULE_DEVICE_TABLE(). I've tested it on PowerPC

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Olof Johansson
On Fri, Jan 11, 2008 at 09:55:54PM -0500, Sean MacLennan wrote: I guess this implies I don't need the GPL blurb. I noticed that the blurb I have used mentions GPL2 or later and I know Linus doesn't like GPL3. You don't need it but people tend to include it by habit. The two versions are

Re: [i2c] [PATCH 19 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-11 Thread Stephen Rothwell
Hi Jon, On Fri, 11 Jan 2008 22:00:42 -0500 Jon Smirl [EMAIL PROTECTED] wrote: +++ b/drivers/hwmon/f75375s.c @@ -117,7 +117,7 @@ struct f75375_data { static int f75375_attach_adapter(struct i2c_adapter *adapter); static int f75375_detect(struct i2c_adapter *adapter, int address, int kind);

Re: [PATCH 19 4/5] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2008-01-11 Thread Stephen Rothwell
Hi Jon, On Fri, 11 Jan 2008 21:47:46 -0500 Jon Smirl [EMAIL PROTECTED] wrote: +++ b/drivers/i2c/busses/i2c-mpc.c +static void of_register_i2c_devices(struct i2c_adapter *adap, struct device_node *adap_node) +{ + struct device_node *node = NULL; + + while ((node =

RE: Device Tree PCI

2008-01-11 Thread Rune Torgersen
From: Scott Wood Sent: Fri 1/11/2008 1:02 PM To: Rune Torgersen Cc: linuxppc-dev@ozlabs.org Subject: Re: Device Tree PCI On Fri, Jan 11, 2008 at 12:17:41PM -0600, Rune Torgersen wrote: PCI_INT: [EMAIL PROTECTED],10 { #interrupt-cells = 1;

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Stefan Roese
On Saturday 12 January 2008, Sean MacLennan wrote: Josh Boyer wrote: + if (gpio_base == NULL) { + printk(ERROR: Unable to remap GPIO base.\n); + return; + } + } + + leds = readl(gpio_base + 0x100); Do you really want readl

Re: [PATCH 1/5] Warp Base Platform

2008-01-11 Thread Sean MacLennan
Stefan Roese wrote: On Saturday 12 January 2008, Sean MacLennan wrote: Josh Boyer wrote: + if (gpio_base == NULL) { + printk(ERROR: Unable to remap GPIO base.\n); + return; + } + } + + leds = readl(gpio_base + 0x100);

Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers

2008-01-11 Thread Stefan Roese
On Friday 11 January 2008, Benjamin Herrenschmidt wrote: On Fri, 2008-01-11 at 09:48 -0800, Eugene Surovegin wrote: On Sat, Jan 05, 2008 at 01:38:17PM +0100, Stefan Roese wrote: On Saturday 05 January 2008, Benjamin Herrenschmidt wrote: On Sat, 2008-01-05 at 10:50 +0100, Stefan Roese

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Grant Grundler
On Fri, Jan 11, 2008 at 02:27:16PM -0600, Kumar Gala wrote: I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller and an e1000 NIC card. ... I'm happy

Re: [PATCH] ibm_newemac: Increase number of default rx-/tx-buffers

2008-01-11 Thread Benjamin Herrenschmidt
On Sat, 2008-01-12 at 08:26 +0100, Stefan Roese wrote: We shouldn't make it too complicated. We can always select different settings in the defconfig file. My thinking here is to better wast a little memory with a potential performance improvement. Just me 0.02$ If it gets really