Re: [PATCH 6/6] ibm_newemac: Cleanup/fix support for STACR register variants

2007-11-08 Thread Stefan Roese
On Thursday 08 November 2007, Benjamin Herrenschmidt wrote: There are a few variants of the STACR register that affect more than just the AXON version of EMAC. Replace the current test of various chip models with tests for generic properties in the device-tree. Signed-off-by: Benjamin

Re: [PATCH 3/6] ibm_newemac: Fix ZMII refcounting bug

2007-11-08 Thread Stefan Roese
On Thursday 08 November 2007, Benjamin Herrenschmidt wrote: When using ZMII for MDIO only (such as 440GX with RGMII for data and ZMII for MDIO), the ZMII code would fail to properly refcount, thus triggering a BUG_ON(). Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] Acked-by: Stefan

Re: [PATCH 2/6] ibm_newemac: Add ET1011c PHY support

2007-11-08 Thread Benjamin Herrenschmidt
+static struct mii_phy_def et1011c_phy_def = { +.phy_id = 0x0282f000, +.phy_id_mask= 0x0f00, +.name = ET1011C Gigabit Ethernet, +.ops= et1011c_phy_ops +}; + + + + + Nitpicking: Too many empty lines for

[PATCH 5/6] ibm_newemac: Cleanup/Fix RGMII MDIO support detection

2007-11-08 Thread Benjamin Herrenschmidt
More than just AXON version of EMAC RGMII supports MDIO, so replace the current test with a generic property in the device-tree that indicates such support. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- Should we set that in Sequoia DTS ? drivers/net/ibm_newemac/rgmii.c | 20

[PATCH 4/6] ibm_newemac: Workaround reset timeout when no link

2007-11-08 Thread Benjamin Herrenschmidt
With some PHYs, when the link goes away, the EMAC reset fails due to the loss of the RX clock I believe. The old EMAC driver worked around that using some internal chip-specific clock force bits that are different on various 44x implementations. This is an attempt at doing it differently, by

[PATCH 1/6] ibm_newemac: Add BCM5248 and Marvell 88E1111 PHY support

2007-11-08 Thread Benjamin Herrenschmidt
From: Stefan Roese [EMAIL PROTECTED] This patch adds BCM5248 and Marvell 88E PHY support to NEW EMAC driver. These PHY chips are used on PowerPC 440EPx boards. The PHY code is based on the previous work by Stefan Roese [EMAIL PROTECTED] Signed-off-by: Stefan Roese [EMAIL PROTECTED]

[PATCH 0/6] ibm_newemac: Pending patches for review

2007-11-08 Thread Benjamin Herrenschmidt
Here are the patches I have pending for EMAC. With those and some not yet released patches from Hugh Blemings to port Taishan support to arch/powerpc, I get the board booting. There's a question about the RGMII/MDIO thingy sequoia, somebody who knows that board should reply.

Please pull powerpc.git merge branch

2007-11-08 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get a bunch of bug-fixes, documentation updates and defconfig updates for powerpc. Thanks, Paul. Documentation/powerpc/booting-without-of.txt | 275 +++

Re: [PATCH 2/6] ibm_newemac: Add ET1011c PHY support

2007-11-08 Thread Josh Boyer
On Thu, 08 Nov 2007 19:42:24 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: +static struct mii_phy_def et1011c_phy_def = { +.phy_id = 0x0282f000, +.phy_id_mask= 0x0f00, +.name = ET1011C Gigabit Ethernet, +.ops

Re: [PATCH 2/6] ibm_newemac: Add ET1011c PHY support

2007-11-08 Thread Stefan Roese
On Thursday 08 November 2007, Benjamin Herrenschmidt wrote: This adds support for the ET1011c PHY as found on the taishan board. The code comes from the kernel distributed with the board by AMCC and developped by DENX. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- And don't

[PATCH 2/6] ibm_newemac: Add ET1011c PHY support

2007-11-08 Thread Benjamin Herrenschmidt
This adds support for the ET1011c PHY as found on the taishan board. The code comes from the kernel distributed with the board by AMCC and developped by DENX. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- And don't ask me about using phylib, it's in plan :-)

