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
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
+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
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
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
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]
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.
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 +++
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
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
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 :-)
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
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
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
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
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]
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
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,
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
---
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
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
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
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
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
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
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
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
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
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
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
---
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
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
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
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
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
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
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
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.
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
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
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
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
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
---
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
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
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,
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
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
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
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
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. :-)
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
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.
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
+ /*
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
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]
---
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
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
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.
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
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
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
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
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
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
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
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]
---
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:
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
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,
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.
71 matches
Mail list logo