Re: [PATCH v2] net: stmmac: Fix wrong message in stmmac_probe_config_dt

2017-02-02 Thread Joao Pinto
p_rate = clk_get_rate(plat->clk_ptp_ref); > - dev_info(>dev, "No reset control found\n"); > + dev_dbg(>dev, "PTP rate %d\n", plat->clk_ptp_rate); > } > > plat->stmmac_rst = devm_reset_control_get(>dev, > Acked-By: Joao Pinto <jpi...@synopsys.com>

Re: [PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Joao Pinto
Às 10:33 AM de 1/31/2017, Giuseppe CAVALLARO escreveu: > On 1/31/2017 11:23 AM, Joao Pinto wrote: >> >> Hi Peppe, >> >> Às 10:00 AM de 1/31/2017, Giuseppe CAVALLARO escreveu: >>> Hello Corentin >>> >>> On 1/31/2017 10:11 AM, Corentin La

Re: [PATCH 00/17] net: stmmac: misc fix

2017-01-31 Thread Joao Pinto
Hi Peppe, Às 10:00 AM de 1/31/2017, Giuseppe CAVALLARO escreveu: > Hello Corentin > > On 1/31/2017 10:11 AM, Corentin Labbe wrote: >> Hello >> >> I am currently working on dwmac-sun8i glue driver for Allwinner H3/A83T/A64. >> This serie is the result of all minor problem found in the stmmac

Performance in stmmac

2017-02-07 Thread Joao Pinto
Hi to all, I finished implementing the multi-queue / multi-channel in stmmac and I am now making some tests. The mechanism is working properly, but the performance could be better (~440Mb/s) :). For measuring I am using iperf: synopsys@pt02ipk1:~$ iperf -c 192.168.0.3 --port 5001 -t 20 -i 5

Re: [PATCH] net: stmicro: fix LS field mask in EEE configuration

2017-01-23 Thread Joao Pinto
Hi David, Às 9:49 PM de 1/22/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Fri, 20 Jan 2017 16:00:26 + > >> This patch fixes the LS mask when setting EEE timer. >> LS field is 10 bits long and not 11 as currently. >>

[PATCH net-next] net: stmicro: dwmac4 comments enhancement

2017-01-23 Thread Joao Pinto
This patch adds clarification about the HW Controller that the dwmac4 driver package is targeting. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 4 ++-- drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c | 4 ++-- drivers/net/et

Re: [PATCH net-next v2 1/3] net: stmicro: prepare dwmac4 core for mtl

2017-02-17 Thread Joao Pinto
Hi David, Às 6:02 PM de 2/17/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Thu, 16 Feb 2017 11:19:39 + > >> This patch adds the following features: >> >> a) RX and TX scheduling algorithm configuration (can be configure

[PATCH 3/3] net: stmicro: multiple buffer support

2017-02-14 Thread Joao Pinto
in the controller c) Since the number of RX queues and TX queues can be different, functions were broken into RX and TX related to enable separated treatment when possible d) stmmac_main had to be adapted to enable the multiple buffering mechanism Signed-off-by: Joao Pinto <jpi...@synopsys.

[PATCH 1/3] net: stmicro: prepare dwmac4 core for mtl

2017-02-14 Thread Joao Pinto
we get the core related operations ready for multiple queue/channel. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Documentation/devicetree/bindings/net/stmmac.txt | 11 ++ drivers/net/ethernet/stmicro/stmmac/common.h | 29 ++- .../net/ethernet/stmicro/stmmac/dwmac1000_

[PATCH 0/3] add support for multiple queues/channels in stmmac

2017-02-14 Thread Joao Pinto
buffers. Some of the functions had to be broken in RX and TX related, in order to enable separated treatment, since the number of RX queues can be different from the number of TX queues for example. Each patch and the final patch-set were tested using a 4.21 EQOS IP Core. Joao Pinto (3): net

[PATCH 2/3] net: stmicro: prepare dwmac4 dma for mtl

2017-02-14 Thread Joao Pinto
related operations ready for multiple queue/channel. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/stmicro/stmmac/common.h | 60 ++- .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c| 16 +- drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 19 +- d

[PATCH net-next v2 0/3] add support for multiple queues/channels in stmmac