[PATCH 3/6] ibm_newemac: Fix ZMII refcounting bug

2007-11-08 Thread Benjamin Herrenschmidt
When using ZMII for MDIO only (such as 440GX with RGMII for data and ZMII for MDIO), the ZMII code would fail to properly refcount, thus triggering a BUG_ON(). Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- drivers/net/ibm_newemac/zmii.c |4 +++- 1 file changed, 3

[PATCH 6/6] ibm_newemac: Cleanup/fix support for STACR register variants

2007-11-08 Thread Benjamin Herrenschmidt
There are a few variants of the STACR register that affect more than just the AXON version of EMAC. Replace the current test of various chip models with tests for generic properties in the device-tree. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- arch/powerpc/boot/dts/sequoia.dts

Re: [PATCH 4/6] ibm_newemac: Workaround reset timeout when no link

2007-11-08 Thread Stefan Roese
On Thursday 08 November 2007, Benjamin Herrenschmidt wrote: With some PHYs, when the link goes away, the EMAC reset fails due to the loss of the RX clock I believe. The old EMAC driver worked around that using some internal chip-specific clock force bits that are different on various 44x

Re: [PATCH 5/6] ibm_newemac: Cleanup/Fix RGMII MDIO support detection

2007-11-08 Thread Stefan Roese
On Thursday 08 November 2007, Benjamin Herrenschmidt wrote: More than just AXON version of EMAC RGMII supports MDIO, so replace the current test with a generic property in the device-tree that indicates such support. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] Acked-by: Stefan

Re: [PATCH (2.6.25) 2/2] suspend: clean up Kconfig

2007-11-08 Thread Ralf Baechle
On Wed, Nov 07, 2007 at 02:58:00PM +0100, Johannes Berg wrote: This cleans up the suspend Kconfig and removes the need to declare centrally which architectures support suspend. All architectures that currently support suspend are modified accordingly. Acked-by: Ralf Baechle [EMAIL PROTECTED]

Re: [RFC] Modifying i2c-core to support alias driver names compatible with device trees

2007-11-08 Thread Andreas Schwab
Stephen Rothwell [EMAIL PROTECTED] writes: On Tue, 6 Nov 2007 15:39:42 -0500 Jon Smirl [EMAIL PROTECTED] wrote: It was requested to split this code out into a separate thread This code modifies the i2c-core to support lists of alias names in the chip drivers. For example: .aliases

Re: [PATCH] Register AC97 Controller Reference with the platform bus

2007-11-08 Thread Josh Boyer
On Wed, 07 Nov 2007 09:14:15 -0700 Grant Likely [EMAIL PROTECTED] wrote: From: Joachim Foerster [EMAIL PROTECTED] Add AC97 platform bus registration for Xilinx Virtex platforms. Signed-off-by: Joachim Foerster [EMAIL PROTECTED] Signed-off-by: Grant Likely [EMAIL PROTECTED] --- Josh,

Re: [PATCH] another ioremap/iounmap issue in sycamore_setup_arch(); arch/ppc/platforms/4xx/sycamore.c

2007-11-08 Thread Josh Boyer
On Wed, 07 Nov 2007 23:14:26 +0100 Roel Kluin [EMAIL PROTECTED] wrote: not yet tested -- iounmap kb_data on error Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/arch/ppc/platforms/4xx/sycamore.c b/arch/ppc/platforms/4xx/sycamore.c index 8689f3e..c4ac63d 100644 ---

Re: [PATCH] powerpc: fix powersave-nap sysctl registration

2007-11-08 Thread Johannes Berg
On Wed, 2007-11-07 at 20:11 +0100, Johannes Berg wrote: The sysctl check code complains about a writable directory, fix it. Sorry, I missed that patch that fixed it already, please ignore. johannes signature.asc Description: This is a digitally signed message part

