From: Joao Pinto <Joao.Pinto@synopsys.com>
To: Alexandre Torgue <alexandre.torgue@st.com>,
Joao Pinto <Joao.Pinto@synopsys.com>, <davem@davemloft.net>
Cc: <lars.persson@axis.com>, <niklass@axis.com>,
<peppe.cavallaro@st.com>, <netdev@vger.kernel.org>
Subject: Re: [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac
Date: Wed, 11 Jan 2017 14:54:53 +0000 [thread overview]
Message-ID: <1329f5a9-42e2-e44e-8be5-af5ca4cebfbd@synopsys.com> (raw)
In-Reply-To: <8bdb613c-36d3-811f-6300-9c97110c855d@st.com>
À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:
>>>>
>>>> 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 renames stmicro/stmmac to synopsys/ since it is a standard ethernet
>>>>>> software package regarding synopsys ethernet controllers, supporting the
>>>>>> majority of Synopsys Ethernet IPs.
>>>>>
>>>>> I understand the reason to rename stmmac driver. The only risk I see is that
>>>>> usual user will be a little bit lost to find code. It seems there no risk of
>>>>> backward compatibility with current/old DT (I assume you already checked this
>>>>> point).
>>>>
>>>> I understand your concern, but for the Synopsys IPs users will be clearer what
>>>> drivers to use and what current stmmac has to offer.
>>>
>>> I agree.
>>>
>>>>
>>>> In terms of tests, I tested it and worked out of the box because the same
>>>> Kconfig IDs were used assuring the retro-compatibility that David suggested a
>>>> few weeks ago. For DT users no problems are expected as well.
>>>
>>> Ok, sounds good.
>>>
>>> I see that you rename also Documentation/devicetree/bindings/net/stmmac.txt. You
>>> have also to change some words inside as it talks about Stmicroelectronics.
>>
>> You are right. Going to change that and send a v3. Counting on your ack :)
>
> I continue to review ;)
> There is another point to talk. It will be strange to have the driver named
> "synopsys" but all file inside will continue to be called "stmmac" (and also
> function inside files). So either you plan to keep it as it is (and it is a
> little bit confusing) or you plan to change all file name + function name (+ few
> variable name) ?
The plan would be to change incrementally, but I have no problem in doing it all
now.
I am going to give you an example of something that must be done.
Syniopsys IP portfolium does not include a GMAC4 core, because it does not
exist. I understand why stmmac calls that way, but it is not accurate. Going to
explain why. Synopsys has the eQoS IP which version began at 4.x, and for
historical reasons drivers chose to call it gmac4 or dwmac4, when in fact it
should be named eqos or dwmac_eqos. This will have to be changed since when a
new version of eQoS is released, imagine 5.00, it will become completely
confusing. This is the reason why the files and functions named after gmac4 and
dwmac4 should be called eqos and dwmac-eqos.
We can make a total rename instead of renaming basic stuff, no problem. What do
you think?
Joao
>
> regards
> Alex
>
>
>
>
>> Thanks!
>>
>>>
>>> Regards
>>> Alex
>>>
>>>>
>>>> Thanks,
>>>> Joao
>>>>
>>>>> Let's see what David think about that but if there no risk of backward
>>>>> compatibility with DT, I agree with the series.
>>>>>
>>>>> Regards
>>>>> Alex
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> 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.txt} | 0
>>>>>> MAINTAINERS | 11 +-
>>>>>> arch/arm/configs/multi_v7_defconfig | 3 +-
>>>>>> drivers/net/ethernet/Kconfig | 3 +-
>>
next prev parent reply other threads:[~2017-01-11 14:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 14:52 [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac Joao Pinto
2017-01-10 14:52 ` [PATCH v2 1/2] synopsys: remove dwc_eth_qos driver Joao Pinto
2017-01-10 15:15 ` Lars Persson
2017-01-10 14:52 ` [PATCH v2 2/2] stmmac: rename it to synopsys Joao Pinto
2017-01-11 4:00 ` Jie Deng
2017-01-11 10:35 ` Joao Pinto
2017-01-12 3:44 ` Jie Deng
2017-01-12 5:05 ` Florian Fainelli
2017-01-11 10:00 ` kbuild test robot
2017-01-11 21:14 ` Florian Fainelli
2017-01-11 21:32 ` David Miller
2017-01-12 9:43 ` Joao Pinto
2017-01-12 10:11 ` Alexandre Torgue
2017-01-12 11:09 ` Joao Pinto
2017-01-12 15:26 ` David Miller
2017-01-12 15:39 ` Joao Pinto
2017-01-12 15:45 ` David Miller
2017-01-12 16:04 ` Joao Pinto
2017-01-12 19:42 ` Florian Fainelli
2017-01-13 11:20 ` Joao Pinto
2017-01-11 11:39 ` [PATCH v2 0/2] remove dwc_eth_qos and rename stmicro/stmmac Alexandre Torgue
2017-01-11 11:54 ` Joao Pinto
2017-01-11 14:25 ` Alexandre Torgue
2017-01-11 14:29 ` Joao Pinto
2017-01-11 14:39 ` Alexandre Torgue
2017-01-11 14:54 ` Joao Pinto [this message]
2017-01-11 14:52 ` David Miller
2017-01-11 15:06 ` Joao Pinto
2017-01-11 15:20 ` David Miller
2017-01-11 16:17 ` Joao Pinto
2017-01-11 16:19 ` Joao Pinto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1329f5a9-42e2-e44e-8be5-af5ca4cebfbd@synopsys.com \
--to=joao.pinto@synopsys.com \
--cc=alexandre.torgue@st.com \
--cc=davem@davemloft.net \
--cc=lars.persson@axis.com \
--cc=netdev@vger.kernel.org \
--cc=niklass@axis.com \
--cc=peppe.cavallaro@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.