2017-02-16 Thread Joao Pinto
buffers. Some of the functions had to be broken in RX and TX related, in order to enable separated treatment, since the number of RX queues can be different from the number of TX queues for example. Each patch and the final patch-set were tested using a 4.21 EQOS IP Core. Joao Pinto (3): net

[PATCH net-next v2 2/3] net: stmicro: prepare dwmac4 dma for mtl

2017-02-16 Thread Joao Pinto
related operations ready for multiple queue/channel. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1->v2: - No changes, just keep up patch-set version. drivers/net/ethernet/stmicro/stmmac/common.h | 60 ++- .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c

[PATCH net-next v2 1/3] net: stmicro: prepare dwmac4 core for mtl

2017-02-16 Thread Joao Pinto
we get the core related operations ready for multiple queue/channel. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1->v2: - Kbuild test robot detected an unused variable (fixed) Documentation/devicetree/bindings/net/stmmac.txt | 11 ++ drivers/net/ethernet/stmic

[PATCH net-next v2 3/3] net: stmicro: multiple buffer support

2017-02-16 Thread Joao Pinto
in the controller c) Since the number of RX queues and TX queues can be different, functions were broken into RX and TX related to enable separated treatment when possible d) stmmac_main had to be adapted to enable the multiple buffering mechanism Signed-off-by: Joao Pinto <jpi...@synopsys.

[PATCH] stmicro: rename it to dwc to improve future development

2017-01-16 Thread Joao Pinto
and it becomes clear to the kernel user the purpose and scope of each driver. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/Kconfig | 2 +- drivers/net/ethernet/Makefile| 2 +- drivers/net/ethernet/{s

Re: [PATCH] stmicro: rename it to dwc to improve future development

2017-01-17 Thread Joao Pinto
Hello, Às 6:58 PM de 1/16/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Mon, 16 Jan 2017 13:26:31 + > >> The goal of this patch is to create an oficial Designware Ethernet place >> to deploy new drivers based on this fam

[PATCH] stmicro: add more information to Kconfig

2017-01-17 Thread Joao Pinto
://www.synopsys.com/dw/ipdir.php?ds=dwc_ether_qos Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/stmicro/Kconfig| 3 ++- drivers/net/ethernet/stmicro/stmmac/Kconfig | 15 +++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/et

Re: [PATCH] stmmac: adding EEE to GMAC4

2017-01-20 Thread Joao Pinto
Hi Rayagond, Às 6:01 AM de 1/19/2017, Rayagond Kokatanur escreveu: > On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto <joao.pi...@synopsys.com> wrote: >> This patch adds Energy Efficiency Ethernet to GMAC4. >> >> Signed-off-by: Joao Pinto <jpi...@synopsys.com> >&g

Re: [PATCH] stmmac: adding EEE to GMAC4

2017-01-20 Thread Joao Pinto
Sorry, please ignore, wrong patch file. Joao Pinto Às 6:01 AM de 1/19/2017, Rayagond Kokatanur escreveu: > On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto <joao.pi...@synopsys.com> wrote: >> This patch adds Energy Efficiency Ethernet to GMAC4. >> >> Signed-off-by: Joao

[RFC PATCH] net: stmicro: eQOS IP Core

2017-01-20 Thread Joao Pinto
/ipdir.php?ds=dwc_ether_qos Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/stmicro/stmmac/Makefile | 4 +- drivers/net/ethernet/stmicro/stmmac/common.h | 16 +-- .../ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c| 4 +- .../ethernet/stmicro/stmmac/{dw

[PATCH] net: stmicro: fix LS field mask in EEE configuration

2017-01-20 Thread Joao Pinto
This patch fixes the LS mask when setting EEE timer. LS field is 10 bits long and not 11 as currently. Signed-off-by: Joao Pinto <jpi...@synopsys.com> Reported-By: Rayagond Kokatanur <rayag...@vayavyalabs.com> --- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 +- 1 fil

Re: [PATCH] stmicro: add more information to Kconfig

2017-01-20 Thread Joao Pinto
My e-mail client went bogus, please ignore 2 past e-mails. Very sorry. Best Regards, Joao Pinto Às 3:57 PM de 1/20/2017, Joao Pinto escreveu: > This patch adds more info to stmicro' Kconfig files in order to be clearer > that the driver can be used by ethernet cards based on 10/100/100

Re: [PATCH 2/7] net: stmmac: Balance PTP reference clock enable/disable

2017-03-02 Thread Joao Pinto
atform_device *pdev, > const char **mac) > plat->clk_ptp_ref = NULL; > dev_warn(>dev, "PTP uses main clock\n"); > } else { > - clk_prepare_enable(plat->clk_ptp_ref); > plat->clk_ptp_rate = clk_get_rate(plat->clk_ptp_ref); > dev_dbg(>dev, "PTP rate %d\n", plat->clk_ptp_rate); > } > Reviewed-By: Joao Pinto <jpi...@synopsys.com>

Re: Synopsys Ethernet QoS Driver

2016-11-23 Thread Joao Pinto
Hi Peppe and Lars, On 23-11-2016 10:59, Giuseppe CAVALLARO wrote: > Hello Joao, Lars. > > On 11/22/2016 3:16 PM, Joao Pinto wrote: >>> Ok, it makes sense. >>> > Just for curiosity the target setup is the following: >>> > https://www.youtube.com/watc

Re: Synopsys Ethernet QoS Driver

2016-11-23 Thread Joao Pinto
On 23-11-2016 11:41, Lars Persson wrote: > >> 23 nov. 2016 kl. 12:11 skrev Joao Pinto <joao.pi...@synopsys.com>: >> >> Hi Peppe and Lars, >> >>> On 23-11-2016 10:59, Giuseppe CAVALLARO wrote: >>> Hello Joao, Lars. >>> >>>

Re: Synopsys Ethernet QoS Driver

2016-11-22 Thread Joao Pinto
Hi Lars and Peppe, On 21-11-2016 16:11, Joao Pinto wrote: > On 21-11-2016 15:43, Lars Persson wrote: >> >> >>> 21 nov. 2016 kl. 16:06 skrev Joao Pinto <joao.pi...@synopsys.com>: >>> >>>> On 21-11-2016 14:25, Giuseppe CAVALLARO wro

Re: Synopsys Ethernet QoS Driver

2016-11-18 Thread Joao Pinto
that we have available internally Thanks, Joao > > Regards, > > Ozgur Karatas > > 2016-11-18 15:28 GMT+03:00 Joao Pinto <joao.pi...@synopsys.com>: > >> >> Dear all, >> >> My name is Joao Pinto and I work at Synopsys. >> I am a kernel develop

Re: Synopsys Ethernet QoS Driver

2016-11-18 Thread Joao Pinto
Hi Florian, On 18-11-2016 14:53, Florian Fainelli wrote: > On November 18, 2016 4:28:30 AM PST, Joao Pinto <joao.pi...@synopsys.com> > wrote: >> >> Dear all, >> >> My name is Joao Pinto and I work at Synopsys. >> I am a kernel developer with specia

Re: Synopsys Ethernet QoS Driver

2016-11-18 Thread Joao Pinto
On 18-11-2016 16:35, Florian Fainelli wrote: > > > On 11/18/2016 08:31 AM, Joao Pinto wrote: >> Hi Florian, >> >> On 18-11-2016 14:53, Florian Fainelli wrote: >>> On November 18, 2016 4:28:30 AM PST, Joao Pinto <joao.pi...@synopsys.com> >>>

Synopsys Ethernet QoS Driver

2016-11-18 Thread Joao Pinto
Dear all, My name is Joao Pinto and I work at Synopsys. I am a kernel developer with special focus in mainline collaboration, both Linux and Buildroot. I was recently named one of the maintainers of the PCIe Designware core driver and I was the author of the Designware UFS driver stack. I am

Synopsys Ethernet QoS Driver

2016-11-18 Thread Joao Pinto
[The previous e-mail had an error, please consider this one. Thank you.] Dear all, My name is Joao Pinto and I work at Synopsys. I am a kernel developer with special focus in mainline collaboration, both Linux and Buildroot. I was recently named one of the maintainers of the PCIe Designware core

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
Hello, On 21-11-2016 05:29, Rayagond Kokatanur wrote: > On Sat, Nov 19, 2016 at 7:26 PM, Rabin Vincent <ra...@rab.in> wrote: >> On Fri, Nov 18, 2016 at 02:20:27PM +0000, Joao Pinto wrote: >>> For now we are interesting in improving the synopsys QoS driver under >

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
Hello Peppe, On 21-11-2016 12:52, Giuseppe CAVALLARO wrote: > Hello Joao > > On 11/21/2016 1:32 PM, Joao Pinto wrote: >> Hello, >> >> On 21-11-2016 05:29, Rayagond Kokatanur wrote: >>> On Sat, Nov 19, 2016 at 7:26 PM, Rabin Vincent <ra...@rab.in> wrot

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 14:25, Giuseppe CAVALLARO wrote: > On 11/21/2016 2:28 PM, Lars Persson wrote: >> >> >>> 21 nov. 2016 kl. 13:53 skrev Giuseppe CAVALLARO <peppe.cavall...@st.com>: >>> >>> Hello Joao >>> >>>> On 11/21/2016 1:32 PM, J

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 14:36, Giuseppe CAVALLARO wrote: > Hello Joao > > On 11/21/2016 2:48 PM, Joao Pinto wrote: >> Synopsys QoS IP is a separated hardware component, so it should be reusable >> by >> all implementations using it and so have its own "core driver&quo

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 15:03, Giuseppe CAVALLARO wrote: > On 11/21/2016 4:00 PM, Joao Pinto wrote: >> On 21-11-2016 14:36, Giuseppe CAVALLARO wrote: >>> Hello Joao >>> >>> On 11/21/2016 2:48 PM, Joao Pinto wrote: >>>> Synopsys QoS IP is a separated ha

Re: Synopsys Ethernet QoS Driver

2016-11-21 Thread Joao Pinto
On 21-11-2016 15:43, Lars Persson wrote: > > >> 21 nov. 2016 kl. 16:06 skrev Joao Pinto <joao.pi...@synopsys.com>: >> >>> On 21-11-2016 14:25, Giuseppe CAVALLARO wrote: >>>> On 11/21/2016 2:28 PM, Lars Persson wrote: >>>> >>>>

Synopsys Ethernet QoS

2016-12-09 Thread Joao Pinto
Dear David Miller, These past 2 weeks we have been discussing the right way to go in terms of Synopsys QoS support in the kernel. The approach that raised more supporters was: a) Test /stmicro/stmmac driver in a reference hardware prototyping platform (QoS IPK) [Status: In Progress | 90%

Re: Synopsys Ethernet QoS

2016-12-09 Thread Joao Pinto
Hi David, Of course, I started a general discussion about the subject and those were the conclusions, but I would like to know if you as the subsystem maintainer also support the approach or have any suggestion. Thanks, Joao Às 3:33 PM de 12/9/2016, David Miller escreveu: > From: Joao Pi

Re: Synopsys Ethernet QoS

2016-12-09 Thread Joao Pinto
Às 3:41 PM de 12/9/2016, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Fri, 9 Dec 2016 15:36:38 + > >> Of course, I started a general discussion about the subject and >> those were the conclusions, but I would like to know if you as

Re: Synopsys Ethernet QoS

2016-12-14 Thread Joao Pinto
Hi, Às 12:57 PM de 12/14/2016, Pavel Machek escreveu: > Hi! > >> So if there is a long time before handling interrupts, >> I guess that it makes sense that one stream could >> get an advantage in the net scheduler. >> >> If I find the time, and if no one beats me to it, I will try to replace >>

Re: Synopsys Ethernet QoS

2016-12-13 Thread Joao Pinto
Hi Niklas, Às 4:25 PM de 12/12/2016, Niklas Cassel escreveu: > > > On 12/12/2016 11:19 AM, Joao Pinto wrote: >> Hi, >> >> Às 1:44 AM de 12/10/2016, Florian Fainelli escreveu: >>> Le 12/09/16 à 16:16, Andy Shevchenko a écrit : >>>> On Sat, Dec

Re: Synopsys Ethernet QoS

2016-12-13 Thread Joao Pinto
Às 12:50 PM de 12/13/2016, Lars Persson escreveu: > >> 13 dec. 2016 kl. 13:31 skrev Niklas Cassel <niklas.cas...@axis.com>: >> >> >> >>> On 12/13/2016 12:49 PM, Joao Pinto wrote: >>> Hi Niklas, >>> >>> Às 4:25 PM de 12/12/2016,

Re: Synopsys Ethernet QoS

2016-12-12 Thread Joao Pinto
Hi, Às 1:44 AM de 12/10/2016, Florian Fainelli escreveu: > Le 12/09/16 à 16:16, Andy Shevchenko a écrit : >> On Sat, Dec 10, 2016 at 12:52 AM, Florian Fainelli >> wrote: >> >>> It's kind of sad that customers of that IP (stmmac, amd-xgbe, sxgbe) >> >>> did >>> actually

Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-11 Thread Joao Pinto
Às 2:39 PM de 1/11/2017, Alexandre Torgue escreveu: > > > On 01/11/2017 03:29 PM, Joao Pinto wrote: >> >> Alex, >> >> Às 2:25 PM de 1/11/2017, Alexandre Torgue escreveu: >>> Jao, >>> >>> On 01/11/2017 12:54 PM, Joao Pinto wrote: >

Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-11 Thread Joao Pinto
Hello David, Às 2:52 PM de 1/11/2017, David Miller escreveu: > From: Alexandre Torgue > Date: Wed, 11 Jan 2017 12:39:09 +0100 > >> Let's see what David think about that but if there no risk of backward >> compatibility with DT, I agree with the series. > > I really am

Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-11 Thread Joao Pinto
Alex, Às 2:25 PM de 1/11/2017, Alexandre Torgue escreveu: > Jao, > > On 01/11/2017 12:54 PM, Joao Pinto wrote: >> >> Hi Alex, >> >> Às 11:39 AM de 1/11/2017, Alexandre Torgue escreveu: >>> Hi Jao, >>> >>> On 01/10/2017 03:52 PM

Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-11 Thread Joao Pinto
Às 3:20 PM de 1/11/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Wed, 11 Jan 2017 15:06:55 + > >> The goal of this work is to improve code organization and future merge of >> other >> Synopsys Ethernet IP

Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-11 Thread Joao Pinto
Às 3:20 PM de 1/11/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Wed, 11 Jan 2017 15:06:55 + > >> The goal of this work is to improve code organization and future merge of >> other >> Synopsys Ethernet IP

Re: [PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-12 Thread Joao Pinto
Hi Alex, good morning! Às 10:11 AM de 1/12/2017, Alexandre Torgue escreveu: >> >> Lets not name it synopsys, for me it is totally fine, but naming it >> stmicro/stmmac is not the right way because it seems like it is a driver just >> for stmicro products, which is not, is for products that use

Re: [PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-12 Thread Joao Pinto
Hi Florian, Às 9:14 PM de 1/11/2017, Florian Fainelli escreveu: > On 01/10/2017 06:52 AM, Joao Pinto wrote: >> This patch renames stmicro/stmmac to synopsys/ since it is a standard >> ethernet software package regarding synopsys ethernet controllers, supporting >> the

[PATCH] synopsys: remove dwc_eth_qos driver

2017-01-12 Thread Joao Pinto
This driver is no longer necessary since it was merged into stmmac. Acked-by: Lars Persson <lar...@axis.com> Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- MAINTAINERS |7 - arch/arm/configs/multi_v7_defconfig |3 +- drivers/

Re: [PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-12 Thread Joao Pinto
Às 3:45 PM de 1/12/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Thu, 12 Jan 2017 15:39:47 + > >> In my understanding the advantage is to prepare the future. > > If the driver is named foo or bar, yet in both cases lo

Re: [PATCH] synopsys: remove dwc_eth_qos driver

2017-01-12 Thread Joao Pinto
Às 3:28 PM de 1/12/2017, David Miller escreveu: > > There is no driver named "synopsys", therefore "synopsys: " is not an > appropriate subsystem prefix. > > Subsystem prefixes have to refer to real names in the source tree in > one form or another. > > I know you guys really want to rename the

Re: [PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-12 Thread Joao Pinto
Às 3:26 PM de 1/12/2017, David Miller escreveu: > > I don't understand at all why it is so important to change the name of > these files nor the directory they live in. GMAC4 is a nickname for the Designware Ethernet QoS, which began in version 4.x for historical reasons. Soon, we will have

Re: [PATCH] synopsys: remove dwc_eth_qos driver

2017-01-12 Thread Joao Pinto
Às 3:48 PM de 1/12/2017, David Miller escreveu: > From: Joao Pinto <joao.pi...@synopsys.com> > Date: Thu, 12 Jan 2017 15:46:31 + > >> Hope we can meet in a LinuxCon soon and have a talk, for you to know >> me and this way you will see that I am a guy that is only f

Re: [PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-13 Thread Joao Pinto
Hi Florian, Às 7:42 PM de 1/12/2017, Florian Fainelli escreveu: > On 01/12/2017 01:43 AM, Joao Pinto wrote: >> >> First of all, I am suggesting an alternative way of organizing the code, and >> that's it, I have no second intentions about anything :). >> >> Ple

Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-11 Thread Joao Pinto
Hi Alex, Às 11:39 AM de 1/11/2017, Alexandre Torgue escreveu: > Hi Jao, > > On 01/10/2017 03:52 PM, Joao Pinto wrote: >> This patch set removes the synopsys/dwc_eth_qos since it was merged recently >> to stmmac (dwmac-dwc-qos-eth glue driver). >> >> It also r

[PATCH v2 1/2] synopsys: remove dwc_eth_qos driver

2017-01-10 Thread Joao Pinto
This driver is no longer necessary since it was merged into stmmac. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v2 (Lars Persson): - Remove dwc_eth_qos from the Maintainers file - Add ported dwc_eth_qos config IDs to multi_v7_defconfig MA

[PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac

2017-01-10 Thread Joao Pinto
Ethernet IPs. In the future we should make an effort to migrate to this new synopsys/ driver package all the Ethernet Synopsys IP drivers scattered in net/ethernet. Joao Pinto (2): synopsys: remove dwc_eth_qos driver stmmac: rename it to synopsys .../bindings/net/{stmmac.txt => synopsys.

[PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-10 Thread Joao Pinto
This patch renames stmicro/stmmac to synopsys/ since it is a standard ethernet software package regarding synopsys ethernet controllers, supporting the majority of Synopsys Ethernet IPs. The config IDs remain the same, for retro-compatibility, only the description was changed. Signed-off-by: Joao

Re: [PATCH v2 2/2] stmmac: rename it to synopsys

2017-01-11 Thread Joao Pinto
Hi Jie, Às 4:00 AM de 1/11/2017, Jie Deng escreveu: > Hi Joao, > > > On 2017/1/10 22:52, Joao Pinto wrote: >> This patch renames stmicro/stmmac to synopsys/ since it is a standard >> ethernet software package regarding synopsys ethernet controllers, supporting >

[PATCH v4 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-05 Thread Joao Pinto
This patch adds a new glue driver called dwmac-dwc-qos-eth which was based in the dwc_eth_qos as is. To assure retro-compatibility a slight tweak was also added to stmmac_platform. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v3 -> v4: - stmmac_res is now being initial

[PATCH v4 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-05 Thread Joao Pinto
important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v3 -> v4: - Nothing changed, just to keep up patch se

[PATCH v4 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-05 Thread Joao Pinto
that current and old users can continue to use it as before. We can see this driver as being deprecated, since all new development will be done in stmmac. Please check each patch for implementation details. Joao Pinto (3): stmmac: adding DT parameter for LPI tx clock gating stmmac: move

[PATCH v4 1/3] stmmac: adding DT parameter for LPI tx clock gating

2017-01-05 Thread Joao Pinto
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v4: - Nothing changed, just t

[PATCH v5 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-06 Thread Joao Pinto
that current and old users can continue to use it as before. We can see this driver as being deprecated, since all new development will be done in stmmac. Please check each patch for implementation details. Joao Pinto (3): stmmac: adding DT parameter for LPI tx clock gating stmmac: move

[PATCH v5 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-06 Thread Joao Pinto
This patch adds a new glue driver called dwmac-dwc-qos-eth which was based in the dwc_eth_qos as is. To assure retro-compatibility a slight tweak was also added to stmmac_platform. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v4 -> v5: - memset was not done properly c

[PATCH v5 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-06 Thread Joao Pinto
important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v3 -> v5: - Nothing changed, just to keep up patch se

[PATCH v5 1/3] stmmac: adding DT parameter for LPI tx clock gating

2017-01-06 Thread Joao Pinto
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v5: - Nothing changed, just t

Re: [PATCH v3 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-06 Thread Joao Pinto
Às 1:27 PM de 1/6/2017, Alexandre Torgue escreveu: > Hi Joao, > > On 01/05/2017 06:49 PM, Joao Pinto wrote: >> Hi Alex, >> >> Às 5:19 PM de 1/5/2017, Alexandre Torgue escreveu: >>> Hi Joao, >>> >>> On 01/04/2017 05:22 PM, Joao Pinto wrote: &

[PATCH 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
that current and old users can continue to use it as before. We can see this driver as being deprecated, since all new development will be done in stmmac. Please check each patch for implementation details. Joao Pinto (3): stmmac: adding DT parameter for LPI tx clock gating stmmac: move

[PATCH 1/3] stmmac: adding DT parameter for LPI tx clock gating

2017-01-04 Thread Joao Pinto
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v2: - Nothing changed, just t

[PATCH 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-04 Thread Joao Pinto
important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v2: - Nothing changed, just to keep up patch se

[PATCH 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
This patch adds a new glue driver called dwmac-dwc-qos-eth which was based in the dwc_eth_qos as is. To assure retro-compatibility a slight tweak was also added to stmmac_platform. Signed-off-by: Joao Pinto <jpi...@synopsys.com> Reviewed-by: Lars Persson <lar...@axis.com> --- chan

[PATCH v2 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
This patch adds a new glue driver called dwmac-dwc-qos-eth which was based in the dwc_eth_qos as is. To assure retro-compatibility a slight tweak was also added to stmmac_platform. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v2: - WOL was not declared in the new gl

[PATCH v2 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-04 Thread Joao Pinto
important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v2: - nothing changed. Just to keep up with

[PATCH v2 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
that current and old users can continue to use it as before. We can see this driver as being deprecated, since all new development will be done in stmmac. Please check each patch for implementation details. Joao Pinto (3): stmmac: adding DT parameter for LPI tx clock gating stmmac: move

[PATCH v2 1/3] stmmac: adding DT parameter for LPI tx clock gating

2017-01-04 Thread Joao Pinto
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v2: - nothing changed. Just t

Re: [PATCH 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
Às 11:24 AM de 1/4/2017, Niklas Cassel escreveu: > > > On 01/04/2017 12:08 PM, Joao Pinto wrote: >> Hi Niklas, >> >> Às 10:59 AM de 1/4/2017, Niklas Cassel escreveu: >>> Hello Joao >>> >>> I just tested this series using the dwc_eth_qos D

Re: [PATCH] MIPS: NI 169445 board support

2017-01-05 Thread Joao Pinto
Às 6:44 PM de 1/5/2017, Nathan Sullivan escreveu: > On Thu, Jan 05, 2017 at 06:33:53PM +0000, Joao Pinto wrote: >> Hi, >> >> Às 6:28 PM de 1/5/2017, Niklas Cassel escreveu: >>> On 01/04/2017 05:38 PM, Nathan Sullivan wrote: >>>> On Tue, Dec 20, 20

Re: [PATCH v3 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-05 Thread Joao Pinto
Hi Alex, Às 5:19 PM de 1/5/2017, Alexandre Torgue escreveu: > Hi Joao, > > On 01/04/2017 05:22 PM, Joao Pinto wrote: >> This patch adds a new glue driver called dwmac-dwc-qos-eth which >> was based in the dwc_eth_qos as is. To assure retro-compatibility a slight &g

Re: [PATCH] MIPS: NI 169445 board support

2017-01-05 Thread Joao Pinto
bus, that means the NIC descriptor skip field would need to be set to >> 14 to align the 16-byte descriptors... >> >> I guess it makes sense for a generic MIPS kernel to align everything for 128 >> byte >> cache lines, and for me to fix the dwc_eth_qos driver to h

Re: [PATCH v2 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
hernet/stmicro/stmmac/dwmac-socfpga.c:344:28: error: 'struct stmmac_priv' has no member named 'stmmac_rst' dwmac->stmmac_rst = stpriv->stmmac_rst; I am going to fix socfpga and submit v3 :). Hopefully everything' got ok! Thanks > > On 01/04/2017 12:48 PM, Joao Pinto wrote:

[PATCH] stmmac: Enable Clause 45 PHYs in GAMC4

2017-01-04 Thread Joao Pinto
The eQOS IP Core (best known in stmmac as gmac4) has a register that must be set if using a Clause 45 PHY. If this register is not set, the PHY won't work. This patch will have no impact in setups using Clause 22 PHYs. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/et

Re: [PATCH] stmmac: Enable Clause 45 PHYs in GMAC4 (eQOS)

2017-01-05 Thread Joao Pinto
Às 1:37 AM de 1/5/2017, Kweh, Hock Leong escreveu: >> -Original Message- >> From: Joao Pinto [mailto:joao.pi...@synopsys.com] >> Sent: Wednesday, January 04, 2017 10:36 PM >> To: da...@davemloft.net >> Cc: Kweh, Hock Leong <hock.leong.k...@intel.com>; n

[PATCH v3 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
This patch adds a new glue driver called dwmac-dwc-qos-eth which was based in the dwc_eth_qos as is. To assure retro-compatibility a slight tweak was also added to stmmac_platform. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v2 -> v3: - Nothing changed, just to keep up

[PATCH v3 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-04 Thread Joao Pinto
important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v2 -> v3: - dwmac-socfpga glue driver was also using s

[PATCH v3 1/3] stmmac: adding DT parameter for LPI tx clock gating

2017-01-04 Thread Joao Pinto
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- changes v1 -> v3: - Nothing changed, just t

[PATCH v3 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
that current and old users can continue to use it as before. We can see this driver as being deprecated, since all new development will be done in stmmac. Please check each patch for implementation details. Joao Pinto (3): stmmac: adding DT parameter for LPI tx clock gating stmmac: move

Re: [PATCH v3 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
:22 PM, Joao Pinto wrote: >> This patch adds a new glue driver called dwmac-dwc-qos-eth which >> was based in the dwc_eth_qos as is. To assure retro-compatibility a slight >> tweak was also added to stmmac_platform. >> >> Signed-off-by: Joao Pinto <jpi...@synopsys.

[PATCH v6 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-09 Thread Joao Pinto
important are the clock names, and so they need to be parsed in the glue logic and initialized there, and that is the main reason why the clocks were passed to the platform structure. Signed-off-by: Joao Pinto <jpi...@synopsys.com> Tested-by: Niklas Cassel <niklas.cas...@axis.com> Reviewed-by:

[PATCH v6 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-09 Thread Joao Pinto
This patch adds a new glue driver called dwmac-dwc-qos-eth which was based in the dwc_eth_qos as is. To assure retro-compatibility a slight tweak was also added to stmmac_platform. Signed-off-by: Joao Pinto <jpi...@synopsys.com> Tested-by: Niklas Cassel <niklas.cas...@axis.com> Revie

[PATCH v6 1/3] stmmac: adding DT parameter for LPI tx clock gating

2017-01-09 Thread Joao Pinto
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating. It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock gating is needed by stmmac users also. Signed-off-by: Joao Pinto <jpi...@synopsys.com> Tested-by: Niklas Cassel <niklas.cas...

[PATCH v6 0/3] adding new glue driver dwmac-dwc-qos-eth

2017-01-09 Thread Joao Pinto
n <lar...@axis.com> Acked-by: Alexandre TORGUE <alexandre.tor...@st.com> Joao Pinto (3): stmmac: adding DT parameter for LPI tx clock gating stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure stmmac: adding new glue driver dwmac-dwc-qos-eth .../binding

[PATCH] stmmac: adding EEE to GMAC4

2016-12-29 Thread Joao Pinto
This patch adds Energy Efficiency Ethernet to GMAC4. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 12 + drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 59 +++ 2 files changed, 71 insertions(+) diff

Re: [PATCH 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth

2017-01-04 Thread Joao Pinto
going to generate v2 so it would be great to have your tested.by tag to push it faster :) Thanks! > > > > I have one comment about clocks interleaved as well > > > > On 01/04/2017 10:44 AM, Joao Pinto wrote: >> This patch adds a new glue driver called dwmac-dwc-qos-eth

Re: [PATCH v3] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-06 Thread Joao Pinto
Hi Wilson, Às 12:49 AM de 1/7/2017, Kweh, Hock Leong escreveu: > From: "Kweh, Hock Leong" > > There is no checking valid value of maxmtu when getting it from device tree. > This resolution added the checking condition to ensure the assignment is > made within a valid

[PATCH 1/2] synopsys: remove dwc_eth_qos driver

2017-01-10 Thread Joao Pinto
This driver is no longer necessary since it was merged into stmmac. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drivers/net/ethernet/Kconfig|1 - drivers/net/ethernet/Makefile |1 - drivers/net/ethernet/synopsys/Kconfig | 27 - drive

  1   2   3   4   >