[RFC] powermac: proper sleep management

2007-11-08 Thread Johannes Berg
This adds platform_suspend_ops for PMU based machines, directly in the PMU driver. This finally allows suspending via /sys/power/state on powerbooks. The patch also replaces the PMU ioctl with a simple call to pm_suspend(PM_SUSPEND_MEM) and puts the sleep-related PMU ioctls onto the

[RFC] PMU: replace information ioctls and schedule for removal

2007-11-08 Thread Johannes Berg
This patch adds sysfs attributes to the PMU to allow getting the information on the PMU type and whether adb is present from there instead of via the ioctl. The ioctl is made optional and scheduled for removal. Signed-off-by: Johannes Berg [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL

[RFC] PMU: don't lock_kernel()

2007-11-08 Thread Johannes Berg
I see nothing that this lock_kernel() actually protects against so remove it. Signed-off-by: Johannes Berg [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] --- drivers/macintosh/via-pmu.c |3 --- 1 file changed, 3 deletions(-) --- everything.orig/drivers/macintosh/via-pmu.c

[RFC] PMU: remove dead code

2007-11-08 Thread Johannes Berg
Some code in via-pmu.c is never compiled because of compile options within the file. Remove the code completely. Signed-off-by: Johannes Berg [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] --- drivers/macintosh/via-pmu.c | 42 +- 1 file

Re: [PATCH 4/4] Kill flatdevtree.c

2007-11-08 Thread Jon Loeliger
David Gibson wrote: Now that earlier patches have switched the bootwrapper to using libfdt for device tree manipulation, this patch removes the now unused flatdevtree.c and related files. Signed-off-by: David Gibson [EMAIL PROTECTED] --- arch/powerpc/boot/Makefile |2

Re: [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing)

2007-11-08 Thread Anton Vorontsov
On Mon, Nov 05, 2007 at 12:15:30PM -0600, Kim Phillips wrote: Hello all, the following patches fix RGMII timing for rev. 2.1 of the mpc8360, according to erratum #2 (erratum text included below). Basically the most intrusive part is the addition of two new RGMII Internal Delay modes; one

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-08 Thread Jon Loeliger
David Gibson wrote: Yes, I know, but I don't think it's even worth having the unused internal parameterization. OK. We can eliminate it then; no problem. I ran my old versus new DTC comparison script and found it. :-) Heh, we should fold that into the testsuite, too. I'll start by

Re: [PATCH] ioremap/iounmap issue in yucca_setup_pcie_fpga_rootpoint(); arch/ppc/platforms/4xx/yucca.c

2007-11-08 Thread Josh Boyer
On Wed, 07 Nov 2007 23:22:48 +0100 Roel Kluin [EMAIL PROTECTED] wrote: iounmap pcie_reg_fpga_base in default case Signed-off-by: Roel Kluin [EMAIL PROTECTED] Looks good, thanks. josh --- diff --git a/arch/ppc/platforms/4xx/yucca.c b/arch/ppc/platforms/4xx/yucca.c index a83b0ba..66a44ff

Re: Merge dtc

2007-11-08 Thread Jon Loeliger
David Gibson wrote: Ok. I'll use this version in my next spin; except for adding one dependency you missed, and removing one which should never have been there (unneccessary #include, which I've already fixed in dtc upstream). I think if we embed the DTC in the kernel tree, we should

Re: [PATCH] very similar, now in walnut_setup_arch(); arch/ppc/platforms/4xx/walnut.c

2007-11-08 Thread Josh Boyer
On Wed, 07 Nov 2007 23:17:30 +0100 Roel Kluin [EMAIL PROTECTED] wrote: iounmap kb_data on error Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/arch/ppc/platforms/4xx/walnut.c b/arch/ppc/platforms/4xx/walnut.c index 2f97723..04d3f3f 100644 ---

