Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Scott Wood
On Mon, 2014-12-22 at 02:20 -0600, Emil Medve wrote: Hello Shao-Hui, On 12/21/2014 08:31 PM, Xie Shaohui-B21989 wrote: On Fri, 2014-12-19 at 01:23 -0600, Xie Shaohui-B21989 wrote: -Original Message- From: Wood Scott-B07421 Sent: Friday, December 19, 2014 6:01 AM To: Xie

Re: Build regressions/improvements in v3.19-rc1

2014-12-22 Thread Geert Uytterhoeven
On Mon, Dec 22, 2014 at 9:31 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: Below is the list of build error/warning regressions/improvements in v3.19-rc1[1] compared to v3.18[2]. Summarized: - build errors: +24/-16 + /home/kisskb/slave/src/arch/powerpc/xmon/xmon.c: error: unused

RE: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Shaohui Xie
-Original Message- From: Wood Scott-B07421 Sent: Monday, December 22, 2014 4:33 PM To: Medve Emilian-EMMEDVE1 Cc: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org; Liberman Igal-B31950 Subject: Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

[PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread Dongsheng Wang
From: Wang Dongsheng dongsheng.w...@freescale.com Kernel cannot bring up Non-boot cpus always get Processor xx is stuck. this issue bring by http://patchwork.ozlabs.org/patch/418912/ (powerpc: Secondary CPUs must set cpu_callin_map after setting active and online) We need to take timebase after

Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Scott Wood
On Mon, 2014-12-22 at 03:37 -0600, Emil Medve wrote: Hello Scott, On 12/22/2014 02:32 AM, Scott Wood wrote: On Mon, 2014-12-22 at 02:20 -0600, Emil Medve wrote: For the purpose of an example in the binding document, I suggest we just stick with the IEEE standard frequency. The

Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Emil Medve
Hello Scott, On 12/22/2014 02:32 AM, Scott Wood wrote: On Mon, 2014-12-22 at 02:20 -0600, Emil Medve wrote: Hello Shao-Hui, On 12/21/2014 08:31 PM, Xie Shaohui-B21989 wrote: On Fri, 2014-12-19 at 01:23 -0600, Xie Shaohui-B21989 wrote: -Original Message- From: Wood Scott-B07421

Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Emil Medve
Hello Shao-Hui, On 12/21/2014 08:31 PM, Xie Shaohui-B21989 wrote: On Fri, 2014-12-19 at 01:23 -0600, Xie Shaohui-B21989 wrote: -Original Message- From: Wood Scott-B07421 Sent: Friday, December 19, 2014 6:01 AM To: Xie Shaohui-B21989 Cc: linuxppc-dev@lists.ozlabs.org;

[PATCH v3 0/2] powerpc32: handle inverted _PAGE_RW bit outside of TLB handlers

2014-12-22 Thread Christophe Leroy
Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Patchset: 1) powerpc32: adds handling of _PAGE_RO 2) powerpc/8xx: use _PAGE_RO instead of _PAGE_RW All changes have been

[PATCH v3 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-22 Thread Christophe Leroy
Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2 is a complete rework of v1 v3: - cleared PTE can remain 0,

[PATCH v3 2/2] powerpc/8xx: use _PAGE_RO instead of _PAGE_RW

2014-12-22 Thread Christophe Leroy
On powerpc 8xx, in TLB entries, 0x400 bit is set to 1 for read-only pages and is set to 0 for RW pages. So we should use _PAGE_RO instead of _PAGE_RW Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- v2 is a complete rework compared to v1 v3: fixing pte_update() and comments

Re: [v2 PATCH 1/2] powerpc32: adds handling of _PAGE_RO

2014-12-22 Thread leroy christophe
Le 18/12/2014 03:14, Scott Wood a écrit : On Wed, 2014-12-17 at 10:14 +0100, Christophe Leroy wrote: Some powerpc like the 8xx don't have a RW bit in PTE bits but a RO (Read Only) bit. This patch implements the handling of a _PAGE_RO flag to be used in place of _PAGE_RW Signed-off-by:

[PATCH 2/2] powerpc/config: enable mdio buses muxing via Memory-mapped device

2014-12-22 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 1/2] powerpc/config: enable mdio buses muxing via gpio

2014-12-22 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig | 2 ++ arch/powerpc/configs/corenet64_smp_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git

Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Emil Medve
Hello Scott, On 12/22/2014 03:42 AM, Scott Wood wrote: On Mon, 2014-12-22 at 03:37 -0600, Emil Medve wrote: Hello Scott, On 12/22/2014 02:32 AM, Scott Wood wrote: On Mon, 2014-12-22 at 02:20 -0600, Emil Medve wrote: For the purpose of an example in the binding document, I suggest we just

Re: [git pull] Please pull mpe/linux.git powerpc-3.19-2 tag

2014-12-22 Thread Andreas Schwab
Michael Ellerman m...@ellerman.id.au writes: Anton Blanchard (1): powerpc: Secondary CPUs must set cpu_callin_map after setting active and online This breaks booting on the PowerMac7,3. It takes forever to boot to user space (~5 minutes instead of ~4 seconds), and then I see these

