[PATCH 1/2 v3] bootmem/powerpc: Unify bootmem initialization

2014-05-08 Thread Emil Medve
tly mapped by the kernel Signed-off-by: Emil Medve --- v2: Rebased, no changes v3: No changes arch/powerpc/mm/mem.c | 36 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 32202c9..eaf5d1d8 10

Re: in dts file

2014-06-09 Thread Emil Medve
Hello Tony, On 06/09/2014 06:43 AM, Tony wrote: > How's the fsl,qman-channel-id value different for different targets ? Channel ids are assigned in hardware > Is there any document on how this value is achieved ? They are described in the RM of each SoC and in the DPAA RM > Or can it be any v

Re: in dts file

2014-06-10 Thread Emil Medve
he code to see with what limitations Cheers, > Regards > > > On Mon, Jun 9, 2014 at 8:32 PM, Emil Medve <mailto:emilian.me...@freescale.com>> wrote: > > Hello Tony, > > > On 06/09/2014 06:43 AM, Tony wrote: > > How's the fsl,qman-chan

Re: [PATCH 1/3] iommu/fsl: Fix PAMU window size check.

2014-07-02 Thread Emil Medve
res. > > Signed-off-by: Varun Sethi > --- > drivers/iommu/fsl_pamu.c|8 > drivers/iommu/fsl_pamu_domain.c |2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) Tested-by: Emil Medve On a P4080 DS (i.e. 32-bit SoC) Cheers, __

Re: [PATCH v2 1/7] dt: Introduce the FMan 10 Gb/s MDIO binding