[PATCH] powerpc: fix powersave-nap sysctl registration

2007-11-08 Thread Johannes Berg
The sysctl check code complains about a writable directory, fix it. Signed-off-by: Johannes Berg [EMAIL PROTECTED] Cc: Eric W. Biederman [EMAIL PROTECTED] --- arch/powerpc/kernel/idle.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- everything.orig/arch/powerpc/kernel/idle.c

Re: [1/2] dtc: Refactor printing of property values in -Odts mode

2007-11-08 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: Currently the main recursive tree printing function, write_tree_source_node(), calls guess_type() to apply heuristics to see how to print a property value, then calls the appropriate write_propval_*() function to print it. However, future

Re: [2/2] dtc: Make -Idts -Odts preserve property-internal labels

2007-11-08 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: This patch changes -Odts mode output so that labels within property values in the input are preserved in the output. Applied on top of the earlier patch to preserve node and property labels in -Odts mode, this means that dtc in -Idts -Odts mode

Re: dtc: Better exercise dtc base and bytestring features

2007-11-08 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: This patch alters the main testcase, and the dts file corresponding to it so that we at least trivially exercise dtc's bytestring and base conversion features. Signed-off-by: David Gibson [EMAIL PROTECTED] Applied. jdl

Re: [PATCH 4/3] Make swsusp_32.S usable for suspend-to-RAM.

2007-11-08 Thread Scott Wood
Johannes Berg wrote: +config PPC32_SUSPEND +config PPC32_SWSUSP -obj32-$(CONFIG_HIBERNATION) += swsusp_32.o +obj32-$(CONFIG_PPC32_SUSPEND) += swsusp_32.o I think that's overkill, couldn't it just use CONFIG_PM_SLEEP here? This file is specific to 32-bit classic PPC chips. It

Re: mpc5200, sysctl table check failed

2007-11-08 Thread Johannes Berg
I posted a patch for this yesterday, it's harmless, just a warning. That's not actually true, if the sysctl check code warns in any way the sysctl file doesn't show up in /proc/sys/ johannes signature.asc Description: This is a digitally signed message part

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread Scott Wood
On Thu, Nov 08, 2007 at 02:36:03PM +1100, David Gibson wrote: This patch incorporates libfdt (from the source embedded in an earlier patch) into the wrapper.a library used by the bootwrapper. This includes adding a libfdt_env.h file, which the libfdt sources need in order to integrate into

Re: dtc: Add testcases exercising -Odts mode

2007-11-08 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: This patch adds a batch of testcases exercising dtc's -Odts mode. Specifically it checks that using dtc to convert dtb-dts-dtb preserves the original dtb for a number of example dtb files. Signed-off-by: David Gibson [EMAIL PROTECTED] Applied.

Re: mpc5200, sysctl table check failed

2007-11-08 Thread Olof Johansson
On Thu, Nov 08, 2007 at 04:09:39PM +0100, Johannes Berg wrote: I posted a patch for this yesterday, it's harmless, just a warning. That's not actually true, if the sysctl check code warns in any way the sysctl file doesn't show up in /proc/sys/ Oh, you're right. Well, it's been fixed

Re: libfdt: Add more documentation (path the fifth)

2007-11-08 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: This patch documents a few more functions in libfdt.h. All the read-only functions are now documented. Signed-off-by: David Gibson [EMAIL PROTECTED] Applied. Thanks, jdl ___ Linuxppc-dev mailing list

Re: [PATCH 1/2] pasemi_mac: Don't set replace-source-address descriptor bits

2007-11-08 Thread Jeff Garzik
On Tue, Nov 06, 2007 at 10:20:39PM -0600, Olof Johansson wrote: Don't use the replace source address with local MAC address bits, since it causes problems on some variations of the hardware due to an erratum. Signed-off-by: Olof Johansson [EMAIL PROTECTED] applied 1-2

