[PATCH 1/2 v3] powerpc/85xx: Added dts for P1021RDB-PC board

2012-01-17 Thread Xu Jiucheng
P1021RDB-PC Overview - 1Gbyte DDR3 (on board DDR) 16Mbyte NOR flash 32Mbyte eSLC NAND Flash 256 Kbit M24256 I2C EEPROM 128 Mbit SPI Flash memory Real-time clock on I2C bus SD/MMC connector to interface with the SD memory card PCIex - x1 PCIe slot or x1 PCIe to dual SATA

Re: [RFC PATCH 1/2] KVM: PPC: Book3S HV: Make virtual processor area registration more robust

2012-01-17 Thread Alexander Graf
On 17.01.2012, at 06:56, Paul Mackerras pau...@samba.org wrote: On Mon, Jan 16, 2012 at 02:04:29PM +0100, Alexander Graf wrote: On 20.12.2011, at 11:22, Paul Mackerras wrote: @@ -152,6 +152,8 @@ static unsigned long do_h_register_vpa(struct kvm_vcpu *vcpu, flags = 7; if (flags

[PATCH 1/2] powerpc/dts: Add some DTS nodes and attributes for mpc8536ds

2012-01-17 Thread Xie Xiaobo
1. Add partitions for NOR and NAND Flash. 2. Additional attributes for sdhc. Signed-off-by: Xie Xiaobo x@freescale.com --- arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi |5 ++ arch/powerpc/boot/dts/mpc8536ds.dts |6 ++- arch/powerpc/boot/dts/mpc8536ds.dtsi | 93

[PATCH 2/2] powerpc/dts: Add magic-packet properties for etsec

2012-01-17 Thread Xie Xiaobo
The properties indicates that the hardware supports waking up via magic packet. Signed-off-by: Xie Xiaobo x@freescale.com --- arch/powerpc/boot/dts/fsl/pq3-etsec1-0.dtsi |3 ++- arch/powerpc/boot/dts/fsl/pq3-etsec1-1.dtsi |3 ++- arch/powerpc/boot/dts/fsl/pq3-etsec1-2.dtsi |3 ++-

Re: [RFC PATCH 1/2] KVM: PPC: Book3S HV: Make virtual processor area registration more robust

2012-01-17 Thread Paul Mackerras
On Tue, Jan 17, 2012 at 10:27:26AM +0100, Alexander Graf wrote: The thing I was getting at was not the map during the lifetime, but the map during registration. Currently we have: 1) Set VPA to x 2) Assign feature y to VPA 3) Use VPA 1 and 2 are the slow path, 3 occurs more frequently.

Re: [RFC PATCH 1/2] KVM: PPC: Book3S HV: Make virtual processor area registration more robust

2012-01-17 Thread Alexander Graf
On 17.01.2012, at 12:31, Paul Mackerras wrote: On Tue, Jan 17, 2012 at 10:27:26AM +0100, Alexander Graf wrote: The thing I was getting at was not the map during the lifetime, but the map during registration. Currently we have: 1) Set VPA to x 2) Assign feature y to VPA 3) Use VPA 1

Re: Problem with full speed devices on PowerPC MPC5121 host port

2012-01-17 Thread Matthias Fuchs
On 06.01.2012 19:03, Alan Stern wrote: On Fri, 6 Jan 2012, Matthias Fuchs wrote: For my eyes it does not really look like a general USB issue. It looks like a problem with the Freescale EHCI implementation that is influenced by high interrupt or internal bus load caused by the flood ping.

Re: Cannot wake-up from standby with MPC8313

2012-01-17 Thread Norbert van Bolhuis
On 01/16/12 21:22, Scott Wood wrote: On 01/13/2012 08:13 AM, Norbert van Bolhuis wrote: I dumped SIPNR/SIMSR and uart IIR/EIR (since console triggers wake-up) but they do not change just before entering standby (via mpc6xx_enter_standby which omits setting MSR_POW). uart IRQ is always enabled,

RE: [PATCH 2/2] Kbuild: Use dtc's -d (dependency) option

2012-01-17 Thread Stephen Warren
Michal Marek wrote at Saturday, January 14, 2012 3:51 PM: On 11.1.2012 20:36, Mark Salter wrote: On Mon, 2012-01-09 at 11:38 -0700, Stephen Warren wrote: This hooks dtc into Kbuild's dependency system. Thus, for example, make dtbs will rebuild tegra-harmony.dtb if only tegra20.dtsi has

RE: [PATCH 2/2] Kbuild: Use dtc's -d (dependency) option

2012-01-17 Thread Mark Salter
On Tue, 2012-01-17 at 09:20 -0800, Stephen Warren wrote: Michal Marek wrote at Saturday, January 14, 2012 3:51 PM: On 11.1.2012 20:36, Mark Salter wrote: On Mon, 2012-01-09 at 11:38 -0700, Stephen Warren wrote: This hooks dtc into Kbuild's dependency system. Thus, for example, make

Re: [PATCH 2/2][v2] mtd/nand: Fix IFC driver to support 2K NAND page

2012-01-17 Thread Kumar Gala
On Jan 9, 2012, at 7:10 PM, Scott Wood wrote: On 01/09/2012 06:24 AM, Prabhakar Kushwaha wrote: 1) OOB area should be updated irrespective of NAND page size. Earlier it was updated only for 512byte NAND page. 2) During OOB update fbcr should be equal to OOB size. Signed-off-by: Poonam

Re: [PATCH 2/2][v2] mtd/nand: Fix IFC driver to support 2K NAND page

