Re: [PATCH 1/3] powerpc/mpc85xx: Add FMan clock nodes

2015-03-30 Thread Scott Wood
On Tue, 2015-03-24 at 03:26 -0500, Emil Medve wrote: > Hello Scott, > > > On 03/23/2015 06:30 PM, Scott Wood wrote: > > On Thu, 2015-02-26 at 09:26 -0600, Emil Medve wrote: > >> From: Igal Liberman > >> > >> Signed-off-by: Igal Liberman > >&

Re: [1/4] powerpc/cache: add cache flush operation for various e500

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:12PM +0800, chenhui zhao wrote: > Various e500 core have different cache architecture, so they > need different cache flush operations. Therefore, add a callback > function cpu_flush_caches to the struct cpu_spec. The cache flush > operation for the specific kind of e5

Re: [2/4] powerpc/rcpm: add RCPM driver

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:13PM +0800, chenhui zhao wrote: > There is a RCPM (Run Control/Power Management) in Freescale QorIQ > series processors. The device performs tasks associated with device > run control and power management. > > The driver implements some features: mask/unmask irq, ente

Re: [3/4] powerpc: support CPU hotplug for e500mc, e5500 and e6500

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:14PM +0800, chenhui zhao wrote: > Implemented CPU hotplug on e500mc, e5500 and e6500, and support > multiple threads mode and 64-bits mode. > > For e6500 with two threads, if one thread is online, it can > enable/disable the other thread in the same core. If two threa

Re: [4/4] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:15PM +0800, chenhui zhao wrote: > In sleep mode, the clocks of e500 cores and unused IP blocks is > turned off. The IP blocks which are allowed to wake up the processor > are still running. > > The sleep mode is equal to the Standby state in Linux. Use the > command t

Re: [v2,2/2] powerpc32: add support for csum_add()

2015-03-30 Thread Scott Wood
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote: > The C version of csum_add() as defined in include/net/checksum.h gives the > following assembly: >0: 7c 04 1a 14 add r0,r4,r3 >4: 7c 64 00 10 subfc r3,r4,r0 >8: 7c 63 19 10

