RE: [PATCH v2] powerpc: Update compilation flags with core specific options

2013-07-29 Thread Udma Catalin-Dan-B32721
The assembler option is redundant if the -mcpu= flag is set. The patch fixes the kernel compilation problem for e5500/e6500 when using gcc option -mcpu=e5500/e6500. Signed-off-by: Catalin Udma catalin.u...@freescale.com --- changes for v2: - update also KBUILD_AFLAGS with -mcpu

Re: [RFC PATCH 4/5] cpuidle/ppc: CPU goes tickless if there are no arch-specific constraints

2013-07-29 Thread Preeti U Murthy
Hi, On 07/29/2013 10:58 AM, Vaidyanathan Srinivasan wrote: * Preeti U Murthy pre...@linux.vnet.ibm.com [2013-07-27 13:20:37]: Hi Ben, On 07/27/2013 12:00 PM, Benjamin Herrenschmidt wrote: On Fri, 2013-07-26 at 08:09 +0530, Preeti U Murthy wrote: *The lapic of a broadcast CPU is active

[PATCH v7 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-29 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Hi Vinod, Dan, Scott and Leo, please have a look at these V7 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds support this DMA engine. V6-V7 changes: - only remove unnecessary CHIP-dma explanations in [1/3]

[PATCH v7 1/3] DMA: Freescale: revise device tree binding document

2013-07-29 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com This patch updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, it also fixes some defects of indent for text alignment at the same time. Signed-off-by: Hongbo Zhang

[PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-29 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com --- .../devicetree/bindings/powerpc/fsl/dma.txt| 66

[PATCH v7 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-29 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com --- drivers/dma/Kconfig |9 +

Re: [PATCH v7 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-29 Thread Vinod Koul
On Mon, Jul 29, 2013 at 06:49:01PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Hi Vinod, Dan, Scott and Leo, please have a look at these V7 patches. The dma relates changes look okay to me. I need someone to review and ACK the DT bindings. ~Vinod

Re: [PATCH 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-07-29 Thread Rafael J. Wysocki
On Sunday, July 28, 2013 10:29:04 PM Joe Perches wrote: It's convenient to have ethernet mac addresses use ETH_ALEN to be able to grep for them a bit easier and also to ensure that the addresses are __aligned(2). Add #include linux/if_ether.h as necessary. Signed-off-by: Joe Perches

Re: [PATCH 2/3] cpuidle/powernv: Enable idle powernv cpu to call into the cpuidle framework.

2013-07-29 Thread Deepthi Dharwar
On 07/27/2013 10:59 AM, Daniel Lezcano wrote: On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: This patch enables idle powernv cpu to hook on to the cpuidle framework, if available, else call on to default idle platform code. Why do you need to do that ? Hi Daniel, Well, this is needed in

Re: [linux-pm] [PATCH 1/3] cpuidle/powernv: cpuidle backend driver for powernv

2013-07-29 Thread Deepthi Dharwar
Hi Daniel, On 07/27/2013 10:57 AM, Daniel Lezcano wrote: On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: This patch implements a back-end cpuidle driver for powernv calling power7_nap and snooze idle states. This can be extended by adding more idle states in the future to the existing

Re: [PATCH 2/3] cpuidle/powernv: Enable idle powernv cpu to call into the cpuidle framework.

2013-07-29 Thread Daniel Lezcano
On 07/29/2013 04:27 PM, Deepthi Dharwar wrote: On 07/27/2013 10:59 AM, Daniel Lezcano wrote: On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: This patch enables idle powernv cpu to hook on to the cpuidle framework, if available, else call on to default idle platform code. Why do you need to

Re: [linux-pm] [PATCH 1/3] cpuidle/powernv: cpuidle backend driver for powernv

2013-07-29 Thread Daniel Lezcano
On 07/29/2013 04:39 PM, Deepthi Dharwar wrote: Hi Daniel, On 07/27/2013 10:57 AM, Daniel Lezcano wrote: On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: This patch implements a back-end cpuidle driver for powernv calling power7_nap and snooze idle states. This can be extended by adding more

Re: [PATCH v2 3/3] powerpc/85xx: Add C293PCIE board support

2013-07-29 Thread Scott Wood
On 07/28/2013 09:20:11 PM, Liu Po-B43644 wrote: -Original Message- From: Wood Scott-B07421 Sent: Saturday, July 27, 2013 5:59 AM To: Liu Po-B43644 Cc: linuxppc-...@ozlabs.org; ga...@kernel.crashing.org; Fleming Andy- AFLEMING; Hu Mingkai-B21284; Liu Po-B43644 Subject:

Re: [PATCH 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-07-29 Thread Joe Perches
On Mon, 2013-07-29 at 13:59 +0200, Rafael J. Wysocki wrote: On Sunday, July 28, 2013 10:29:04 PM Joe Perches wrote: It's convenient to have ethernet mac addresses use ETH_ALEN to be able to grep for them a bit easier and also to ensure that the addresses are __aligned(2). [] diff --git

Re: [PATCH 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-07-29 Thread Rafael J. Wysocki
On Monday, July 29, 2013 12:34:24 PM Joe Perches wrote: On Mon, 2013-07-29 at 13:59 +0200, Rafael J. Wysocki wrote: On Sunday, July 28, 2013 10:29:04 PM Joe Perches wrote: It's convenient to have ethernet mac addresses use ETH_ALEN to be able to grep for them a bit easier and also to

Re: [PATCH 1/3] mmc:core: parse voltage from device-tree

2013-07-29 Thread Scott Wood
On 07/28/2013 09:56:33 PM, Haijun Zhang wrote: Add function to support get voltage from device-tree. If there are voltage-range specified in device-tree node, this function will parse it and return the avail voltage mask. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com ---

Re: [PATCH v7 1/3] DMA: Freescale: revise device tree binding document

2013-07-29 Thread Scott Wood
On 07/29/2013 05:49:02 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com This patch updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, it also fixes some defects of

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-29 Thread Scott Wood
On 07/29/2013 05:49:03 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com ---

Re: visible memory seems wrong in kexec crash dump kernel

2013-07-29 Thread Scott Wood
On 07/13/2013 01:30:50 AM, Chris Friesen wrote: On 07/12/2013 04:59 PM, Chris Friesen wrote: On 07/12/2013 03:08 PM, Chris Friesen wrote: I turned on the instrumentation in early_init_dt_scan_memory() and got the following when jumping to the capture kernel: memory scan node memory, reg

[PATCH v2 1/2] powerpc: Add smp_generic_cpu_bootable

2013-07-29 Thread Andy Fleming
Cell and PSeries both implemented their own versions of a cpu_bootable smp_op which do the same thing (well, the PSeries one has support for more than 2 threads). Copy the PSeries one to generic code, and rename it smp_generic_cpu_bootable. Signed-off-by: Andy Fleming aflem...@freescale.com ---

[PATCH v2 2/2] powerpc: Convert platforms to smp_generic_cpu_bootable

2013-07-29 Thread Andy Fleming
T4, Cell, powernv, and pseries had the same implementation, so switch them to use a generic version. A2 apparently had a version, but removed it at some point, so we remove the declaration, too. Signed-off-by: Andy Fleming aflem...@freescale.com --- v2: Removed conflict and Change-Id foo

Re: P1021rdb-pc

2013-07-29 Thread Scott Wood
On 07/25/2013 03:29:45 AM, BHARATHI KANDIMALLA wrote: Dear Sir, We are using P1021rdb-pc board with p1021 processor. 1. compilation and build process is taking so much of time. How should I reduce the time for linux build process? Remove things from the .config that you don't

Re: [PATCH v2] powerpc: Update compilation flags with core specific options

2013-07-29 Thread Scott Wood
On 07/25/2013 06:54:14 AM, Catalin Udma wrote: If CONFIG_E500 is enabled, the compilation flags are updated specifying the target core -mcpu=e5500/e500mc/8540 Also remove -Wa,-me500, being incompatible with -mcpu=e5500/e6500 The assembler option is redundant if the -mcpu= flag is set. The patch

Re: [1/1] MPC831x: fix PCI express probing

2013-07-29 Thread Scott Wood
On Mon, May 27, 2013 at 02:29:43PM +0200, Sergey Gerasimov wrote: For MPC831x the bus probing function also needs the fixup to assign addresses to the PCI devices as it was for MPC85xx and MPC86xx. The fixup of the bridge vendor and device ID should be done early in PCI probing. Else the

Re: [PATCH] Add device file bindings for MAPLE

2013-07-29 Thread Benjamin Herrenschmidt
On Mon, 2013-07-29 at 19:00 -0500, Scott Wood wrote: On 07/27/2013 08:03:42 AM, Shaveta Leekha wrote: Signed-off-by: Shaveta Leekha shav...@freescale.com --- .../devicetree/bindings/powerpc/fsl/maple.txt | 50 BTW, that's confusing, we have a platform called

Re: powerpc/85xx: Add P1023RDB board support

2013-07-29 Thread Scott Wood
On Fri, Jun 14, 2013 at 04:26:20PM +0800, Chunhe Lan wrote: P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Where is NAND in the device tree? Ethernet: eTSEC1: Connected to Atheros AR8035 GETH

Re: [PATCH 1/3] mmc:core: parse voltage from device-tree

2013-07-29 Thread Zhang Haijun
On 07/30/2013 06:07 AM, Scott Wood wrote: On 07/28/2013 09:56:33 PM, Haijun Zhang wrote: Add function to support get voltage from device-tree. If there are voltage-range specified in device-tree node, this function will parse it and return the avail voltage mask. Signed-off-by: Haijun Zhang

Re: [PATCH v7 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-29 Thread Hongbo Zhang
On 07/29/2013 06:59 PM, Vinod Koul wrote: On Mon, Jul 29, 2013 at 06:49:01PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Hi Vinod, Dan, Scott and Leo, please have a look at these V7 patches. The dma relates changes look okay to me. I need someone to

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-29 Thread Hongbo Zhang
On 07/30/2013 06:10 AM, Scott Wood wrote: On 07/29/2013 05:49:03 AM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by: Hongbo Zhang

Re: [PATCH 1/4 v6] powerpc: export debug registers save function for KVM

2013-07-29 Thread Michael Neuling
Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:57, Bharat Bhushan wrote: KVM need this function when switching from vcpu to user-space thread. My subsequent patch will use this function. Signed-off-by: Bharat Bhushan bharat.bhus...@freescale.com Ben / Michael, please

Re: [PATCH] arch: powerpc: kvm: add signed type cast for comparation

2013-07-29 Thread Chen Gang
Hello Maintainers: Please help check this patch whether OK or not, when you have time. Thanks. On 07/22/2013 02:32 PM, Chen Gang wrote: 'rmls' is 'unsigned long', lpcr_rmls() will return negative number when failure occurs, so it need a type cast for comparing. 'lpid' is 'unsigned long',

RE: [RFC 2/2] powerpc/cputable: add wait feature for CPU kernel features

2013-07-29 Thread Wang Dongsheng-B40534
-Original Message- From: Wood Scott-B07421 Sent: Tuesday, July 30, 2013 1:27 AM To: Wang Dongsheng-B40534 Cc: b...@kernel.crashing.org; ga...@kernel.crashing.org; Zhao Chenhui- B35336; Li Yang-R58472; Wang Dongsheng-B40534 Subject: Re: [RFC 2/2] powerpc/cputable: add wait feature

Re: [PATCH 2/3] cpuidle/powernv: Enable idle powernv cpu to call into the cpuidle framework.

2013-07-29 Thread Deepthi Dharwar
On 07/29/2013 08:14 PM, Daniel Lezcano wrote: On 07/29/2013 04:27 PM, Deepthi Dharwar wrote: On 07/27/2013 10:59 AM, Daniel Lezcano wrote: On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: This patch enables idle powernv cpu to hook on to the cpuidle framework, if available, else call on to

Re: [linux-pm] [PATCH 1/3] cpuidle/powernv: cpuidle backend driver for powernv

2013-07-29 Thread Deepthi Dharwar
On 07/29/2013 08:23 PM, Daniel Lezcano wrote: On 07/29/2013 04:39 PM, Deepthi Dharwar wrote: Hi Daniel, On 07/27/2013 10:57 AM, Daniel Lezcano wrote: On 07/23/2013 11:01 AM, Deepthi Dharwar wrote: This patch implements a back-end cpuidle driver for powernv calling power7_nap and snooze idle

RE: [RFC 1/2] fsl/pm: combined the idle(PHPW) state

2013-07-29 Thread Wang Dongsheng-B40534
-Original Message- From: Wood Scott-B07421 Sent: Tuesday, July 30, 2013 1:22 AM To: Wang Dongsheng-B40534 Cc: b...@kernel.crashing.org; ga...@kernel.crashing.org; Zhao Chenhui- B35336; Li Yang-R58472; Wang Dongsheng-B40534 Subject: Re: [RFC 1/2] fsl/pm: combined the idle(PHPW)

RE: [PATCH] Add device file bindings for MAPLE

2013-07-29 Thread Leekha Shaveta-B20052
-Original Message- From: Wood Scott-B07421 Sent: Tuesday, July 30, 2013 5:31 AM To: Leekha Shaveta-B20052 Cc: devicetree-disc...@lists.ozlabs.org; linuxppc-dev@lists.ozlabs.org; Leekha Shaveta-B20052 Subject: Re: [PATCH] Add device file bindings for MAPLE On 07/27/2013 08:03:42 AM,