Re: inbalanced ioremap/iounmap? in cpm_pic_init(); arch/powerpc/sysdev/commproc.c

2007-11-08 Thread Scott Wood
On Wed, Nov 07, 2007 at 11:01:42PM +0100, Roel Kluin wrote: It appears to me that ioremap/iounmap in cpm_pic_init() is imbalanced. I am not certain about this, nor was the patch tested. please review. You missed several error paths... and if we're going to clean up the error handling for this

[PATCH] balance ioremap/iounmap in {sycamore, walnut}_setup_arch()

2007-11-08 Thread Roel Kluin
I guess it should be done after the last usage of kb_data or fpga_status? -- Balance ioremap/iounmap Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/arch/ppc/platforms/4xx/sycamore.c b/arch/ppc/platforms/4xx/sycamore.c index 8689f3e..4f3bac1 100644 ---

Re: [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing)

2007-11-08 Thread Kim Phillips
On Thu, 8 Nov 2007 17:16:11 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: On Mon, Nov 05, 2007 at 12:15:30PM -0600, Kim Phillips wrote: Hello all, the following patches fix RGMII timing for rev. 2.1 of the mpc8360, according to erratum #2 (erratum text included below). Basically the

Re: [PATCH] balance ioremap/iounmap in {sycamore, walnut}_setup_arch()

2007-11-08 Thread Valentine Barshak
Roel Kluin wrote: I guess it should be done after the last usage of kb_data or fpga_status? I think no iounmap(kb_data) needed. Looks like the pointer kn_cs (kb_cs = kb_data + 1) is used by the serio driver (drivers/input/serio/i8042-ppcio.h). Please note that we just ioremap and assign

Re: [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing)

2007-11-08 Thread Anton Vorontsov
On Thu, Nov 08, 2007 at 12:15:08PM -0600, Kim Phillips wrote: On Thu, 8 Nov 2007 17:16:11 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: On Mon, Nov 05, 2007 at 12:15:30PM -0600, Kim Phillips wrote: Hello all, the following patches fix RGMII timing for rev. 2.1 of the mpc8360,

Re: Kernel locks up after calling kernel_execve()

2007-11-08 Thread Benjamin Herrenschmidt
On Thu, 2007-11-08 at 22:47 +0100, Gerhard Pircher wrote: Hi, I tested my patches for the AmigaOne platform with the lastest 2.6.24-rc2 kernel snapshot. The kernel runs through all initcalls, but locks up completely after calling INIT (/sbin/init) by kernel_execve(). Thus I couldn't

Re: [RFC] powermac: proper sleep management

2007-11-08 Thread Benjamin Herrenschmidt
On Thu, 2007-11-08 at 13:15 -0600, Scott Wood wrote: Johannes Berg wrote: +/* + * overrides the weak arch_suspend_disable_irqs in kernel/power/main.c + * + * XXX: Once Scott Wood's patch is merged, this needs to use the ppc_md + * hooks that patch adds! + */ +void

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 04:50:11PM -0600, Scott Wood wrote: David Gibson wrote: How hard would it be to get libfdt to dynamically allocate any extra space it needs? This is a regression from the current flat device tree code... Uh.. it already does. Or rather, the shims in

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread Jerry Van Baren
Scott Wood wrote: David Gibson wrote: How hard would it be to get libfdt to dynamically allocate any extra space it needs? This is a regression from the current flat device tree code... Uh.. it already does. Or rather, the shims in libfdt-wrapper.c do so, when libfdt functions which can

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 08:13:13AM -0600, Jon Loeliger wrote: David Gibson wrote: Yes, I know, but I don't think it's even worth having the unused internal parameterization. OK. We can eliminate it then; no problem. I ran my old versus new DTC comparison script and found it. :-)

Kernel locks up after calling kernel_execve()