Re: [1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-03-30 Thread Scott Wood
On Mon, 2015-03-30 at 22:32 -0500, Liu Shengzhou-B36685 wrote: > > > > There are other differences between t1023 an t1024. Where do you > > > > describe t1024's QE? Where do you describe the DDR and IFC differences? > > > > can they be detected at runtime? t1024 supports deep sleep, but > > > >

Re: [PATCH] powerpc/83xx: add support for mpc8306

2015-03-31 Thread Scott Wood
On Sat, 2015-03-28 at 17:59 +0100, Filip Brozovic wrote: > diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c > index c2518cd..f967ff6 100644 > --- a/arch/powerpc/sysdev/qe_lib/qe.c > +++ b/arch/powerpc/sysdev/qe_lib/qe.c > @@ -278,12 +278,17 @@ static void qe_snums_init

Re: [2/4] powerpc/rcpm: add RCPM driver

2015-04-02 Thread Scott Wood
On Thu, 2015-04-02 at 05:33 -0500, Zhao Chenhui-B35336 wrote: > > +static int rcpm_v2_plat_enter_state(int state) > > +{ > > + u32 *pmcsr_reg = &rcpm_v2_regs->powmgtcsr; > > + int ret = 0; > > + int result; > > + > > + switch (state) { > > + case PLAT_PM_LPM20: > > +

Re: [3/4] powerpc: support CPU hotplug for e500mc, e5500 and e6500

2015-04-02 Thread Scott Wood
On Thu, 2015-04-02 at 06:16 -0500, Zhao Chenhui-B35336 wrote: > > > From: Wood Scott-B07421 > Sent: Tuesday, March 31, 2015 10:07 > To: Zhao Chenhui-B35336 > Cc: linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org; > linux-ker...@vger.kernel.org; Jin

Re: [v8, 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-04-02 Thread Scott Wood
On Tue, Mar 24, 2015 at 11:55:09AM -0500, Emil Medve wrote: > From: Kumar Gala > > Signed-off-by: Kumar Gala > Signed-off-by: Geoff Thorpe > Signed-off-by: Hai-Ying Wang > Signed-off-by: Chunhe Lan > Signed-off-by: Poonam Aggrwal > [Emil Medve: Sync with the upstream binding] > Signed-off-by

Pull request: scottwood/linux.git next

2015-04-02 Thread Scott Wood
Highlights include BMan device tree nodes, an MSI erratum workaround, a couple minor performance improvements, config updates, and misc fixes/cleanup. The following changes since commit 6eca8933d3ff17bff39d5f10a2a22366d8622fa6: powerpc/kernel: Rename copy_thread() 'arg' argument to 'kthread_arg

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-02 Thread Scott Wood
On Fri, 2015-03-27 at 19:07 +0200, Purcareata Bogdan wrote: > On 27.02.2015 03:05, Scott Wood wrote: > > On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej Siewior wrote: > >> On 02/26/2015 02:02 PM, Paolo Bonzini wrote: > >>> > >>> > >>> On

Re: [PATCH] powerpc/83xx: add support for mpc8306

2015-04-02 Thread Scott Wood
On Tue, 2015-03-31 at 21:58 +0200, Filip Brozović wrote: > On 3/31/2015 7:54 PM, Scott Wood wrote: > > This breaks multiplatform support. You need to determine this at > > runtime. > > Understood, but I'm unsure of how to do this exactly. Would it be > approp

Re: [PATCH] powerpc/config: add SCSI configs for corenet64_smp_defconfig

2015-04-02 Thread Scott Wood
On Tue, 2015-03-31 at 18:00 +0800, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > Otherwise there wil be no SCSI device nodes. > > Signed-off-by: Shaohui Xie > Signed-off-by: Tang Yuantian > --- > arch/powerpc/configs/corenet64_smp_defconfig | 7 +++ > 1 file changed, 7 inse

Re: [1/3][PATCH][v2] Device Tree bindings for Freescale TDM controller

2015-04-02 Thread Scott Wood
On Thu, 2015-04-02 at 16:17 +0530, sand...@freescale.com wrote: > From: Sandeep Singh > > This controller is available on many Freescale SOCs like MPC8315, P1020, > P1010, > P1022 and P1024 > > Signed-off-by: Sandeep Singh > Signed-off-by: Poonam Aggrwal > --- > Documentation/devicetree/bind

Re: [PATCH 1/4] powerpc/85xx: miscellaneous changes on mpc85xx_defconfig

2015-04-02 Thread Scott Wood
On Thu, 2015-04-02 at 16:37 -0500, Lijun Pan wrote: > Merge Freescale's Internal mpc85xx_defconfig with upstream's. > Run savedefconfig to get the minimal change. What makes the internal config preferred without any explanation of why we want or don't want specific config items? Especially where

[PATCH] powerpc/e6500: Optimize hugepage TLB misses

2015-04-02 Thread Scott Wood
Some workloads take a lot of TLB misses despite using traditional hugepages. Handle these TLB misses in the asm fastpath rather than going through a bunch of C code. With this patch I measured around a 5x speedup in handling hugepage TLB misses. Signed-off-by: Scott Wood --- arch/powerpc/mm

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 14:45 +0200, Filip Brozović wrote: > On 4/3/2015 2:01 PM, Paul Bolle wrote: > > On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: > >> --- a/arch/powerpc/platforms/83xx/Kconfig > >> +++ b/arch/powerpc/platforms/83xx/Kconfig > > > >> +# used for gpio > >> +config PPC_MPC

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 11:07 +0300, Purcareata Bogdan wrote: > On 03.04.2015 02:11, Scott Wood wrote: > > On Fri, 2015-03-27 at 19:07 +0200, Purcareata Bogdan wrote: > >> On 27.02.2015 03:05, Scott Wood wrote: > >>> On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej

[PATCH] powerpc/e500mc: Remove dead L2 flushing code in idle_e500.S

2015-04-06 Thread Scott Wood
This code can never be executed as it is only built when CONFIG_PPC_E500MC is unset, but the only CPUs that have CPU_FTR_L2CSR require CONFIG_PPC_E500MC and do not have the MSR/HID0-based nap mechanism that this file uses. Signed-off-by: Scott Wood --- arch/powerpc/kernel/idle_e500.S | 9

Re: powerpc32: fix warning from include/linux/mm.h

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 10:07 +0200, leroy christophe wrote: > Le 21/03/2015 00:52, Scott Wood a écrit : > > On Fri, Dec 05, 2014 at 12:20:20PM +0100, LEROY Christophe wrote: > >> include/linux/mm.h: In function 'is_vmalloc_addr': > >> include/linux/mm.h:367:1

Re: [PATCH 0/8] powerpc/8xx: Getting rid of CONFIG_8xx

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 10:19 +0200, leroy christophe wrote: > Le 25/03/2015 01:45, Scott Wood a écrit : > > On Fri, 2015-03-13 at 10:34 +1100, Michael Ellerman wrote: > >> You'll need to collect ACKs, or get the individual patches merged, and > >> then we > >

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-07 Thread Scott Wood
On Sat, 2015-04-04 at 02:40 -0300, Rogério Brito wrote: > Unfortunately, right now, what I see with Linus's tree > (4.0.0-rc6-9-g6c310bc) is the following: > > , > | physmap platform flash device: 0040 at ffc0 > | physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. Manufactu

Re: [PATCH] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 07:08 +0300, Igal.Liberman wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/clock/qoriq-clock.txt | 59 > > 1 file changed, 59 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/

Re: [PATCH 3/4] powerpc/fsl-booke: Add T1024 RDB board support

2015-04-07 Thread Scott Wood
On Fri, 2015-04-03 at 18:35 +0800, Shengzhou Liu wrote: > + board-control@2,0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "fsl,t1024-cpld", "fsl,deepsleep-cpld"; No "fsl,deepsleep-cpld". Just have the

Re: [PATCH 1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-07 Thread Scott Wood
On Fri, 2015-04-03 at 18:35 +0800, Shengzhou Liu wrote: > + rcpm: global-utilities@e2000 { > + compatible = "fsl,t1023-rcpm", "fsl,qoriq-rcpm-2.0"; > + reg = <0xe2000 0x1000>; > + }; > + > + sfp: sfp@e8000 { > + compatible = "fsl,t1023-sfp"; > +

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 20:58 -0300, Rogério Brito wrote: > Dear Scott. > > First of all, thank you so very much for your reply. > > On Apr 07 2015, Scott Wood wrote: > > On Sat, 2015-04-04 at 02:40 -0300, Rogério Brito wrote: > > > , > > > | physmap plat

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 21:37 -0300, Rogério Brito wrote: > Dear Scott, > > Once again, thank you very much for your answer. > > On Apr 07 2015, Scott Wood wrote: > > On Tue, 2015-04-07 at 20:58 -0300, Rogério Brito wrote: > > > This is good to know. Is there any

)

2015-04-07 Thread Scott Wood
On Tue, 2015-04-07 at 22:13 -0300, Rogério Brito wrote: > Hi, Scott. > > On Apr 07 2015, Scott Wood wrote: > > On Tue, 2015-04-07 at 21:37 -0300, Rogério Brito wrote: > > > I see. If I do some "archaeology" (read: bisect when it stopped > > > working), w

Re: [PATCH] QorIQ/TMU: add TMU node to device tree for QorIQ T104x

2015-04-10 Thread Scott Wood
On Fri, 2015-04-10 at 01:23 -0500, Jia Hongtao-B38951 wrote: > > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, April 10, 2015 11:56 AM > > To: Jia Hongtao-B38951 > > Cc: linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org; > > robh...@kernel.org; rui.zh...@int

[PATCH] powerpc/hugetlb: Call mm_dec_nr_pmds() in hugetlb_free_pmd_range()

2015-04-10 Thread Scott Wood
results in kernel output such as "BUG: non-zero nr_pmds on freeing mm: 1" when using hugepages. Update the PPC hugepage PMD freeing code to decrement the count, just as the above commit did for free_pmd_range(). Fixes: dc6c9a35b66b5 ("mm: account pmd page tables to the process&qu

Re: [PATCH 3/4 v2] powerpc/fsl-booke: Add T1024 RDB board support

2015-04-08 Thread Scott Wood
On Wed, 2015-04-08 at 18:46 +0800, Shengzhou Liu wrote: > T1024RDB is a Freescale Reference Design Board that hosts the T1024 SoC. > > T1024RDB board Overview > --- > - Processor: T1024 SoC integrating two 64-bit e5500 cores up to 1.4GHz > - Memory: 64-bit 4GB DDR3L UDIMM with

Re: [PATCH 1/4 v2] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-08 Thread Scott Wood
On Wed, 2015-04-08 at 18:46 +0800, Shengzhou Liu wrote: > The T1024 SoC includes the following function and features: > - Two 64-bit Power architecture e5500 cores, up to 1.4GHz > - private 256KB L2 cache each core and shared 256KB CoreNet platform cache > (CPC) > - 32-/64-bit DDR3L/DDR4 SDRAM mem

Re: [v2] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-09 Thread Scott Wood
On Thu, 2015-04-09 at 02:18 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, April 09, 2015 12:12 AM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >

Re: [PATCH] dt/bindings: fsl/guts: Added global-utilities compatibles

2015-04-09 Thread Scott Wood
On Thu, 2015-04-09 at 09:19 +0300, Igal.Liberman wrote: > From: Igal Liberman > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/powerpc/fsl/guts.txt | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/gut

Re: [PATCH] powerpc/dts: Add some SoC specific "fsl,*-device-config" compatibles

2015-04-09 Thread Scott Wood
On Thu, 2015-04-09 at 09:21 +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch is required for: https://patchwork.ozlabs.org/patch/459584/ If it's required for that patch, why aren't they part of a patchset rather than independently posted? I don't see any mention of a dependency

Re: [PATCH 1/4 v2] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-08 Thread Scott Wood
On Wed, 2015-04-08 at 18:46 +0800, Shengzhou Liu wrote: > + clockgen: global-utilities@e1000 { > + compatible = "fsl,t1023-clockgen", "fsl,qoriq-clockgen-2.0", > +"fixed-clock"; > + reg = <0xe1000 0x1000>; > + clock-output-name

Re: [v2] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-08 Thread Scott Wood
On Wed, 2015-04-08 at 10:43 +0300, Igal.Liberman wrote: > @@ -76,6 +77,52 @@ Required properties: > > Recommended properties: > - clocks: Should be the phandle of input parent clock > + For "fsl,fman-clk-mux" clock there are several options for parent > + clock (clock provider), the par

Re: [v2] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-13 Thread Scott Wood
On Sun, 2015-04-12 at 10:54 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, April 09, 2015 8:03 PM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >

Re: [v3, 01/11] powerpc/8xx: remove remaining unnecessary code in FixupDAR

2015-04-13 Thread Scott Wood
On Sun, 2015-04-12 at 18:16 +0200, leroy christophe wrote: > > Le 26/03/2015 22:32, Scott Wood a écrit : > > On Tue, Feb 03, 2015 at 12:38:16PM +0100, LEROY Christophe wrote: > >> Since commit 33fb845a6f01 ("powerpc/8xx: Don't use MD_TWC for walk"), > &

Re: [PATCH 1/4 v2] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-13 Thread Scott Wood
On Thu, 2015-04-09 at 01:29 -0500, Liu Shengzhou-B36685 wrote: > > > +&soc { > > > +/include/ "qoriq-tdm1.0.dtsi" > > > > Where is this file? Is there some dependency you've forgotten to mention? > > > > If this is meant to apply after > > http://patchwork.ozlabs.org/patch/457605/ > > is that re

Re: [v2] powerpc/dts: Add some SoC specific "fsl,*-device-config" compatibles

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 13:25 +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch adds "fsl,-device-config" compatibles to guts node. > The added compatibles used in Freescale FMan clock initialization. > > This patches is described by the following binding document update: > h

Re: [PATCH] dt/bindings: qoriq-clock: Update core PLL binding

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 12:42 +0300, Igal.Liberman wrote: > From: Igal Liberman > > Added optional divider to "fsl,qoriq-core-pll-2.0". > This option might be used by Freescale hardware accelerators. > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/clock/qoriq-clock.txt |

Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s)

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch replaces the following: > https://patchwork.ozlabs.org/patch/427664/ > > This patch is described by the following binding document update: > https://patchwork.ozlabs.org/patch/461150/ > > Si

Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s)

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 15:21 -0500, Scott Wood wrote: > On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote: > > From: Igal Liberman > > > > This patch replaces the following: > > https://patchwork.ozlabs.org/patch/427664/ > > > > This patch is desc

Re: [v2] dt/bindings: fsl/guts: Added global-utilities compatibles

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 13:12 +0300, Igal.Liberman wrote: > From: Igal Liberman > > v2 - Addressed Scott's feedback > > Signed-off-by: Igal Liberman > --- > .../devicetree/bindings/powerpc/fsl/guts.txt |4 > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetre

Re: [1/3][PATCH][v2] Device Tree bindings for Freescale TDM controller

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 08:50 -0500, Singh Sandeep-B37400 wrote: > > > +TDM (Time Division Multiplexing) > > > + > > > +DESCRIPTION > > > + > > > +The TDM is full duplex serial port designed to allow various devices > > > +including digital signal processors (DSPs) to communicate with a > > > +variet

Re: [v3, 01/11] powerpc/8xx: remove remaining unnecessary code in FixupDAR

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 00:19 +0200, leroy christophe wrote: > > Le 13/04/2015 22:26, Scott Wood a écrit : > > On Sun, 2015-04-12 at 18:16 +0200, leroy christophe wrote: > >> Le 26/03/2015 22:32, Scott Wood a écrit : > >>> On Tue, Feb 03, 2015 at 12:38:1

Re: [v3] clk: qoriq: Add support for the FMan clock

2015-04-14 Thread Scott Wood
On Tue, 2015-04-14 at 14:15 +0300, Igal.Liberman wrote: > +static int get_fm_clk_idx(int fm_id, int *fm_clk_idx) > +{ > + struct ccsr_guts __iomem *guts_regs = NULL; > + struct device_node *guts; > + uint32_t reg = 0; > + int clk_src = 0; > + > + guts = of_find_matching_node(NUL

Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s)

2015-04-15 Thread Scott Wood
ger.kernel.org; linuxppc-dev@lists.ozlabs.org > > Subject: Re: [PATCH] powerpc/dts: Update the core cluster PLL node(s) > > > > On Tue, 2015-04-14 at 15:21 -0500, Scott Wood wrote: > > > On Tue, 2015-04-14 at 12:55 +0300, Igal.Liberman wrote: > > > > From: Iga

Re: [v2] dt/bindings: fsl/guts: Added global-utilities compatibles

2015-04-15 Thread Scott Wood
On Wed, 2015-04-15 at 03:43 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, April 14, 2015 11:09 PM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-15 Thread Scott Wood
On Tue, 2015-04-14 at 13:56 +0300, Igal.Liberman wrote: > From: Igal Liberman > > v3: Addressed feedback from Scott: > - Removed clock specifier description. > > v2: Addressed feedback from Scott: > - Moved the "fman-clk-mux" clock provider details > under "clocks" property.

Pull request: scottwood/linux.git master

2015-04-15 Thread Scott Wood
4:22 -0500) -------- Scott Wood (1): powerpc/hugetlb: Call mm_dec_nr_pmds() in hugetlb_free_pmd_range() arch/powerpc/mm/hugetlbpage.c | 1 + 1 file changed, 1 insertion(+) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.

[PATCH] powerpc/mm: Don't call __flush_dcache_icache_phys() with PA>VA

2015-04-15 Thread Scott Wood
__flush_dcache_icache_phys() requires the ability to access the memory with the MMU disabled, which means that on a 32-bit system any memory above 4 GiB is inaccessible. In particular, mpc86xx is 32-bit and can have more than 4 GiB of RAM. Signed-off-by: Scott Wood --- arch/powerpc/include/asm

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 00:44 -0400, Bob Cochran wrote: > As you probably know, Freescale makes use of the Yocto Project build > system for its SDK and submits patches to the SDK at a public > meta-fsl-ppc repo at http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/ > > I have seen some kernel

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: > Hi, Scott and others. > > On Apr 09 2015, Rogério Brito wrote: > > On Apr 09 2015, Scott Wood wrote: > > > On Thu, 2015-04-09 at 18:54 -0300, Rogério Brito wrote: > > > > > > > > mtdp

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 21:01 -0300, Rogério Brito wrote: > Dear Scott. > > On Apr 16 2015, Scott Wood wrote: > > On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: > > > Is there any "proper" way for me to discover what device name the kernel > > &g

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Scott Wood
On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote: > On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote: > > Hi Maintainers, > > > > We have a proposal for writing the defconfigs for freescale's powperpc > > platforms in a new way. > > Can you take a look and provide some feedback? > > >

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 01:11 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, April 15, 2015 8:36 PM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >

Re: [PATCH] powerpc/dts: Move pll0/1-div4 index

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 15:08 +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch updates pll0/1-div4 index to '3'. > Originally it was '2'. > > The following patch adds pll0/1-div3 option: > https://patchwork.ozlabs.org/patch/461151/ > After this patch, index '2' becomes pll0/1

Re: [PATCH v5 0/5] powerpc8xx: Further optimisation of TLB handling

2015-04-17 Thread Scott Wood
On Fri, 2015-04-17 at 18:32 +0200, root wrote: > This patchset provides a further optimisation of TLB handling in the 8xx. > Changes are: > - Not saving registers like CR when not needed > - Adding support to any TASK_SIZE > > Only the last patch of the set is changed compared to v4 > > Christoph

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-17 Thread Scott Wood
.@ozlabs.org; Schmitt Richard-B43082 > > Subject: Re: new way of writing defconfigs for freescale's powerpc platforms > > > > On Thu, 2015-04-16 at 23:13 -0500, Scott Wood wrote: > > > On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote: > > > &

[PATCH] powerpc/mm: Use PFN_PHYS() in devmem_is_allowed()

2015-04-17 Thread Scott Wood
This function can run on systems where physical addresses don't fit in unsigned long, so make sure to use the macro that contains the proper cast. Signed-off-by: Scott Wood --- arch/powerpc/mm/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/mem.c b

Re: [3/3] P1021RDB: Add QE TDM support

2015-04-17 Thread Scott Wood
On Thu, Mar 26, 2015 at 05:16:17PM +0800, ying.zh...@freescale.com wrote: > @@ -96,37 +102,63 @@ static void __init mpc85xx_rdb_setup_arch(void) > #ifdef CONFIG_QUICC_ENGINE > mpc85xx_qe_init(); > mpc85xx_qe_par_io_init(); > -#if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE) >

[PATCH 1/2] powerpc/qman: Change fsl,qman-channel-id to cell-index

2015-04-17 Thread Scott Wood
of the binding, so it's not too late to change the binding in order to keep compatibility with existing U-Boots. Signed-off-by: Scott Wood Cc: Madalin-Cristian Bucur --- Documentation/devicetree/bindings/soc/fsl/qman-portals.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-04-17 Thread Scott Wood
From: Kumar Gala Signed-off-by: Kumar Gala Signed-off-by: Geoff Thorpe Signed-off-by: Hai-Ying Wang Signed-off-by: Chunhe Lan Signed-off-by: Poonam Aggrwal [Emil Medve: Sync with the upstream binding] Signed-off-by: Emil Medve [Scott Wood: s/fsl,qman-channel-id/cell-index] Signed-off-by

Re: [PATCH] powerpc/dts: Move pll0/1-div4 index

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 06:10 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, April 17, 2015 8:42 AM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > >

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-20 Thread Scott Wood
On Sat, 2015-04-18 at 08:46 -0500, Timur Tabi wrote: > On Fri, Apr 17, 2015 at 11:53 PM, Lijun Pan wrote: > > > Have just sent out a patch considering the previous discussion. > > http://patchwork.ozlabs.org/patch/462249/ > > [PATCH] powerpc/defconfig: new way of writing defconfig > > The abilit

Re: [RFC,1/8] soc/fman: Add FMan MURAM support

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 03:58 -0500, Liberman Igal-B31950 wrote: > > Regards, > Igal Liberman. > > > -Original Message- > > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > > Sent: Thursday, March 12, 2015 5:57 PM > > To: Liberman Igal-B31950 > > Cc: linuxppc-dev@lists.ozlabs.org; net.

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 06:40 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Liberman Igal-B31950 > > Sent: Monday, April 20, 2015 2:07 PM > > To: Wood Scott-B07421 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org > >

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 13:53 +0300, Purcareata Bogdan wrote: > On 10.04.2015 02:53, Scott Wood wrote: > > On Thu, 2015-04-09 at 10:44 +0300, Purcareata Bogdan wrote: > >> So at this point I was getting kinda frustrated so I decided to measure > >> the time spend in kvm_m

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 21:02 -0500, Timur Tabi wrote: > On Mon, Apr 20, 2015 at 3:31 PM, Scott Wood wrote: > > > > > > The ability to merge configs is already there. We're just talking about > > using that functionality. > > Why do you need a powerpc-speci

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-20 Thread Scott Wood
On Mon, 2015-04-20 at 22:42 -0500, Timur Tabi wrote: > Scott Wood wrote: > >> > > >> >Why do you need a powerpc-specific way to use merge_config.sh? Other > >> >architectures have the same problem with defconfigs. > > > What are you perceiving as &

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-21 Thread Scott Wood
On Tue, 2015-04-21 at 08:25 -0500, Timur Tabi wrote: > Scott Wood wrote: > > We want single-name config targets to still work from the user's > > perspective, but we want to reduce the (often imperfect) duplication > > under the hood. > > Ok, then define a new Kco

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-21 Thread Scott Wood
On Tue, 2015-04-21 at 13:11 -0500, Timur Tabi wrote: > On 04/21/2015 12:55 PM, Scott Wood wrote: > >> > > >> >Ok, then define a new Kconfig option that merge_config.sh will look for. > >> > So in p1_defconfig, there will be this line: > >> > &g

Re: powerpc/defconfig: new way of writing defconfig

2015-04-21 Thread Scott Wood
On Tue, 2015-04-21 at 16:15 +1000, Michael Ellerman wrote: > On Sat, 2015-18-04 at 04:47:21 UTC, Lijun Pan wrote: > > It is always a headache dealing with different defconfigs > > though they only differ in few places. Hence we are proposing a new > > way of writing defconfig: > > So on the whole

Re: [PATCH 1/2] powerpc: Little endian should depend on PPC64

2015-04-21 Thread Scott Wood
On Tue, 2015-04-21 at 19:41 +1000, Michael Ellerman wrote: > The only little endian configuration we support is ppc64le, so we > shouldn't be asking which endian to use when building 32-bit kernels, > they are always big endian. > > Signed-off-by: Michael Ellerman > --- > arch/powerpc/platforms/

Re: [PATCH 2/2] powerpc: Disable building the 32-bit VDSO on little endian

2015-04-21 Thread Scott Wood
On Tue, 2015-04-21 at 19:41 +1000, Michael Ellerman wrote: > diff --git a/arch/powerpc/platforms/Kconfig.cputype > b/arch/powerpc/platforms/Kconfig.cputype > index 12fc443b9d54..1324f589f43a 100644 > --- a/arch/powerpc/platforms/Kconfig.cputype > +++ b/arch/powerpc/platforms/Kconfig.cputype > @@ -

Re: [PATCH] powerpc/defconfig: new way of writing defconfig

2015-04-21 Thread Scott Wood
On Fri, 2015-04-17 at 23:47 -0500, Lijun Pan wrote: > diff --git a/arch/powerpc/configs/kvm_guest.config > b/arch/powerpc/configs/kvm_guest.config > new file mode 100644 > index 000..615b0a0 > --- /dev/null > +++ b/arch/powerpc/configs/kvm_guest.config > @@ -0,0 +1,2 @@ > +CONFIG_KVM_GUEST=y >

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-22 Thread Scott Wood
On Wed, 2015-04-22 at 15:06 +0300, Purcareata Bogdan wrote: > On 21.04.2015 03:52, Scott Wood wrote: > > On Mon, 2015-04-20 at 13:53 +0300, Purcareata Bogdan wrote: > >> There was a weird situation for .kvmppc_mpic_set_epr - its corresponding > >> inner > >> fu

Re: [PATCH 3/3] powerpc/8xx: Implementation of PAGE_EXEC

2015-04-22 Thread Scott Wood
On Wed, 2015-04-22 at 12:06 +0200, Christophe Leroy wrote: > diff --git a/arch/powerpc/include/asm/mmu-8xx.h > b/arch/powerpc/include/asm/mmu-8xx.h > index d41200c..1407034 100644 > --- a/arch/powerpc/include/asm/mmu-8xx.h > +++ b/arch/powerpc/include/asm/mmu-8xx.h > @@ -27,6 +27,19 @@ > #define

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-23 Thread Scott Wood
On Thu, 2015-04-23 at 15:31 +0300, Purcareata Bogdan wrote: > On 23.04.2015 03:30, Scott Wood wrote: > > On Wed, 2015-04-22 at 15:06 +0300, Purcareata Bogdan wrote: > >> On 21.04.2015 03:52, Scott Wood wrote: > >>> On Mon, 2015-04-20 at 13:53 +0300, Purcareata Bo

Re: [RFC,v3,00/12] Freescale DPAA FMan

2015-04-29 Thread Scott Wood
On Wed, 2015-04-29 at 12:26 +0300, Igal.Liberman wrote: > From: Igal Liberman > > The Freescale Data Path Acceleration Architecture (DPAA) > is a set of hardware components on specific QorIQ multicore > processors. This architecture provides the infrastructure to > support simplified sharing of n

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-29 Thread Scott Wood
On Wed, 2015-04-22 at 05:47 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, April 21, 2015 3:52 AM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Ta

Re: [PATCH] powerpc/85xx: p1025twr: add module conditional to fix QE-uart issue

2015-04-29 Thread Scott Wood
On Thu, 2015-04-30 at 10:56 +0800, Pengbo Li wrote: > From: Xie Xiaobo > > A ioport setting was needed when used the QE uart function on TWR-P1025. > Added a conditional definition to avoid missing this setting when the > QE-uart driver was bulit to a module. s/was bulit to/is built as/ > Signe

Re: [PATCH] powerpc/85xx: p1025twr: add module conditional to fix QE-uart issue

2015-04-29 Thread Scott Wood
On Thu, 2015-04-30 at 10:56 +0800, Pengbo Li wrote: > From: Xie Xiaobo > > A ioport setting was needed when used the QE uart function on TWR-P1025. > Added a conditional definition to avoid missing this setting when the > QE-uart driver was bulit to a module. > > Signed-off-by: Xie Xiaobo > Cha

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-05-01 Thread Scott Wood
On Thu, 2015-04-30 at 09:28 -0500, Liberman Igal-B31950 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, April 30, 2015 3:31 AM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Tang > > Yuantian-B29983 > > Subject:

Re: [v2,2/2] powerpc32: add support for csum_add()

2015-05-01 Thread Scott Wood
On Tue, 2015-04-28 at 21:01 +0200, christophe leroy wrote: > > > Le 25/03/2015 02:30, Scott Wood a écrit : > > > On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote: > > > The C version of csum_add() as defined in include/net/checksum.h gives t

Re: [PATCH 1/2] powerpc: fix the dependency issue for CRASH_DUMP

2015-05-04 Thread Scott Wood
On Thu, 2015-04-30 at 20:29 +0800, Kevin Hao wrote: > In the current code, the RELOCATABLE will be forcedly enabled when > enabling CRASH_DUMP. But for ppc32, the RELOCABLE also depend on > ADVANCED_OPTIONS and select NONSTATIC_KERNEL. This will cause build > error when CRASH_DUMP=y && ADVANCED_OPT

Re: [PATCH 1/2] powerpc: fix the dependency issue for CRASH_DUMP

2015-05-04 Thread Scott Wood
On Tue, 2015-05-05 at 10:27 +0800, Kevin Hao wrote: > On Mon, May 04, 2015 at 05:17:17PM -0500, Scott Wood wrote: > > On Thu, 2015-04-30 at 20:29 +0800, Kevin Hao wrote: > > > In the current code, the RELOCATABLE will be forcedly enabled when > > > enabling CRASH_DUMP. B

Re: [PATCH 1/2] powerpc/qman: Change fsl,qman-channel-id to cell-index

2015-05-05 Thread Scott Wood
On Tue, 2015-05-05 at 11:04 -0500, Pledge Roy-R01356 wrote: > Sorry for the slow reply. > > I don't believe this is correct - let me explain the rational why we had two > properties in the QMan portal to begin with. > > The two properties in question are cell-index and fsl,qman-channel-id. > >

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-05-05 Thread Scott Wood
On Tue, 2015-05-05 at 16:02 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, May 02, 2015 2:43 AM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Tan

Re: [v4] clk: qoriq: Add support for the FMan clock

2015-05-06 Thread Scott Wood
On Wed, 2015-05-06 at 00:02 -0700, Stephen Boyd wrote: > On 04/16, Igal.Liberman wrote: > > +static int get_fm_clk_idx(int fm_id, int *fm_clk_idx) > > +{ > > + struct ccsr_guts __iomem *guts_regs = NULL; > > Unnecessary initialization to NULL. Also, marking a structure as > __iomem is odd. Why d

Re: [PATCH] powerpc/dts: Add 1588 timer node for eTSEC

2015-05-06 Thread Scott Wood
On Wed, 2015-05-06 at 17:40 +0800, Yangbo Lu wrote: > Add 1588 timer node in files: > arch/powerpc/boot/dts/bsc9131rdb.dtsi > arch/powerpc/boot/dts/bsc9132qds.dtsi > arch/powerpc/boot/dts/p1010rdb.dtsi > arch/powerpc/boot/dts/p1020rdb-pd.dts > arch/powerpc/boot/dts/p1021rdb-pc.dtsi > arch/powerpc/b

Re: [v4] clk: qoriq: Add support for the FMan clock

2015-05-06 Thread Scott Wood
On Wed, 2015-05-06 at 15:25 -0700, Stephen Boyd wrote: > On 05/06, Scott Wood wrote: > > On Wed, 2015-05-06 at 00:02 -0700, Stephen Boyd wrote: > > > On 04/16, Igal.Liberman wrote: > > > > +static int get_fm_clk_idx(int fm_id, int *fm_clk_idx) > > > > +

Re: [PATCH] powerpc/dts: Add 1588 timer node for eTSEC

2015-05-06 Thread Scott Wood
On Wed, 2015-05-06 at 21:26 -0500, Lu Yangbo-B47093 wrote: > Thanks. > Pls see my comments below. > > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, May 07, 2015 4:44 AM > To: Lu Yangbo-B47093 > Cc: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org > Subject: Re:

Re: [PATCH 1/1] powerpc: mpc85xx: Add board support for ucp1020

2015-05-06 Thread Scott Wood
On Tue, 2015-05-05 at 11:52 -0400, Oleksandr G Zhadan wrote: > New QorIQ p1020 based board support from Arcturus Networks Inc. > http://www.arcturusnetworks.com/products/ucp1020/ > > Signed-off-by: Michael Durrant > Signed-off-by: Oleksandr G Zhadan > --- > Documentation/devicetree/bindings/pci

Re: [PATCH 1/1] powerpc: mpc85xx: Add board support for ucp1020

2015-05-07 Thread Scott Wood
On Thu, 2015-05-07 at 12:31 -0400, Oleksandr G Zhadan wrote: > Hi Scott, > > Thanks for fast response, please see inline. > > On 05/06/2015 11:22 PM, Scott Wood wrote: > > On Tue, 2015-05-05 at 11:52 -0400, Ole

Re: [PATCH 1/1] powerpc: mpc85xx: Add board support for ucp1020

2015-05-07 Thread Scott Wood
On Thu, 2015-05-07 at 15:29 -0400, Oleksandr G Zhadan wrote: > On 05/07/2015 02:18 PM, Scott Wood wrote: > > On Thu, 2015-05-07 at 12:31 -0400, Oleksandr G Zhadan wrote: > >>>> diff --git a/arch/powerpc/configs/ucp1020_defconfig > >>>> b/arch/powerpc/configs

  1   2   3   4   5   6   7   8   9   10   >