2014-07-25 Thread Emil Medve
Hello Shao-Hui, On 07/24/2014 10:11 PM, Shaohui Xie wrote: > Hello, Scott, Shruti, > > There are two types MDIO controllers, each MAC has a corresponding > MDIO controller to access internal PHYs inside Serdes, another is > dedicated MDIO controller to access external PHYs (PHYs on board or > ri

Re: [PATCH v2 1/7] dt: Introduce the FMan 10 Gb/s MDIO binding

2014-07-26 Thread Emil Medve
Hello Scott, On 07/25/2014 02:54 PM, Scott Wood wrote: > On Thu, 2014-07-24 at 22:11 -0500, Xie Shaohui-B21989 wrote: >> Hello, Scott, Shruti, >> >> There are two types MDIO controllers, each MAC has a corresponding MDIO >> controller to access internal PHYs inside Serdes, another is dedicated >>

Re: [PATCH v2 5/7] powerpc/corenet: Add MDIO bus muxing support to the board device tree(s)

2014-07-28 Thread Emil Medve
Hello Scott, Scott Wood freescale.com> writes: > On Wed, 2014-07-16 at 15:17 -0500, Shruti Kanetkar wrote: > > + mdio fd000 { > > + /* For 10g interfaces */ > > + phy_xaui_slot1: xaui-phy slot1 { > > +

Re: [PATCH v2 5/7] powerpc/corenet: Add MDIO bus muxing support to the board device tree(s)

2014-07-30 Thread Emil Medve
Hello Scott, On 07/29/2014 02:58 PM, Scott Wood wrote: > On Mon, 2014-07-28 at 06:51 +0000, Emil Medve wrote: >> Hello Scott, >> >> >> Scott Wood freescale.com> writes: >>> On Wed, 2014-07-16 at 15:17 -0500, Shruti Kanetkar wro

Re: [PATCH v2 5/7] powerpc/corenet: Add MDIO bus muxing support to the board device tree(s)

2014-07-30 Thread Emil Medve
Hello Scott, On 07/30/2014 09:30 PM, Scott Wood wrote: > On Wed, 2014-07-30 at 16:52 -0500, Emil Medve wrote: >> Hello Scott, >> >> >> On 07/29/2014 02:58 PM, Scott Wood wrote: >>> On Mon, 2014-07-28 at 06:51 +, Emil Medve wrote: >>>> Hello

Re: [PATCH v2 5/7] powerpc/corenet: Add MDIO bus muxing support to the board device tree(s)

2014-07-30 Thread Emil Medve
Hello Scott, On 07/31/2014 12:28 AM, Scott Wood wrote: > On Wed, 2014-07-30 at 23:35 -0500, Emil Medve wrote: >> Hello Scott, >> >> >> On 07/30/2014 09:30 PM, Scott Wood wrote: >>> On Wed, 2014-07-30 at 16:52 -0500, Emil Medve wrote: >>>&g

Re: [PATCH v2 5/7] powerpc/corenet: Add MDIO bus muxing support to the board device tree(s)

2014-07-31 Thread Emil Medve
Hello Scott, On 07/31/2014 01:30 PM, Scott Wood wrote: > On Thu, 2014-07-31 at 00:48 -0500, Emil Medve wrote: >> Hello Scott, >> >> >> On 07/31/2014 12:28 AM, Scott Wood wrote: >>> On Wed, 2014-07-30 at 23:35 -0500, Emil Medve wrote: >>>> Hello Sco

Re: [PATCH 1/2 v3] bootmem/powerpc: Unify bootmem initialization

2014-08-05 Thread Emil Medve
Hello Anton, On 08/05/2014 02:25 AM, Anton Blanchard wrote: > Hi Emil, > >> Unify the low/highmem code path from do_init_bootmem() by using (the) >> lowmem related variables/parameters even when the low/highmem split >> is not needed (64-bit) or configured. In such cases the "lowmem" >> variable

[PATCH 3/3] powerpc: Use PFN_PHYS() to avoid truncating the physical address

2014-03-25 Thread Emil Medve
Signed-off-by: Emil Medve --- This is a small cleanup arch/powerpc/include/asm/io.h | 2 +- arch/powerpc/include/asm/page.h | 2 +- arch/powerpc/include/asm/pgalloc-32.h | 2 +- arch/powerpc/include/asm/rtas.h | 3 ++- arch/powerpc/kernel

[PATCH] bootmem/powerpc: Unify bootmem initialization

2014-03-26 Thread Emil Medve
tly mapped by the kernel Signed-off-by: Emil Medve --- arch/powerpc/mm/mem.c | 36 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 32202c9..807a950 100644 --- a/arch/powerpc/mm/mem.c +++ b/ar

[PATCH 2/2] powerpc: Enable NO_BOOTMEM

2014-04-01 Thread Emil Medve
Currently bootmem is just a wrapper around memblock. This gets rid of the wrapper code just as other ARHC(es) did: x86, arm, etc. Signed-off-by: Emil Medve --- arch/powerpc/Kconfig | 3 +++ arch/powerpc/mm/mem.c | 8 2 files changed, 11 insertions(+) diff --git a/arch/powerpc/Kconfig

[PATCH 1/2] bootmem/powerpc: Unify bootmem initialization

2014-04-01 Thread Emil Medve
tly mapped by the kernel Signed-off-by: Emil Medve --- arch/powerpc/mm/mem.c | 36 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 32202c9..eaf5d1d8 100644 --- a/arch/powerpc/mm/mem.c +++ b/ar

[PATCH 0/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-20 Thread Emil Medve
These patches are based on: http://patchwork.ozlabs.org/patch/417297 http://patchwork.ozlabs.org/patch/417295 http://patchwork.ozlabs.org/patch/417292 The first 5 patches below are checkpatch/static analysis fixes Emil Medve (8): clk: ppc-corenet: Fix checkpatch type PARENTHESIS_ALIGNMENT

[PATCH 3/8] clk: ppc-corenet: Fix checkpatch type ALLOC_SIZEOF_STRUCT

2015-01-20 Thread Emil Medve
)...) + onecell_data = kzalloc(sizeof(struct clk_onecell_data), GFP_KERNEL); Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc-corenet.c index efa74aa..a439f52 100644

[PATCH 2/8] clk: ppc-corenet: Fix checkpatch type ALLOC_WITH_MULTIPLY

2015-01-20 Thread Emil Medve
WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply + subclks = kzalloc(sizeof(struct clk *) * count, GFP_KERNEL); Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-ppc

[PATCH 5/8] clk: ppc-corenet: Make local symbol 'static'

2015-01-20 Thread Emil Medve
drivers/clk/clk-ppc-corenet.c:63:22: warning: symbol 'cmux_ops' was not declared. Should it be static? Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc

[PATCH 7/8] powerpc/corenet: Enable CLK_PPC_CORENET

2015-01-20 Thread Emil Medve
Change-Id: I1a80ad7b9f6854791bd270b746f93a91439155a6 Signed-off-by: Emil Medve --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc

[PATCH 6/8] clk: ppc-corenet: Replace kzalloc() with kmalloc()

2015-01-20 Thread Emil Medve
Where the memset() is not necessary Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc-corenet.c index d84a7f0..91816b1 100644 --- a/drivers/clk/clk-ppc-corenet.c

[PATCH 4/8] clk: ppc-corenet: Fix checkpatch type OOM_MESSAGE

2015-01-20 Thread Emil Medve
nnecessary 'out of memory' message + if (!onecell_data) { + pr_err("%s: could not allocate onecell_data\n", __func__); Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --g

[PATCH 1/8] clk: ppc-corenet: Fix checkpatch type PARENTHESIS_ALIGNMENT

2015-01-20 Thread Emil Medve
K:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis + pr_err("Could not register clk provider for node:%s\n", + np->name); Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 8 1 file changed, 4 insertions(+), 4 de

[PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-20 Thread Emil Medve
Change-Id: Iac11ed95f274485a86d2c11f32a3dc502bcd020f Signed-off-by: Emil Medve --- drivers/clk/clk-ppc-corenet.c | 85 +++ 1 file changed, 85 insertions(+) diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc-corenet.c index 91816b1..ff425e1

Re: [PATCH 0/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-20 Thread Emil Medve
patch link: > http://patchwork.ozlabs.org/patch/429257/ I'll rebase on top of this and resubmit Cheers, > http://patchwork.ozlabs.org/patch/429258/ > > Thanks, > Yuantian > >> -Original Message- >> From: Emil Medve [mailto:emilian.me...@freescale.com] >>

Re: [PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-21 Thread Emil Medve
Yes, the flow is similar, but core_pll_init() makes assumptions that it shouldn't or are not relevant to the platform PLL Cheers, > Thanks, > Yuantian > >> -Original Message- >> From: Emil Medve [mailto:emilian.me...@freescale.com] >> Sent: Tuesday, Jan

Re: [PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-21 Thread Emil Medve
foresight Cheers, > Thanks, > Yuantian > >> -Original Message- >> From: Emil Medve [mailto:emilian.me...@freescale.com] >> Sent: Wednesday, January 21, 2015 4:20 PM >> To: Tang Yuantian-B29983; linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; >> mtur

Re: [PATCH 8/8] clk: ppc-corenet: Add support for the platform PLL

2015-01-21 Thread Emil Medve
> Thanks, > Yuantian > >> -Original Message- >> From: Emil Medve [mailto:emilian.me...@freescale.com] >> Sent: Wednesday, January 21, 2015 5:03 PM >> To: Tang Yuantian-B29983; linuxppc-dev@lists.ozlabs.org; Wood Scott-B07421; >> mturque...@linaro.or

[PATCH v2 05/10] clk: qoriq: Make local symbol 'static'

2015-01-21 Thread Emil Medve
drivers/clk/clk-qoriq.c:59:22: warning: symbol 'cmux_ops' was not declared. Should it be static? Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index e25dea

[PATCH v2 01/10] clk: qoriq: Fix checkpatch type PARENTHESIS_ALIGNMENT

2015-01-21 Thread Emil Medve
K:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis + pr_err("Could not register clk provider for node:%s\n", + np->name); Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 8 1 file changed, 4 insertions(+), 4 deleti

[PATCH v2 06/10] clk: qoriq: Replace kzalloc() with kmalloc()

2015-01-21 Thread Emil Medve
Where the memset() is not necessary Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 07936a3..4b44825 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk

[PATCH v2 09/10] clk: qoriq: Add support for the platform PLL

2015-01-21 Thread Emil Medve
Change-Id: Iac11ed95f274485a86d2c11f32a3dc502bcd020f Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 83 + 1 file changed, 83 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 07bdfc5..cda90a9 100644 --- a

[PATCH v2 00/10] clk: qoriq: Add support for the FMan clock

2015-01-21 Thread Emil Medve
Based on clk-next from git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git v2: Rebased as several prerequisite patches (including a file rename) got applied upstream Emil Medve (9): clk: qoriq: Fix checkpatch type PARENTHESIS_ALIGNMENT clk: qoriq: Fix checkpatch type

[PATCH v2 07/10] clk: qoriq: Use pr_fmt()

2015-01-21 Thread Emil Medve
Currently a mix of clk-qoriq/qoriq-clk and no prefix is used Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 4b44825..07bdfc5 100644 --- a/drivers/clk/clk

[PATCH v2 02/10] clk: qoriq: Fix checkpatch type ALLOC_WITH_MULTIPLY

2015-01-21 Thread Emil Medve
WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply + subclks = kzalloc(sizeof(struct clk *) * count, GFP_KERNEL); Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-qoriq.c b

[PATCH v2 04/10] clk: qoriq: Fix checkpatch type OOM_MESSAGE

2015-01-21 Thread Emil Medve
nnecessary 'out of memory' message + if (!onecell_data) { + pr_err("%s: could not allocate onecell_data\n", __func__); Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drive

[PATCH v2 08/10] powerpc/corenet: Enable CLK_QORIQ

2015-01-21 Thread Emil Medve
Change-Id: I1a80ad7b9f6854791bd270b746f93a91439155a6 Signed-off-by: Emil Medve --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc

[PATCH v2 10/10] clk: qoriq: Add support for the FMan clock

2015-01-21 Thread Emil Medve
From: Igal Liberman Change-Id: Ide452600ece9fdd7028a27556d2f1ab3bddd3aa5 Signed-off-by: Igal Liberman --- drivers/clk/clk-qoriq.c | 253 1 file changed, 253 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index cda90

[PATCH v2 03/10] clk: qoriq: Fix checkpatch type ALLOC_SIZEOF_STRUCT

2015-01-21 Thread Emil Medve
)...) + onecell_data = kzalloc(sizeof(struct clk_onecell_data), GFP_KERNEL); Signed-off-by: Emil Medve --- drivers/clk/clk-qoriq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 475ce1c..a1cd137 100644 --- a/drivers/clk/clk

[PATCH] powerpc: Replace cpumask_weight(cpu_possible_mask) with num_possible_cpus()

2015-01-21 Thread Emil Medve
Signed-off-by: Emil Medve --- arch/powerpc/platforms/cell/smp.c| 2 +- arch/powerpc/platforms/pseries/hotplug-cpu.c | 2 +- arch/powerpc/sysdev/mpic.c | 2 +- arch/powerpc/sysdev/xics/xics-common.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff

[PATCH] powerpc: Remove duplicate tlbcam_index declarations

2015-01-21 Thread Emil Medve
They seem to be leftovers from '14cf11a powerpc: Merge enough to start building in arch/powerpc' Signed-off-by: Emil Medve --- arch/powerpc/mm/fsl_booke_mmu.c | 2 -- arch/powerpc/mm/pgtable_32.c| 1 - 2 files changed, 3 deletions(-) diff --git a/arch/powerpc/mm/fsl_booke_mm

[PATCH] powerpc/dts: Remove T4240 emulator support

2015-01-21 Thread Emil Medve
Probably we should have not upstreamed this in the first place Signed-off-by: Emil Medve --- arch/powerpc/boot/dts/t4240emu.dts | 281 - 1 file changed, 281 deletions(-) delete mode 100644 arch/powerpc/boot/dts/t4240emu.dts diff --git a/arch/powerpc/boot

Re: [PATCH] powerpc: Replace cpumask_weight(cpu_possible_mask) with num_possible_cpus()

2015-01-21 Thread Emil Medve
Hello Michael, On 01/21/2015 07:12 PM, Michael Ellerman wrote: > On Wed, 2015-01-21 at 16:21 -0600, Emil Medve wrote: >> Signed-off-by: Emil Medve > > Why? > > Because: > >#define num_possible_cpus()cpumask_weight(cpu_possible_mask) > > > B

[PATCH v3 2/2] powerpc/corenet: Enable muxing MDIO buses via FPGA

2015-01-22 Thread Emil Medve
From: Shruti Kanetkar Change-Id: I00c521664573808af4f9a9c06a97665db470b49a Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Signed-off-by: Shruti Kanetkar --- v3: Spearated from the FMan MDIO dt/binding patchset http://patchwork.ozlabs.org/patch/370873 Also supersedes http:

[PATCH v3 1/2] powerpc/corenet: Enable muxing MDIO buses via GPIO

2015-01-22 Thread Emil Medve
From: Andy Fleming Change-Id: I4489db79957ad533f4ba3f04fe7d5bcb3288e981 Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Signed-off-by: Shruti Kanetkar --- v3: Spearated from the FMan MDIO dt/binding patchset http://patchwork.ozlabs.org/patch/370871 Also supersedes http://p

Re: [PATCH v2 00/10] clk: qoriq: Add support for the FMan clock

2015-01-28 Thread Emil Medve
Hello Mike, On 01/28/2015 12:15 PM, Mike Turquette wrote: > Quoting Emil Medve (2015-01-21 02:03:22) >> Based on clk-next from >> git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git >> >> v2: Rebased as several prerequisite patches (including a file ren

Re: [v5, 5/6] powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s)

2015-01-30 Thread Emil Medve
Hello Scott, On 01/29/2015 11:03 PM, Scott Wood wrote: > On Mon, Dec 08, 2014 at 04:29:20AM -0600, Emil Medve wrote: >> From: Kumar Gala >> >> Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760 >> Signed-off-by: Kumar Gala >> Signed-off-by: Geoff Thorpe

[PATCH v4 1/2] powerpc/corenet: Enable muxing MDIO buses via GPIO

2015-02-01 Thread Emil Medve
From: Andy Fleming Change-Id: I4489db79957ad533f4ba3f04fe7d5bcb3288e981 Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- v4: Add 'Signed-off-by' v3: Spearated from the FMan MDIO dt/binding patc

[PATCH v4 2/2] powerpc/corenet: Enable muxing MDIO buses via FPGA

2015-02-01 Thread Emil Medve
From: Shruti Kanetkar Change-Id: I00c521664573808af4f9a9c06a97665db470b49a Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- v4: Add 'Signed-off-by' v3: Spearated from the FMan MDIO dt/binding patc

[PATCH v3] net/fsl_pq_mdio: Document supported compatibles

2015-02-01 Thread Emil Medve
From: Shruti Kanetkar The device tree binding(s) document has fallen out of sync with the driver code. Update the list of supported devices to reflect current driver capabilities Change-Id: I440d8de2ee2d9c3b7b23e69b3da851cab18a4c9a Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve

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

2015-02-01 Thread Emil Medve
From: Kumar Gala Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760 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 --- v6

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

2015-02-01 Thread Emil Medve
From: Kumar Gala Change-Id: If643fa5ba0a903aef8f5056a2c90ebecc995b760 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 --- v6

[PATCH] powerpc/dts: Remove B4860 emulator support

2015-02-03 Thread Emil Medve
From: Emil Medve Probably we should have not upstreamed this in the first place Signed-off-by: Emil Medve --- arch/powerpc/boot/dts/b4860emu.dts | 223 - 1 file changed, 223 deletions(-) delete mode 100644 arch/powerpc/boot/dts/b4860emu.dts diff --git a

[RFC 10/10] fsl_qman: Add HOTPLUG_CPU support

2015-02-04 Thread Emil Medve
From: Hai-Ying Wang Change-Id: Ica4d1b2b0fd3c3ae5e043663febd9f4cb7c762cf Signed-off-by: Hai-Ying Wang --- drivers/staging/fsl_qbman/qman_driver.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/staging/fsl_qbman/qman_driver.c b/drivers/staging/fsl

[RFC 06/10] fsl_qman: Add self-tester

2015-02-04 Thread Emil Medve
From: Geoff Thorpe Change-Id: I314d36d94717cfc34053b6212899f71cb729d16c Signed-off-by: Geoff Thorpe --- drivers/staging/fsl_qbman/Kconfig | 24 ++ drivers/staging/fsl_qbman/Makefile | 24 +- drivers/staging/fsl_qbman/qman_test.c | 57 +++ drivers/staging/

[RFC 09/10] fsl_bman: Add HOTPLUG_CPU support

2015-02-04 Thread Emil Medve
From: Hai-Ying Wang Change-Id: I863d5c15c7f35f9de4ea3d985e4ff467167924b7 Signed-off-by: Hai-Ying Wang --- drivers/staging/fsl_qbman/bman_driver.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fsl_qbman/bman_driver.c b/driv

[RFC 04/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA QMan

2015-02-04 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe --- arch/powerpc/platforms/85xx/corenet_generic.c | 8 +++- arch/powerpc/platforms/85xx/p1023_rdb.c | 8 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/po

[RFC 07/10] fsl_bman: Add debugfs support

2015-02-04 Thread Emil Medve
From: Geoff Thorpe Change-Id: I7eea7aea8a58ad0c28451b70801c0d101e88d263 Signed-off-by: Geoff Thorpe --- drivers/staging/fsl_qbman/Kconfig| 7 ++ drivers/staging/fsl_qbman/Makefile | 2 + drivers/staging/fsl_qbman/bman_debugfs.c | 119 +++ drivers/st

[RFC 00/10] Freescale DPAA B/QMan drivers

2015-02-04 Thread Emil Medve
Hello, This is the first attempt to publish the Freescale DPAA B/QMan drivers. They are not to be applied yet. At this stage, this is more or less the drivers from the Freescale PowerPC SDK roughly squashed and split in a sequence of component patches. They still needs some work and cleanup bef

[RFC 05/10] fsl_bman: Add self-tester

2015-02-04 Thread Emil Medve
From: Geoff Thorpe Change-Id: If1b44bb013addc1e855c73a4e6ff74bc8b6e4829 Signed-off-by: Geoff Thorpe --- drivers/staging/fsl_qbman/Kconfig| 26 drivers/staging/fsl_qbman/Makefile | 16 ++- drivers/staging/fsl_qbman/bman_test.c| 56 drivers/staging/f

[RFC 08/10] fsl_qman: Add debugfs support

2015-02-04 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59a75a91b289193b5ab1d30a08f60119dc4d7568 Signed-off-by: Geoff Thorpe --- drivers/staging/fsl_qbman/Kconfig|7 + drivers/staging/fsl_qbman/Makefile |2 + drivers/staging/fsl_qbman/qman_debugfs.c | 1326 ++ drivers/s

[RFC 03/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA BMan

2015-02-04 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe --- arch/powerpc/Kconfig | 33 +++ arch/powerpc/platforms/85xx/Kconfig | 11 + arch/powerpc/platforms/85xx/corenet_generic.c | 2

Re: [RFC 00/10] Freescale DPAA B/QMan drivers

2015-02-04 Thread Emil Medve
Hello Greg, Thanks for looking at this On 02/04/2015 12:40 PM, Greg KH wrote: > On Wed, Feb 04, 2015 at 08:48:32AM -0600, Emil Medve wrote: >> >> Hello, >> >> >> This is the first attempt to publish the Freescale DPAA B/QMan drivers. They >> are >>

Re: [RFC 00/10] Freescale DPAA B/QMan drivers

2015-02-05 Thread Emil Medve
Hello Dan, Thanks for the reply On 02/05/2015 02:41 AM, Dan Carpenter wrote: > Normally, for staging drivers we just require the TODO and a maintainer > and we merge things as-is. There isn't really much review of the code. I think I'll go for drivers/soc as we have quite a handful of other dr

Re: [RFC 00/10] Freescale DPAA B/QMan drivers

2015-02-05 Thread Emil Medve
Hello Bob, On 02/05/2015 09:48 AM, Bob Cochran wrote: > On 02/04/2015 09:48 AM, Emil Medve wrote: >> >> Hello, >> >> >> This is the first attempt to publish the Freescale DPAA B/QMan >> drivers. They are >> not to be applied yet. At this stage,

Re: [PATCH] powerpc/dts: Update platform PLL node

2015-02-08 Thread Emil Medve
Hello Scott, On 01/29/2015 10:12 PM, Scott Wood wrote: From: Igal Liberman Signed-off-by: Igal Liberman Change-Id: I92d020651237041d3767aa35e9345439714f9831 --- arch/powerpc/boot/dts/fsl/qoriq-clockgen2.dtsi |6 -- 1 file changed, 4 insertions(+), 2 d

[RFC v2 10/10] fsl_qman: Add HOTPLUG_CPU support

2015-02-16 Thread Emil Medve
From: Hai-Ying Wang Change-Id: Ica4d1b2b0fd3c3ae5e043663febd9f4cb7c762cf Signed-off-by: Hai-Ying Wang --- drivers/soc/freescale/qman_portal.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/soc/freescale/qman_portal.c b/drivers/soc/freescale/q

[RFC v2 09/10] fsl_bman: Add HOTPLUG_CPU support

2015-02-16 Thread Emil Medve
From: Hai-Ying Wang Change-Id: I863d5c15c7f35f9de4ea3d985e4ff467167924b7 Signed-off-by: Hai-Ying Wang --- drivers/soc/freescale/bman_portal.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/drivers/soc/freescale/bman_portal.c b/drivers/

[RFC v2 03/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA BMan

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe --- arch/powerpc/Kconfig | 5 + arch/powerpc/configs/mpc85xx_defconfig| 1 + arch/powerpc/configs/mpc85xx_smp_defconfig| 1 + arch/powerpc/platforms/85

[RFC v2 00/10] Freescale DPAA B/QMan drivers

2015-02-16 Thread Emil Medve
v2: Moved out of staging into soc/freescale Hello, This is the se attempt to publish the . They are not to be applied yet. These are the Freescale DPAA B/QMan drivers. At this stage, this is more or less the drivers from the Freescale PowerPC SDK roughly squashed and split in a sequence o

[RFC v2 06/10] fsl_qman: Add self-tester

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I314d36d94717cfc34053b6212899f71cb729d16c Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig | 26 +- drivers/soc/freescale/Makefile | 4 + drivers/soc/freescale/bman_test.c | 2 +- drivers/s

[RFC v2 05/10] fsl_bman: Add self-tester

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: If1b44bb013addc1e855c73a4e6ff74bc8b6e4829 Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig| 26 drivers/soc/freescale/Makefile | 8 +- drivers/soc/freescale/bman.c | 16 +-- drivers/soc/freescale/bman_api.c

[RFC v2 08/10] fsl_qman: Add debugfs support

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59a75a91b289193b5ab1d30a08f60119dc4d7568 Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig|7 + drivers/soc/freescale/Makefile |1 + drivers/soc/freescale/qman_api.c | 58 ++ drivers/soc/freescale/qman_debugfs.c | 1326 +

[RFC v2 07/10] fsl_bman: Add debugfs support

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I7eea7aea8a58ad0c28451b70801c0d101e88d263 Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig| 7 +++ drivers/soc/freescale/Makefile | 1 + drivers/soc/freescale/bman_api.c | 19 ++ drivers/soc/freescale/bman_debugfs.c | 119 +++

[RFC v2 04/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA QMan

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe --- arch/powerpc/platforms/85xx/corenet_generic.c | 8 +++- arch/powerpc/platforms/85xx/p1023_rdb.c | 8 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/po

Re: [RFC v2 01/10] fsl_bman: Add drivers for the Freescale DPAA BMan

2015-02-18 Thread Emil Medve
Hello Kumar, Thanks for taking the time to review this On 02/18/2015 11:43 AM, Kumar Gala wrote: > On Feb 16, 2015, at 9:46 AM, Emil Medve wrote: > >> From: Geoff Thorpe >> >> Change-Id: I075944acf740dbaae861104c17a9ff7247dec1be >> Signed-off-by: Geoff Thorpe

Re: [PATCH][v3] powerpc/mpc85xx: Add FMan platform support

2015-02-23 Thread Emil Medve
Hello Scott, On 02/23/2015 04:01 PM, Scott Wood wrote: > On Wed, 2015-02-18 at 16:04 +0200, Igal.Liberman wrote: >> From: Igal Liberman >> >> Get the FMan devices/sub-nodes (MAC, MDIO, etc.) auto-probed >> >> Signed-off-by: Igal Liberman >> --- >> arch/powerpc/platforms/85xx/common.c

[PATCH 2/3] powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA FMan

2015-02-26 Thread Emil Medve
From: Igal Liberman Based on prior work by Andy Fleming Signed-off-by: Igal Liberman Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- arch/powerpc/boot/dts/fsl/qoriq-fman-0-10g-0.dtsi | 62 arch/powerpc/boot/dts/fsl/qoriq-fman-0-1g-0.dtsi | 69

[PATCH 3/3] powerpc/mpc85xx: Add FSL QorIQ DPAA FMan support to the SoC device tree(s)

2015-02-26 Thread Emil Medve
From: Igal Liberman Based on prior work by Andy Fleming Signed-off-by: Igal Liberman Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi | 9 ++- arch/powerpc/boot/dts/fsl/b4860si-post.dtsi | 20 - arch/powerpc/boot/dts/fsl

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

2015-02-26 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- arch/powerpc/boot/dts/fsl/b4si-post.dtsi| 11 +++ arch/powerpc/boot/dts/fsl/p2041si-post.dtsi | 8 arch/powerpc/boot/dts/fsl/p3041si-post.dtsi | 8 arch/powerpc/boot/dts/fsl/p4080si-post.dtsi | 16 +

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

2015-02-27 Thread Emil Medve
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 --- v7: Remove 'Change-Id' v6: Rebase ar

[v7 1/2] powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s)

2015-02-27 Thread Emil Medve
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 --- v7: Remove 'Change-Id' v6: Rebase ar

[v5 1/2] powerpc/corenet: Enable muxing MDIO buses via GPIO

2015-02-27 Thread Emil Medve
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- v5: Remove 'Change-Id' v4: Add 'Signed-off-by' v3: Spearated from the FMan MDIO dt/binding patchset http://patchwork.ozl

[v5 2/2] powerpc/corenet: Enable muxing MDIO buses via FPGA

2015-02-27 Thread Emil Medve
From: Shruti Kanetkar Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- v5: Remove 'Change-Id' v4: Add 'Signed-off-by' v3: Spearated from the FMan MDIO dt/binding patchset http://patchw

[PATCH] powerpc/mpc85xx: Add MDIO bus muxing support to the board device tree(s)

2015-03-02 Thread Emil Medve
From: Igal Liberman Describe the PHY topology for all configurations supported by each board Based on prior work by Andy Fleming Change-Id: I4fbcc5df9ee7c4f784afae9dab5d1e78cdc24f0f Signed-off-by: Igal Liberman Signed-off-by: Shruti Kanetkar Signed-off-by: Emil Medve --- arch/powerpc/boot

Re: [PATCH] powerpc/mpc85xx: Add MDIO bus muxing support to the board device tree(s)

2015-03-02 Thread Emil Medve
Hello Scott, On 03/02/2015 09:32 AM, Emil Medve wrote: > From: Igal Liberman > > Describe the PHY topology for all configurations supported by each board > > Based on prior work by Andy Fleming > > Change-Id: I4fbcc5df9ee7c4f784afae9dab5d1e78cdc24f0f Bah, I'll re

[PATCH 0/7] Freescale DPAA FMan FLIB(s)

2015-03-04 Thread Emil Medve
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ P and T series multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU

[PATCH 6/7] soc/fman: Add the FMan RTC FLIB

2015-03-04 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig| 6 + drivers/soc/fsl/fman/Makefile | 1 + drivers/soc/fsl/fman/rtc/Makefile | 13 ++ drivers/soc/fsl/fman/rtc/fman_rtc.c | 354 4 files changed, 374 inser

[PATCH 7/7] soc/fman: Add the FMan SP FLIB

2015-03-04 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Makefile | 1 + drivers/soc/fsl/fman/sp/Makefile | 13 +++ drivers/soc/fsl/fman/sp/fman_sp.c | 204 ++ 3 files changed, 218 insertions(+) create mode 100644 drivers/soc/fsl/fma

[PATCH 5/7] soc/fman: Add the FMan parser and KeyGen FLIB(s)

2015-03-04 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig| 6 + drivers/soc/fsl/fman/Makefile | 1 + drivers/soc/fsl/fman/pcd/Makefile | 13 + drivers/soc/fsl/fman/pcd/fman_kg.c | 850 drivers/soc/fsl/fman/pcd/fm

[PATCH 2/7] soc/fman: Add the FMan FLIB

2015-03-04 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/Kconfig |1 + drivers/soc/Makefile |1 + drivers/soc/fsl/Kconfig |1 + drivers/soc/fsl/Makefile |1 + drivers/soc/fsl/fman/Kconfig |7 + drivers/soc/fsl/fman/Makefile | 13 + dr

[PATCH 3/7] soc/fman: Add the FMan port FLIB

2015-03-04 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig | 10 + drivers/soc/fsl/fman/Makefile |2 + drivers/soc/fsl/fman/port/Makefile| 13 + drivers/soc/fsl/fman/port/fman_port.c | 1536 + 4 files changed, 1

[PATCH 4/7] soc/fman: Add the FMan MAC FLIB

2015-03-04 Thread Emil Medve
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig | 6 + drivers/soc/fsl/fman/Makefile | 7 +- drivers/soc/fsl/fman/mac/Makefile | 15 + drivers/soc/fsl/fman/mac/fman_crc32.c | 117 drivers/soc/fsl/fm

Re: [PATCH 0/7] Freescale DPAA FMan FLIB(s)

2015-03-05 Thread Emil Medve
Hello Jamal, On 03/05/2015 06:32 AM, Jamal Hadi Salim wrote: > On 03/05/15 00:45, Emil Medve wrote: >> From: Igal Liberman >> >> The Freescale Data Path Acceleration Architecture (DPAA) is a set of >> hardware components on specific QorIQ P and T series multi

Re: [PATCH 0/7] Freescale DPAA FMan FLIB(s)

2015-03-05 Thread Emil Medve
Hello Jamal, On 03/05/2015 08:35 AM, Jamal Hadi Salim wrote: > Hi Emil, > > On 03/05/15 08:48, Emil Medve wrote: > >> The intent is to upstream the entire suite of the DPAA drivers. All the >> drivers are still WIP, but B/QMan have been already presented to the >&g

[RFC v3 04/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA QMan

2015-03-09 Thread Emil Medve
From: Geoff Thorpe Signed-off-by: Geoff Thorpe --- arch/powerpc/platforms/85xx/corenet_generic.c | 8 +++- arch/powerpc/platforms/85xx/p1023_rdb.c | 8 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerp

[RFC v3 03/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA BMan

2015-03-09 Thread Emil Medve
From: Geoff Thorpe Signed-off-by: Geoff Thorpe --- arch/powerpc/Kconfig | 33 +++ arch/powerpc/configs/mpc85xx_defconfig| 1 + arch/powerpc/configs/mpc85xx_smp_defconfig| 1 + arch/powerpc/platforms/85xx/Kconfig | 11 +

[RFC v3 00/10] Freescale DPAA B/QMan drivers

2015-03-09 Thread Emil Medve
v3: Addressed feedback from Kumar and Scott (partially, more in the next round) Moved public headers into include/soc/fsl and code into drivers/soc/fsl Various clean-up v2: Moved out of staging into soc/freescale To do: Add a maintainer(s) entry Add module(s) sup

[RFC v3 05/10] fsl_bman: Add self-tester

2015-03-09 Thread Emil Medve
From: Geoff Thorpe Signed-off-by: Geoff Thorpe --- drivers/soc/fsl/Kconfig| 26 + drivers/soc/fsl/Makefile | 4 + drivers/soc/fsl/bman_test.c| 55 +++ drivers/soc/fsl/bman_test.h| 43 drivers/soc/fsl/bman_test_api.c| 180 ++

<    1   2   3   >