[PATCH v2 3/3] powerpc/4xx: Add Kilauea suspend and idle support

2010-10-08 Thread Victor Gallardo
- Add Clock Power Management (CPM) node to dts tree - Add idle-doze entry in CPM node - Add standby entry in CPM node - Add PM and SUSPEND support by default in defconfig - Add NO_HZ and CONFIG_HIGH_RES_TIMERS support by default in defconfig Signed-off-by: Victor Gallardo --- arch/powerpc

[PATCH v2 2/3] powerpc/4xx: Add Canyonlands suspend and idle support

2010-10-08 Thread Victor Gallardo
-by: Victor Gallardo --- arch/powerpc/boot/dts/canyonlands.dts | 31 +++- arch/powerpc/configs/44x/canyonlands_defconfig |3 ++ 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts

[PATCH v2 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Victor Gallardo
additional power, use idle-doze. echo doze > /sys/devices/system/cpu/cpu0/idle cat /sys/devices/system/cpu/cpu0/idle wait [doze] Signed-off-by: Victor Gallardo --- v2: Add additional comments as suggested by Josh Boyer Documentation/powerpc/dts-bindings/4xx/cpm.txt |

Re: [PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Victor Gallardo
On Fri, Oct 8, 2010 at 6:46 AM, Josh Boyer wrote: > On Thu, Oct 07, 2010 at 12:07:16PM -0700, Victor Gallardo wrote: > > I hit send too soon on my earlier response.  My apologies. > >>--- /dev/null >>+++ b/arch/powerpc/sysdev/ppc4xx_cpm.c >>@@ -0,0 +1,339 @@ >

Re: [PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-08 Thread Victor Gallardo
Hi Josh, On Fri, Oct 8, 2010 at 6:35 AM, Josh Boyer wrote: > On Thu, Oct 07, 2010 at 12:07:16PM -0700, Victor Gallardo wrote: >>Add suspend/resume support for all 4xx compatible CPUs. >>See /sys/power/state for available power states configured in. >> >>Add two diffe

[PATCH 1/3] Powerpc/4xx: Add suspend and idle support

2010-10-07 Thread Victor Gallardo
additional power, use idle-doze. echo doze > /sys/devices/system/cpu/cpu0/idle cat /sys/devices/system/cpu/cpu0/idle wait [doze] Signed-off-by: Victor Gallardo --- Documentation/powerpc/dts-bindings/4xx/cpm.txt | 43 +++ arch/powerpc/Kconfig |

[PATCH 2/3] powerpc/4xx: Add Canyonlands suspend and idle support

2010-10-07 Thread Victor Gallardo
: Victor Gallardo --- arch/powerpc/boot/dts/canyonlands.dts | 31 +++- arch/powerpc/configs/44x/canyonlands_defconfig |3 ++ 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts

[PATCH 3/3] powerpc/4xx: Add Kilauea suspend and idle support

2010-10-07 Thread Victor Gallardo
- Add Clock Power Management (CPM) node to dts tree - Add idle-doze entry in CPM node - Add standby entry in CPM node - Add PM and SUSPEND support by default in defconfig - Add NO_HZ and CONFIG_HIGH_RES_TIMERS support by default in defconfig Signed-off-by: Victor Gallardo --- arch/powerpc

[PATCH] [JFFS2] Fix csize integer overflow issue due to truncation

2009-08-21 Thread Victor Gallardo
uct jffs2_tmp_dnode_info *tn; uint32_t len, csize; ... csize = je32_to_cpu(rd->csize); ... tn->csize = csize; // <=== result truncated if > 0x1 ... } static int check_node_data(...) { ... BUG_ON(tn->csize == 0); ... } Signed-off-by: Victor Gallardo

Re: [PATCH 1/1] Fix ECC Correction bug for SMC ordering for NDFC driver.

2009-08-21 Thread Victor Gallardo
Hi Sean > > It looks like another fix for this bug is to leave the current code > alone and turn off CONFIG_MTD_NAND_ECC_SMC. This would fix the problem by hiding the issue. Fengs patch is the correct way to go. Best Regards, Victor

Re: [U-Boot] NAND ECC Error with wrong SMC ording bug

2009-08-20 Thread Victor Gallardo
with my method of reproducing the bug? This > > bug is deadly for our customers. I don't want to make the change unless > > it is absolutely necessary.. > > Just one question: did you enabled MTD_NAND_ECC_SMC in configs? Yes, it was set. Best Regards, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: [U-Boot] NAND ECC Error with wrong SMC ording bug

2009-08-20 Thread Victor Gallardo
Hi Sean, The change is necessary in both Linux and u-boot. Without this change customer are seeing the problem. Best Regards, Victor Gallardo > -Original Message- > From: linuxppc-dev-bounces+vgallardo=amcc@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+vg

JFFS2 overflow bug in read_dnone

2009-08-20 Thread Victor Gallardo
.     tn->csize = csize;   #ifdef DBG_BUG_ON_ASSERT     if ( tn->csize == 0 && csize != 0) {     printk("*** %s: tn->csize == 0, csize == %d\n",__func__,csize);     }   #endif     ....    } Best Regards,   Victor Gallardo _

RE: [PATCH] ibm_newemac: Add support for Arches CPU0 SGMII0 to CPU1SGMII0

2009-01-16 Thread Victor Gallardo
Hi Josh, I see you are delegated for this patch submission any ideas when it will be accepted. http://patchwork.ozlabs.org/patch/6814/ Thanks, -Victor Gallardo -Original Message- From: linuxppc-dev-bounces+vgallardo=amcc@ozlabs.org [mailto:linuxppc-dev-bounces+vgallardo=amcc

RE: [PATCH] ibm_newemac: Add support for Arches CPU0 SGMII0 to CPU1 SGMII0

2008-11-10 Thread Victor Gallardo
Hello Josh and Ben, Who should I ask to get this patch integrated into the Linux tree? http://ozlabs.org/pipermail/linuxppc-dev/2008-November/064834.html Thanks, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

RE: What is the maximum memory linux support for powerpc 4xx?

2008-11-05 Thread Victor Gallardo
; ALL ppc32's that have HW support for 36-bit physical to support >4G > of memory.. however that code is likely in 2.6.29. Thanks, Kumar. -Victor Gallardo - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

What is the maximum memory linux support for powerpc 4xx?

2008-11-05 Thread Victor Gallardo
Hello, How can I figure out the and/or what is the maximum memory linux support for powerpc 4xx? Regards, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

RE: [PATCH] ibm_newemac: Add support for Arches CPU0 SGMII0 to CPU1 SGMII0

2008-11-04 Thread Victor Gallardo
Hello Josh, Have you had a chance to look at this patch. > On Arches, SGMII0 Rx/Tx on CPU0 is wired to SGMII0 Tx/Rx on CPU1. > Add GPCS as a phy type to allow for this. Regards, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

[PATCH] ibm_newemac: Add support for Arches CPU0 SGMII0 to CPU1 SGMII0

2008-11-01 Thread Victor Gallardo
On Arches, SGMII0 Rx/Tx on CPU0 is wired to SGMII0 Tx/Rx on CPU1. Add GPCS as a phy type to allow for this. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/arches.dts |3 ++- drivers/net/ibm_newemac/core.c |5 - drivers/net/ibm_newemac/phy.c

RE: [PATCH v2] ibm_newemac: Add support for GPCS, SGMIIandM88E1112 PHY

2008-10-02 Thread Victor Gallardo
tion not be part of the possible mask, so > that the compiler optimises out the feature tests as if (0) (gcc > nowadays is supposedly smart enough to rip off the code when it finds > such constructs). Hi Ben, Can you give an example of what you are asking for? I am not sure if I understand

RE: [PATCH v2] ibm_newemac: Add support for GPCS, SGMII andM88E1112 PHY

2008-10-02 Thread Victor Gallardo
>> Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> >> --- >> v2: >> - update to sync up with latest ibm_newemac driver > >Ack. > >Is this on top of Josh work ? > >Ben. Yes, this based on Josh's git repository. Should I sync up with your

[PATCH v2] ibm_newemac: Add support for GPCS, SGMII and M88E1112 PHY

2008-10-01 Thread Victor Gallardo
Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - update to sync up with latest ibm_newemac driver arch/powerpc/include/asm/dcr-regs.h |4 ++ drivers/net/ibm_newemac/core.c | 58 drivers/net/ibm_newemac/core.h |8 +++ drive

[PATCH 3/3 v3] Add AMCC Arches defconfig file

2008-10-01 Thread Victor Gallardo
Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - remove reference to IBM_NEW_EMAC_RGMII - remove reference to IBM_NEW_EMAC_ZMII v3: - sync up to use CONFIG_PPC44x_SIMPLE arch/powerpc/configs/44x/arches_defconfig | 767 + 1 files change

[PATCH 2/3 v3] Add AMCC Arches DTS

2008-10-01 Thread Victor Gallardo
Basic functionality for the AMCC Arches eval Board. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - only include basic functionality v3: - update description header arch/powerpc/boot/dts/arches.dts | 293 ++ 1 files changed, 293 inse

[PATCH 1/3 v3] Add AMCC Arches eval board support to platforms/44x

2008-10-01 Thread Victor Gallardo
M and temperature sensor, along with a shared debug port. The two 460GT's will communicate with each other via shared memory, Gigabit Ethernet and x1 PCI-Express. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - remove arches.c and instead use canyonlands.c - remove reference to IB

RE: [PATCH v2] Add AMCC Arches eval board support to platforms/44x

2008-09-22 Thread Victor Gallardo
ually just use the following command. git clone git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx.git linux-ppc4xx How do I get the next branch? Thank You, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https:/

RE: [PATCH v2] Add AMCC Arches eval board support to platforms/44x

2008-09-19 Thread Victor Gallardo
d to having a somewhat bogus > "board compatible" statement with >other boards. That is what was discussed > at > OLS, and this is the result. The reason for two different board types is to remove RGMII and ZMII from the build. Arches does not use it. Where is ppc4xx_sim

[PATCH v3] Add AMCC Arches DTS

2008-09-18 Thread Victor Gallardo
Basic functionality for the AMCC Arches eval Board. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - only include basic functionality v3: - update description header arch/powerpc/boot/dts/arches.dts | 293 ++ 1 files changed, 293 inse

RE: [PATCH v2] Add AMCC Arches DTS

2008-09-18 Thread Victor Gallardo
Oops, please ignore this patch. I will resubmit. Forgot to clean up header. -Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH v2] Add AMCC Arches defconfig file

2008-09-18 Thread Victor Gallardo
Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - remove reference to IBM_NEW_EMAC_RGMII - remove reference to IBM_NEW_EMAC_ZMII arch/powerpc/configs/44x/arches_defconfig | 765 + 1 files changed, 765 insertions(+), 0 deletions(-) create mode

[PATCH v2] Add AMCC Arches DTS

2008-09-18 Thread Victor Gallardo
Basic functionality for the AMCC Arches eval Board. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - only include basic functionality arch/powerpc/boot/dts/arches.dts | 273 ++ 1 files changed, 273 insertions(+), 0 deletions(-) creat

[PATCH v2] Add AMCC Arches eval board support to platforms/44x

2008-09-18 Thread Victor Gallardo
Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - remove arches.c and instead use canyonlands.c - remove reference to IBM_NEW_EMAC_RGMII for ARCHES config - remove reference to IBM_NEW_EMAC_ZMII for ARCHES config - moved reference to IBM_NEW_EMAC_RGMII under CANYONLANDS

[PATCH] ibm_newemac: Fix EMAC soft reset on 460EX/GT

2008-09-18 Thread Victor Gallardo
This patch fixes EMAC soft reset on 460EX/GT when no external clock is available. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/dcr-regs.h |4 drivers/net/ibm_newemac/core.c | 18 ++ drivers/net/ibm_newemac/core.h

RE: [PATCH] ibm_newemac: Add support for GPCS, SGMII andM88E1112PHY

2008-09-18 Thread Victor Gallardo
; >>Cheers, >Ben. > >Have you had a change to look at this patch? > Regards, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

RE: [PATCH] ibm_newemac: Add support for GPCS, SGMII andM88E1112PHY

2008-09-15 Thread Victor Gallardo
Hi Ben, >Ok. Thanks. I need to review your patch a bit better, hopefully later >this week. I'll let you know. Ping me if you get no news by next monday. > >Cheers, >Ben. Have you had a change to look at this patch. Than

RE: [PATCH] ibm_newemac: Add support for GPCS, SGMII and M88E1112PHY

2008-09-07 Thread Victor Gallardo
has M88E1112 PHY (address 0x0) and GPCS PHY (address 0xB) EMAC 2 has M88E1112 PHY (address 0x1) and GPCS PHY (address 0xC) Regards, Victor Gallardo From: Benjamin Herrenschmidt [mailto:[EMAIL PROTECTED] Sent: Sun 9/7/2008 5:29 PM To: Victor Gallardo Cc

[PATCH] ibm_newemac: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-05 Thread Victor Gallardo
This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- drivers/net/ibm_newemac/core.c | 40 +++ drivers/net/ibm_newemac/core.h |3 + drivers/net/ibm_newemac/phy.c

[PATCH] ibm_newemac: Add support for GPCS, SGMII and M88E1112 PHY

2008-09-05 Thread Victor Gallardo
From: Victor Gallardo <[EMAIL PROTECTED]> This patch adds GPCS, SGMII and M88E1112 PHY support for the AMCC PPC460GT/EX processors. Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- drivers/net/ibm_newemac/core.c | 40 +++ drivers/net/ibm_newemac/core.h |

test - ignore

2008-08-06 Thread Victor Gallardo
test - ignore ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev