Re: [PATCH] Adding ADMA support for PPC460EX DMA engine.

2010-07-23 Thread Stefan Roese
Hi Marri, On Friday 23 July 2010 02:57:18 tma...@amcc.com wrote: From: Tirumala Marri tma...@amcc.com This patch will add ADMA support for DMA engine and HW offload for XOR/ADG (RAID-5/6) functionalities. 1. It supports memcpy, xor, GF(2) based RAID-6. 2. It supports interrupt

Re: [PATCH][RFC] preempt_count corruption across H_CEDE call with CONFIG_PREEMPT on pseries

2010-07-23 Thread Vaidyanathan Srinivasan
* Benjamin Herrenschmidt b...@kernel.crashing.org [2010-07-23 15:11:00]: On Fri, 2010-07-23 at 10:38 +0530, Vaidyanathan Srinivasan wrote: Yes. extended_cede_processor() will return with interrupts enabled in the cpu. (This is done by the hypervisor). Under normal cases we cannot be

[next-20100722] drivers/input/serio/i8042.ko undefined error Bad Relocations warning

2010-07-23 Thread Subrata Modak
With linux-next-20100722 on Power7 and allmodconfig, i get the following undefined error and Bad relocation warning: ERROR: of_i8042_kbd_irq [drivers/input/serio/i8042.ko] undefined! ERROR: of_i8042_aux_irq [drivers/input/serio/i8042.ko] undefined! ... and ... WARNING: 3 bad relocations

Where can I get help about crosstool commands on powerpc?

2010-07-23 Thread Judy
I've just installed crosstool 0.43 for powerpc 405, and got the following commands: powerpc-405-linux-gnu-ar powerpc-405-linux-gnu-as powerpc-405-linux-gnu-c++ powerpc-405-linux-gnu-c++filt powerpc-405-linux-gnu-cpp powerpc-405-linux-gnu-g++ powerpc-405-linux-gnu-gcc

Re: [PATCH v2] powerpc/kexec: Switch to a static PACA on the way out

2010-07-23 Thread Michael Ellerman
On Thu, 2010-07-08 at 17:55 +1000, Matt Evans wrote: With dynamic PACAs, the kexecing CPU's PACA won't lie within the kernel static data and there is a chance that something may stomp it when preparing to kexec. This patch switches this final CPU to a static PACA just before we pull the

[PATCH v3 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-07-23 Thread Anatolij Gustschin
Adds IFM PDM360NG device tree, and platform code. Currently following is supported: - Spansion S29GL512P 256 MB NOR flash - ST Micro NAND 1 GiB flash - DIU, please use fbcon=map:5 video=fslfb:800x480...@60 at the kernel command line to enable PrimeView PM070WL3 Display support. - FEC -

[PATCH] powerpc/mpc512x: add clock structure for Video-IN (VIU) unit

2010-07-23 Thread Anatolij Gustschin
Allows using clk_get()/clk_enable()/clk_disable() for VIU clock in the v4l2 video driver. Signed-off-by: Hongjun Chen hong-jun.c...@freescale.com Signed-off-by: Anatolij Gustschin ag...@denx.de --- arch/powerpc/platforms/512x/clock.c | 18 ++ 1 files changed, 18 insertions(+),

Re: [PATCH] powerpc: fix .data..init_task output section

2010-07-23 Thread Sam Ravnborg
On Thu, Jul 22, 2010 at 07:50:08PM -0400, Sean MacLennan wrote: On Tue, 13 Jul 2010 11:50:24 +0200 Sam Ravnborg s...@ravnborg.org wrote: From 851e645a7eee68380caaf026eb6d3be118876370 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg s...@ravnborg.org Date: Tue, 13 Jul 2010 11:39:42 +0200

[PATCH v4 0/5] Rework MPC5121 DIU support (for 2.6.36)

2010-07-23 Thread Anatolij Gustschin
Support for MPC5121 DIU in mainline kernel is currently brocken. The intention of this patch series is to provide working 5121 DIU support in v2.6.36. This patch series rework DIU support patches submitted previously. Comments to the previos patch series have been addressed, not related changes

[PATCH v4 1/5] fsl-diu-fb: fix issue with re-enabling DIU area descriptor

2010-07-23 Thread Anatolij Gustschin
On MPC5121e Rev 2.0 re-configuring the DIU area descriptor by writing new descriptor address doesn't always work. As a result, DIU continues to display using old area descriptor even if the new one has been written to the descriptor register of the plane. Add the code from Freescale MPC5121EADS

[PATCH v4 2/5] fsl-diu-fb: move fsl-diu-fb.h to include/linux

2010-07-23 Thread Anatolij Gustschin
Some DIU structures will be used in platform code in subsequent MPC5121 DIU patch, so we move this header to be able to include it elsewhere. Signed-off-by: Anatolij Gustschin ag...@denx.de Acked-by: Timur Tabi ti...@freescale.com --- v4: - added ack tag v3: - no changes since v1

[PATCH v4 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-07-23 Thread Anatolij Gustschin
MPC5121 DIU configuration/setup as initialized by the boot loader currently will get lost while booting Linux. As a result displaying the boot splash is not possible through the boot process. To prevent this we reserve configured DIU frame buffer address range while booting and preserve AOI

[PATCH v4 4/5] powerpc: doc/dts-bindings: update doc of FSL DIU bindings

2010-07-23 Thread Anatolij Gustschin
Update compatible and interrupt properties description. Furthermore an example for the MPC5121 has been added. Signed-off-by: Anatolij Gustschin ag...@denx.de Acked-by: Timur Tabi ti...@freescale.com Cc: devicetree-disc...@lists.ozlabs.org --- v4: - added ack tag v2 and v3: - no changes since

[PATCH v4 5/5] fsl-diu-fb: Support setting display mode using EDID

2010-07-23 Thread Anatolij Gustschin
Adds support for encoding display mode information in the device tree using verbatim EDID block. If the EDID entry in the DIU node is present, the driver will build mode database using EDID data and allow setting the display modes from this database. Otherwise display mode will be set using mode

[PATCH] i2c: adapt i2c_ram struct according to MPC8272 manual

2010-07-23 Thread Holger brunck
Additionaly to the MPC8260, the MPC8272 I2C PRAM memory map has an additional entry for the SDMATMP (word). This patch adds this at offset 0x34 to the i2c_ram struct. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- drivers/i2c/busses/i2c-cpm.c |3 ++- 1 files changed, 2

[PATCH] PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc()

2010-07-23 Thread Ben Hutchings
commit 2ca1af9aa3285c6a5f103ed31ad09f7399fc65d7 PCI: MSI: Remove unsafe and unnecessary hardware access changed read_msi_msg_desc() to return the last MSI message written instead of reading it from the device, since it may be called while the device is in a reduced power state. However, the

Re: [PATCH][RFC] preempt_count corruption across H_CEDE call with CONFIG_PREEMPT on pseries

2010-07-23 Thread Will Schmidt
dvh...@linux.vnet.ibm.com wrote on 07/22/2010 06:57:18 PM: Subject Re: [PATCH][RFC] preempt_count corruption across H_CEDE call with CONFIG_PREEMPT on pseries On 07/22/2010 03:25 PM, Benjamin Herrenschmidt wrote: On Thu, 2010-07-22 at 11:24 -0700, Darren Hart wrote: 1) How can the

problems flashing custom board

2010-07-23 Thread moises dominguez
Hi, I am having problems programming u-boot(from ltib) in ads5121 based custom board with CodeWarrior USB TAP(sector not erased). I hope you could help me. Instead of 64 MB NOR flash(2xS29-GL256P) I am using a 16 MB (S29-GL128P) in muxed-mode. I have choosen 5121ADS_init_sram_flash.cfg as base

Re: [PATCH][v2] powerpc: rename immap_86xx.h to fsl_guts.h, and add 85xx support

2010-07-23 Thread Liam Girdwood
On Thu, 2010-07-22 at 13:43 -0500, Kumar Gala wrote: On Jul 22, 2010, at 11:49 AM, Mark Brown wrote: On Thu, Jul 22, 2010 at 11:33:30AM -0500, Timur Tabi wrote: The immap_86xx.h header file only defines one data structure: the global utilities register set found on Freescale PowerPC SOCs.

[PATCH][v2] fix of_flat_dt_is_compatible to match the full compatible string

2010-07-23 Thread Stuart Yoder
From: Stuart Yoder stuart.yo...@freescale.com With the previous string comparison, a device tree compatible of foo-bar would match as compatible with a driver looking for foo. Signed-off-by: Stuart Yoder stuart.yo...@freescale.com --- drivers/of/fdt.c |2 +- 1 files changed, 1

Re: [PATCH] Adding ADMA support for PPC460EX DMA engine.

2010-07-23 Thread Dan Williams
On Thu, Jul 22, 2010 at 11:15 PM, Stefan Roese s...@denx.de wrote: Hi Marri, On Friday 23 July 2010 02:57:18 tma...@amcc.com wrote: From: Tirumala Marri tma...@amcc.com   This patch will add ADMA support for DMA engine and HW offload for   XOR/ADG (RAID-5/6) functionalities.   1. It

[PATCH] of: make of_find_device_by_node generic

2010-07-23 Thread Grant Likely
From: Jonas Bonn jo...@southpole.se There's no need for this function to be architecture specific and all four architectures defining it had the same definition. The function has been moved to drivers/of/platform.c. Signed-off-by: Jonas Bonn jo...@southpole.se [grant.lik...@secretlab.ca: moved

[PATCH] of: remove of_default_bus_ids

2010-07-23 Thread Grant Likely
From: Jonas Bonn jo...@southpole.se This list used was by only two platforms with all other platforms defining an own list of valid bus id's to pass to of_platform_bus_probe. This patch: i) copies the default list to the two platforms that depended on it (powerpc) ii) remove the usage of

Re: [PATCH] of: make of_find_device_by_node generic

2010-07-23 Thread David Miller
From: Grant Likely grant.lik...@secretlab.ca Date: Fri, 23 Jul 2010 14:02:17 -0600 From: Jonas Bonn jo...@southpole.se There's no need for this function to be architecture specific and all four architectures defining it had the same definition. The function has been moved to

[PATCH] of: Fix phandle endian issues

2010-07-23 Thread Grant Likely
The flat tree code wasn't fixing the endianness on phandle values when unflattening the tree, and the code in drivers/of wasn't always doing a be32_to_cpu before trying to dereference the phandle values. This patch fixes them. Signed-off-by: Grant Likely grant.lik...@secretlab.ca ---

Re: [PATCH] powerpc: fix .data..init_task output section

2010-07-23 Thread Benjamin Herrenschmidt
On the assumption that Sean reports that it fixes the warnings/boot issue here is a real patch. Ben - will you take it via the popwerpc tree or shall I ask Michal to take it via kbuild? Sam Sorry for the bad initial subject line! As Sean reported that the patch

Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-23 Thread Dmitry Eremin-Solenikov
Hello, On 7/22/10, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Jul 22, 2010 at 10:48 AM, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Hello, On Thu, Jul 22, 2010 at 7:38 PM, Kumar Gala ga...@kernel.crashing.org wrote: On Jul 21, 2010, at 7:03 PM, Dmitry Eremin-Solenikov

Re: [PATCH 2/2] mpc85xx_edac: change to use new definitions for PCI EDAC regspace

2010-07-23 Thread Grant Likely
On Fri, Jul 23, 2010 at 6:20 PM, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Hello, On 7/22/10, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Jul 22, 2010 at 10:48 AM, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Hello, On Thu, Jul 22, 2010 at 7:38 PM, Kumar Gala

Re: [PATCH 4/8] v3 Allow memory_block to span multiple memory sections

2010-07-23 Thread Nathan Fontenot
On 07/20/2010 02:18 PM, Dave Hansen wrote: On Mon, 2010-07-19 at 22:55 -0500, Nathan Fontenot wrote: +static int add_memory_section(int nid, struct mem_section *section, + unsigned long state, enum mem_add_context context) +{ + struct memory_block *mem; +