2007-11-08 Thread Gerhard Pircher
Hi, I tested my patches for the AmigaOne platform with the lastest 2.6.24-rc2 kernel snapshot. The kernel runs through all initcalls, but locks up completely after calling INIT (/sbin/init) by kernel_execve(). Thus I couldn't capture any kernel oops or panic output. Also the magic sysrq key

Re: [PATCH] hugetlb: follow_hugetlb_page for write access

2007-11-08 Thread Ken Chen
On Nov 7, 2007 11:51 AM, Adam Litke [EMAIL PROTECTED] wrote: When calling get_user_pages(), a write flag is passed in by the caller to indicate if write access is required on the faulted-in pages. Currently, follow_hugetlb_page() ignores this flag and always faults pages for read-only access.

Re: [RFC] powermac: proper sleep management

2007-11-08 Thread Scott Wood
Johannes Berg wrote: +/* + * overrides the weak arch_suspend_disable_irqs in kernel/power/main.c + * + * XXX: Once Scott Wood's patch is merged, this needs to use the ppc_md + * hooks that patch adds! + */ +void arch_suspend_disable_irqs(void) +{ +#ifdef CONFIG_PMAC_BACKLIGHT + /*

RE: [PATCH] powerpc: mpc8xxx MDS board RTC fixes

2007-11-08 Thread Wang Haiying
Yes, 8568mds dts should be updated. And I tested this ds1374 driver on 8568mds board a couple of months ago, it worked fine. Code to parse device tree should be in fsl_soc.c. Haiying From: [EMAIL PROTECTED] on behalf of Kumar Gala Sent: Thu 11/8/2007 12:57 PM

Re: [PATCH] powerpc: mpc8xxx MDS board RTC fixes

2007-11-08 Thread Kumar Gala
On Nov 8, 2007, at 1:37 PM, Kim Phillips wrote: Now the rtc class ds1374 driver has been added, remove the old rtc driver hookup code, add rtc node to device trees, and turn on the new driver in the defconfigs. Signed-off-by: Kim Phillips [EMAIL PROTECTED] ---

Re: DTS Bytestrings Representation in /dts-v1/ files

2007-11-08 Thread Josh Boyer
On Thu, 08 Nov 2007 13:18:50 -0600 Jon Loeliger [EMAIL PROTECTED] wrote: Folks, When the new DTS /dts-v1/ support is released Real Soon Now, it will support C-like literal constants. Hex values will be prefixed with 0x, binary with 0b, and bare numbers will be decimal unless they start

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 10:08:39AM -0600, Scott Wood wrote: On Thu, Nov 08, 2007 at 02:36:03PM +1100, David Gibson wrote: This patch incorporates libfdt (from the source embedded in an earlier patch) into the wrapper.a library used by the bootwrapper. This includes adding a libfdt_env.h

Re: [PATCH] powerpc: mpc8xxx MDS board RTC fixes

2007-11-08 Thread Kim Phillips
On Thu, 8 Nov 2007 13:57:59 -0600 Kumar Gala [EMAIL PROTECTED] wrote: On Nov 8, 2007, at 1:37 PM, Kim Phillips wrote: Now the rtc class ds1374 driver has been added, remove the old rtc driver hookup code, add rtc node to device trees, and turn on the new driver in the defconfigs.

Re: [PATCH] using mii-bitbang on different processor ports - update the booting-without-of.txt-file

2007-11-08 Thread Scott Wood
Sergej Stepanov wrote: If both mdio and mdc controlling pins are on the same processor port, one resource should be used. Otherwise, two resources are used: the 1-st - mdio, the 2-nd - mdc. How about: The first reg resource is the I/O port register block on which MDIO resides. The second reg

Re: [PATCH 0/5] fixups for mpc8360 rev. 2.1 erratum #2 (RGMII Timing)

2007-11-08 Thread Kim Phillips
On Thu, 8 Nov 2007 21:39:52 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: On Thu, Nov 08, 2007 at 12:15:08PM -0600, Kim Phillips wrote: On Thu, 8 Nov 2007 17:16:11 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: On Mon, Nov 05, 2007 at 12:15:30PM -0600, Kim Phillips wrote: Hello

DTS Bytestrings Representation in /dts-v1/ files

2007-11-08 Thread Jon Loeliger
Folks, When the new DTS /dts-v1/ support is released Real Soon Now, it will support C-like literal constants. Hex values will be prefixed with 0x, binary with 0b, and bare numbers will be decimal unless they start with a leading 0. One outstanding question on which I'd like some feedback is

[PATCH] powerpc: mpc8xxx MDS board RTC fixes

2007-11-08 Thread Kim Phillips
Now the rtc class ds1374 driver has been added, remove the old rtc driver hookup code, add rtc node to device trees, and turn on the new driver in the defconfigs. Signed-off-by: Kim Phillips [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc832x_mds.dts |7

Re: DTS Bytestrings Representation in /dts-v1/ files

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 01:18:50PM -0600, Jon Loeliger wrote: Folks, When the new DTS /dts-v1/ support is released Real Soon Now, it will support C-like literal constants. Hex values will be prefixed with 0x, binary with 0b, and bare numbers will be decimal unless they start with a

[PATCH] Use SLB size from the device tree

2007-11-08 Thread Michael Neuling
Currently we hardwire the number of SLBs but the PAPR says we export an ibm,slb-size property to specify the number of SLB entries. This patch uses this property instead of assuming 64 always. If no property is found, we assume 64 entries as before. This soft patches the SLB handler, so it

[PATCH] [POWERPC] Optimize counting distinct entries in the relocation sections

2007-11-08 Thread Emil Medve
When a module has relocation sections with tens of thousands worth of entries, counting the distinct/unique entries only (i.e. no duplicates) at load time can take tens of seconds and up to minutes. The sore point is the count_relocs() function which is called as part of the architecture specific

[PATCH] Fix buglets in mpc5200 FEC code that are corrupting memory.

2007-11-08 Thread Jon Smirl
This is the reason I couldn't get user space started or connect to my nfs server. Patch is against current linus git. mpc5200 fec driver is corrupting memory. This patch fixes two bugs where the wrong skb buffer was being referenced. Signed-off-by: Jon Smirl [EMAIL PROTECTED] ---

Re: [PATCH 2/6] ibm_newemac: Add ET1011c PHY support

2007-11-08 Thread Stefan Roese
On Thursday 08 November 2007, Benjamin Herrenschmidt wrote: DENX is pretty good about having Signed-off-by lines in their tree... maybe you should add the original authors as well if it's there. I picked it up from an already patched tree. Stefan, can you provide me the proper SOB ? Sure:

[PATCH] ibm_newemac: Add ET1011c PHY support

2007-11-08 Thread Stefan Roese
This adds support for the Agere ET1011c PHY as found on the AMCC Taishan board. Signed-off-by: Stefan Roese [EMAIL PROTECTED] --- drivers/net/ibm_newemac/phy.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/drivers/net/ibm_newemac/phy.c

Re: Kernel locks up after calling kernel_execve()

2007-11-08 Thread Gerhard Pircher
Original-Nachricht Datum: Fri, 09 Nov 2007 10:20:17 +1100 Von: Benjamin Herrenschmidt [EMAIL PROTECTED] An: Gerhard Pircher [EMAIL PROTECTED] CC: linuxppc-dev@ozlabs.org Betreff: Re: Kernel locks up after calling kernel_execve() On Thu, 2007-11-08 at 22:47 +0100,

Re: Kernel locks up after calling kernel_execve()

2007-11-08 Thread Benjamin Herrenschmidt
I tried to use /bin/sh as init program and was able to enter a command, but then the machine locked up, too. Could that be a problem with a CPU sleeping/idle code? That's possibly an issue, try disabling power save if any for that CPU type. If it worked and broke, you may have to bisect tho.