2012-01-17 Thread Scott Wood
On 01/17/2012 12:57 PM, Kumar Gala wrote: On Jan 9, 2012, at 7:10 PM, Scott Wood wrote: On 01/09/2012 06:24 AM, Prabhakar Kushwaha wrote: 1) OOB area should be updated irrespective of NAND page size. Earlier it was updated only for 512byte NAND page. 2) During OOB update fbcr should be

Re: Cannot wake-up from standby with MPC8313

2012-01-17 Thread Scott Wood
On 01/17/2012 10:56 AM, Norbert van Bolhuis wrote: On 01/16/12 21:22, Scott Wood wrote: On 01/13/2012 08:13 AM, Norbert van Bolhuis wrote: I dumped SIPNR/SIMSR and uart IIR/EIR (since console triggers wake-up) but they do not change just before entering standby (via mpc6xx_enter_standby

[git pull] Please pull powerpc.git merge branch

2012-01-17 Thread Kumar Gala
Ben, Pulled in a few other minor fixes, in addition the the compile issue on p1022. - k The following changes since commit c2bc3a316a7281f67e36b34dac2802cbe36a9128: Merge branch 'x86/rdrand' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2012-01-16 18:23:09 -0800) are available

Re: [PATCH v2] DTS: fix cmd12 bug and add the chip compatible for eSDHC

2012-01-17 Thread Kumar Gala
On Jan 4, 2012, at 7:40 PM, r66...@freescale.com r66...@freescale.com wrote: From: Jerry Huang chang-ming.hu...@freescale.com Accordint to latest kernel, the auto-cmd12 property should be sdhci,auto-cmd12, and according to the SDHC binding and the workaround for the special chip, add the

Re: [PATCH] powerpc/dts: update dts for p1020rdb

2012-01-17 Thread Kumar Gala
On Jan 12, 2012, at 4:04 AM, Zhicheng Fan wrote: nand: Sync base address with U-boot sdhc: Add suppot auto cmd12 Signed-off-by: Zhicheng Fan b32...@freescale.com --- arch/powerpc/boot/dts/fsl/p1020si-post.dtsi |3 +++ arch/powerpc/boot/dts/p1020rdb.dts |2 +-

Re: [PATCH 12/15] arch/powerpc/sysdev/fsl_pci.c: add missing iounmap

2012-01-17 Thread Kumar Gala
On Jan 12, 2012, at 3:55 AM, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Add missing iounmap in error handling code, in a case where the function already preforms iounmap on some other execution path. A simplified version of the semantic match that finds this problem is

Re: [RFC 13/14] irq_domain: Remove 'new' irq_domain in favour of the ppc one

2012-01-17 Thread Grant Likely
On Mon, Jan 16, 2012 at 8:42 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2012-01-16 at 18:43 -0800, Michael Bohan wrote: I was planning on sending these patches out, but it seems like with Grant's patches, they may no longer be up to date. I was curious if any thought

Re: [RFC 06/14] irq_domain/powerpc: Eliminate virq_is_host()

2012-01-17 Thread Grant Likely
On Thu, Jan 12, 2012 at 3:17 AM, Milton Miller milt...@bga.com wrote: On Wed Jan 11 2012 about 15:24:34 EST, Grant Likely wrote: There is only one user, and it is trivial to open-code. I added virq_is_host because I had planned to change how we find the host (domain) from a virq. Instead of

Re: [PATCH][SDK v1.2] sata: I/O load balancing

2012-01-17 Thread Jeff Garzik
On 01/13/2012 04:57 AM, Liu Qiang-B32616 wrote: No, I didn't test small file. I think this won't affect system load. I can have a test and describe the result in next patch. Please do... ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: [RFC 13/14] irq_domain: Remove 'new' irq_domain in favour of the ppc one

2012-01-17 Thread Benjamin Herrenschmidt
On Tue, 2012-01-17 at 17:28 -0700, Grant Likely wrote: BTW: Ben, if you can carve out some time, I'd appreciate a look over my series and make sure you're okay with it. Once it's had some testing by arm and ppc folks, I want to get it into linux-next. I intend to do so but not while I'm at

[PATCH] mtd/nand:Fix wrong usage of is_blank() in fsl_ifc_run_command

2012-01-17 Thread Prabhakar Kushwaha
Freescale IFC NAND Machine calculates ECC on 512byte sector and same is used in fsl_ifc_run_command() during ECC status verification. Also this sector is passed to is_blank() for blank checking. It is wrong at first place because is_blank()'s implementation checks for Page size and OOB area size.

error: ‘cpus_in_crash’ defined but not used

2012-01-17 Thread Christian Kujau
Hi, compiling today's git (mainline, a25a2b8) on powerpc32 gives: CC arch/powerpc/kernel/crash.o cc1: warnings being treated as errors /usr/local/src/linux-2.6-git/arch/powerpc/kernel/crash.c:49: error: ‘cpus_in_crash’ defined but not used make[2]: *** [arch/powerpc/kernel/crash.o] Error

[PATCH] powerpc/85xx:Add usb controller version info

2012-01-17 Thread Ramneek Mehresh
Add usb controller version info for the following: MPC8536, P1010, P1020, P1021, P1022, P1023, P2020, P2041, P3041, P3060, P5020 Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git (branch next)

[PATCH] powerpc/85xx:Enable USB2 controller node for P1020RDB

2012-01-17 Thread Ramneek Mehresh
Enable USB2 controller node for P1020RDB. USB2 controller is used only when board boots from SPI or SD as it is muxed with eLBC Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git (branch next)

[PATCH] powerpc/85xx:Add dr_mode property in USB nodes

2012-01-17 Thread Ramneek Mehresh
Add usb2 controller node for P1020RDB, P2020RDB, P2020DS, P1021MDS Signed-off-by: Ramneek Mehresh ramneek.mehr...@freescale.com --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git (branch next) arch/powerpc/boot/dts/p1020rdb.dtsi |2 ++