Re: [PATCH v6 1/4] tools/perf: support parsing parameterized events

2014-12-22 Thread Jiri Olsa
On Sun, Dec 21, 2014 at 11:49:24PM -0800, Sukadev Bhattiprolu wrote: SNIP + } switch (format-value) { case PERF_PMU_FORMAT_VALUE_CONFIG: @@ -592,11 +629,16 @@ static int pmu_config_term(struct list_head *formats, } /* - * XXX If we ever decide to go

Re: [PATCH v6 3/4] perf Documentation: add event parameters

2014-12-22 Thread Jiri Olsa
On Sun, Dec 21, 2014 at 11:49:26PM -0800, Sukadev Bhattiprolu wrote: From: Cody P Schafer c...@linux.vnet.ibm.com Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when using a particular event.

Re: [PATCH v6 4/4] tools/perf: Document parameterized and symbolic events

2014-12-22 Thread Jiri Olsa
On Sun, Dec 21, 2014 at 11:49:27PM -0800, Sukadev Bhattiprolu wrote: From: Cody P Schafer c...@linux.vnet.ibm.com Changelog[v6]: - [Sukadev Bhattiprolu]: Update documentation of perf-list and perf-record; Added documentation for perf-stat. CC: Haren Myneni hb...@us.ibm.com

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Geoff Levand
On Sat, 2014-12-20 at 16:00 +0100, Rickard Strandqvist wrote: Remove the function ps3_repository_write_highmem_info() that is not used anywhere. NAK ps3_repository_write_highmem_info() is needed by otheros++. What we need is a kernel patch to add the highmem info to the repository once it is

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Nathan Whitehorn
On 12/22/14 09:26, Geoff Levand wrote: On Sat, 2014-12-20 at 16:00 +0100, Rickard Strandqvist wrote: Remove the function ps3_repository_write_highmem_info() that is not used anywhere. NAK ps3_repository_write_highmem_info() is needed by otheros++. What we need is a kernel patch to add the

Re: [git pull] Please pull mpe/linux.git powerpc-3.19-2 tag

2014-12-22 Thread Scott Wood
On Mon, 2014-12-22 at 15:33 +0100, Andreas Schwab wrote: Michael Ellerman m...@ellerman.id.au writes: Anton Blanchard (1): powerpc: Secondary CPUs must set cpu_callin_map after setting active and online This breaks booting on the PowerMac7,3. It takes forever to boot to user

Re: [PATCH v6 1/4] tools/perf: support parsing parameterized events

2014-12-22 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | On Sun, Dec 21, 2014 at 11:49:24PM -0800, Sukadev Bhattiprolu wrote: | | SNIP | | + } | | switch (format-value) { | case PERF_PMU_FORMAT_VALUE_CONFIG: | @@ -592,11 +629,16 @@ static int pmu_config_term(struct list_head *formats, | } |

Re: [PATCH v6 3/4] perf Documentation: add event parameters

2014-12-22 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | On Sun, Dec 21, 2014 at 11:49:26PM -0800, Sukadev Bhattiprolu wrote: | From: Cody P Schafer c...@linux.vnet.ibm.com | + In the case of the last example, a value replacing ? would | + need to be provided by the user selecting the

Re: [PATCH v6 4/4] tools/perf: Document parameterized and symbolic events

2014-12-22 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | + values for each of 'config', 'config1' and 'config2' are defined by | + corresponding entries in /sys/bus/event_sources/devices/pmu/format/* | + param1 and param2 are defined as formats for the PMU in: | +

Re: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Scott Wood
On Mon, 2014-12-22 at 05:08 -0600, Emil Medve wrote: Hello Scott, On 12/22/2014 03:42 AM, Scott Wood wrote: On Mon, 2014-12-22 at 03:37 -0600, Emil Medve wrote: Hello Scott, On 12/22/2014 02:32 AM, Scott Wood wrote: On Mon, 2014-12-22 at 02:20 -0600, Emil Medve wrote: For the

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Rickard Strandqvist
2014-12-22 18:36 GMT+01:00 Nathan Whitehorn nwhiteh...@freebsd.org: On 12/22/14 09:26, Geoff Levand wrote: On Sat, 2014-12-20 at 16:00 +0100, Rickard Strandqvist wrote: Remove the function ps3_repository_write_highmem_info() that is not used anywhere. NAK

Re: [PATCH] [TRIVIAL] IBM Akebono: Remove select of IBM_EMAC_RGMII_WOL

2014-12-22 Thread Alistair Popple
Hi Paul, These days I've been made maintainer of the PPC4XX tree so maybe adding Acked- by: Alistair Popple alist...@popple.id.au might help? Jiri, if you would rather this go via the main PPC tree please let us know and we'll see if Michael Ellerman (added to CC) would be willing to take it

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Michael Ellerman
On Mon, 2014-12-22 at 09:26 -0800, Geoff Levand wrote: On Sat, 2014-12-20 at 16:00 +0100, Rickard Strandqvist wrote: Remove the function ps3_repository_write_highmem_info() that is not used anywhere. NAK ps3_repository_write_highmem_info() is needed by otheros++. What we need is a

Re: [PATCH] [TRIVIAL] IBM Akebono: Remove select of IBM_EMAC_RGMII_WOL

2014-12-22 Thread Michael Ellerman
On Tue, 2014-12-23 at 09:48 +1100, Alistair Popple wrote: Hi Paul, These days I've been made maintainer of the PPC4XX tree so maybe adding Acked- by: Alistair Popple alist...@popple.id.au might help? Jiri, if you would rather this go via the main PPC tree please let us know and we'll

Re: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread Michael Ellerman
On Mon, 2014-12-22 at 14:38 +0800, Dongsheng Wang wrote: From: Wang Dongsheng dongsheng.w...@freescale.com Kernel cannot bring up Non-boot cpus always get Processor xx is stuck. this issue bring by http://patchwork.ozlabs.org/patch/418912/ (powerpc: Secondary CPUs must set cpu_callin_map

RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread dongsheng.w...@freescale.com
-Original Message- From: Michael Ellerman [mailto:m...@ellerman.id.au] Sent: Tuesday, December 23, 2014 9:01 AM To: Wang Dongsheng-B40534 Cc: b...@kernel.crashing.org; Wood Scott-B07421; an...@samba.org; linuxppc- d...@lists.ozlabs.org Subject: Re: [PATCH] powerpc/smp: Fix

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Geoff Levand
Hi Michael, On Tue, 2014-12-23 at 11:26 +1100, Michael Ellerman wrote: On Mon, 2014-12-22 at 09:26 -0800, Geoff Levand wrote: ps3_repository_write_highmem_info() is needed by otheros++. What we need is a kernel patch to add the highmem info to the repository once it is known. OK so

Re: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread Michael Ellerman
On Tue, 2014-12-23 at 02:41 +, dongsheng.w...@freescale.com wrote: -Original Message- From: Michael Ellerman [mailto:m...@ellerman.id.au] Sent: Tuesday, December 23, 2014 9:01 AM To: Wang Dongsheng-B40534 Cc: b...@kernel.crashing.org; Wood Scott-B07421; an...@samba.org;

Re: [PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-22 Thread Michael Ellerman
On Mon, 2014-12-22 at 18:44 -0800, Geoff Levand wrote: Hi Michael, On Tue, 2014-12-23 at 11:26 +1100, Michael Ellerman wrote: On Mon, 2014-12-22 at 09:26 -0800, Geoff Levand wrote: ps3_repository_write_highmem_info() is needed by otheros++. What we need is a kernel patch to add the

RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread dongsheng.w...@freescale.com
-Original Message- From: Michael Ellerman [mailto:m...@ellerman.id.au] Sent: Tuesday, December 23, 2014 1:46 PM To: Wang Dongsheng-B40534 Cc: b...@kernel.crashing.org; Wood Scott-B07421; an...@samba.org; linuxppc- d...@lists.ozlabs.org Subject: Re: [PATCH] powerpc/smp: Fix

[PATCH] powerpc/kvm: Create proper names for the kvm_host_state PMU fields

2014-12-22 Thread Michael Ellerman
We have two arrays in kvm_host_state that contain register values for the PMU. Currently we only create an asm-offsets symbol for the base of the arrays, and do the array offset in the assembly code. Creating an asm-offsets symbol for each field individually makes the code much nicer to read,

RE: [PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-12-22 Thread Shaohui Xie
Best Regards, Shaohui Xie -Original Message- From: Wood Scott-B07421 Sent: Tuesday, December 23, 2014 5:26 AM To: Medve Emilian-EMMEDVE1 Cc: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org; Liberman Igal-B31950 Subject: Re: [PATCH] [v2] power/fsl:

RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

2014-12-22 Thread dongsheng.w...@freescale.com
-Original Message- From: Wang Dongsheng-B40534 Sent: Tuesday, December 23, 2014 2:53 PM To: 'Michael Ellerman' Cc: b...@kernel.crashing.org; Wood Scott-B07421; an...@samba.org; linuxppc- d...@lists.ozlabs.org Subject: RE: [PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

Ask help about killing irqchip.irq_print_chip on PPC platforms

2014-12-22 Thread Jiang Liu
Hi Scott and Tudor, Sorry, resend and Ccing the list. We are trying to clean up some irqchip interfaces, and irqchip.irq_print_chip is a candidate for removal. After some changes on x86 side, arch/powerpc/sysdev/fsl_msi.c may be the last user of irqchip.irq_print_chip. So could you

Re: Ask help about killing irqchip.irq_print_chip on PPC platforms

2014-12-22 Thread Scott Wood
On Tue, 2014-12-23 at 15:56 +0800, Jiang Liu wrote: Hi Scott and Tudor, Sorry, resend and Ccing the list. Resending reply... We are trying to clean up some irqchip interfaces, and irqchip.irq_print_chip is a candidate for removal. After some changes on x86 side,