All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Lennert Buytenhek <kernel@wantstofly.org>,
	netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@free-electrons.com>,
	Lior Amsalem <alior@marvell.com>,
	Maen Suleiman <maen@marvell.com>
Subject: Re: [PATCH 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit
Date: Wed, 31 Oct 2012 12:12:29 +0100	[thread overview]
Message-ID: <2760802.TcHGXAmZie@bender> (raw)
In-Reply-To: <1351245804-31478-2-git-send-email-thomas.petazzoni@free-electrons.com>

Hello Thomas,

On Friday 26 October 2012 12:03:21 Thomas Petazzoni wrote:
> This patch contains a new network driver for the network unit of the
> ARM Marvell Armada 370 and the Armada XP. Both SoCs use the PJ4B
> processor, a Marvell-developed ARM core that implements the ARMv7
> instruction set.
> 
> Compared to previous ARM Marvell SoCs (Kirkwood, Orion, Discovery),
> the network unit in Armada 370 and Armada XP is highly different. This
> is the reason why this new 'mvneta' driver is needed, while the older
> ARM Marvell SoCs use the 'mv643xx_eth' driver.
> 
> Here is an overview of the most important hardware changes that
> require a new, specific, driver for the network unit of Armada 370/XP:
> 
>  - The new network unit has a completely different design and layout
>    for the RX and TX descriptors. They are now organized as a simple
>    array (each RX and TX queue has base address and size of this
>    array) rather than a linked list as in the old SoCs.
> 
>  - The new network unit has a different RXQ and TXQ management: this
>    management is done using special read/write counter registers,
>    while in the Old SocS, it was done using the Ownership bit in RX
>    and TX descriptors.
> 
>  - The new network unit has different interrupt registers
> 
>  - The new network unit way of cleaning of interrupts is not done by
>    writing to the cause register, but by updating per-queue counters
> 
>  - The new network unit has different GMAC registers (link, speed,
>    duplex configuration) and different WRR registers.
> 
>  - The new network unit has lots of new units like PnC (Parser and
>    Classifier), PMT, BM (Memory Buffer Management), xPON, and more.
> 
> The driver proposed in the current patch only handles the basic
> features. Additional hardware features will progressively be supported
> as needed.
> 
> This code has originally been written by Rami Rosen
> <rosenr@marvell.com>, and then reviewed and cleaned up by Thomas
> Petazzoni <thomas.petazzoni@free-electrons.com>.

This is looking good from a PHY lib point of view now, thanks for doing this!
-- 
Florian

WARNING: multiple messages have this Message-ID (diff)
From: florian@openwrt.org (Florian Fainelli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit
Date: Wed, 31 Oct 2012 12:12:29 +0100	[thread overview]
Message-ID: <2760802.TcHGXAmZie@bender> (raw)
In-Reply-To: <1351245804-31478-2-git-send-email-thomas.petazzoni@free-electrons.com>

Hello Thomas,

On Friday 26 October 2012 12:03:21 Thomas Petazzoni wrote:
> This patch contains a new network driver for the network unit of the
> ARM Marvell Armada 370 and the Armada XP. Both SoCs use the PJ4B
> processor, a Marvell-developed ARM core that implements the ARMv7
> instruction set.
> 
> Compared to previous ARM Marvell SoCs (Kirkwood, Orion, Discovery),
> the network unit in Armada 370 and Armada XP is highly different. This
> is the reason why this new 'mvneta' driver is needed, while the older
> ARM Marvell SoCs use the 'mv643xx_eth' driver.
> 
> Here is an overview of the most important hardware changes that
> require a new, specific, driver for the network unit of Armada 370/XP:
> 
>  - The new network unit has a completely different design and layout
>    for the RX and TX descriptors. They are now organized as a simple
>    array (each RX and TX queue has base address and size of this
>    array) rather than a linked list as in the old SoCs.
> 
>  - The new network unit has a different RXQ and TXQ management: this
>    management is done using special read/write counter registers,
>    while in the Old SocS, it was done using the Ownership bit in RX
>    and TX descriptors.
> 
>  - The new network unit has different interrupt registers
> 
>  - The new network unit way of cleaning of interrupts is not done by
>    writing to the cause register, but by updating per-queue counters
> 
>  - The new network unit has different GMAC registers (link, speed,
>    duplex configuration) and different WRR registers.
> 
>  - The new network unit has lots of new units like PnC (Parser and
>    Classifier), PMT, BM (Memory Buffer Management), xPON, and more.
> 
> The driver proposed in the current patch only handles the basic
> features. Additional hardware features will progressively be supported
> as needed.
> 
> This code has originally been written by Rami Rosen
> <rosenr@marvell.com>, and then reviewed and cleaned up by Thomas
> Petazzoni <thomas.petazzoni@free-electrons.com>.

This is looking good from a PHY lib point of view now, thanks for doing this!
-- 
Florian

  parent reply	other threads:[~2012-10-31 11:12 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26 10:03 [PATCH v4] Network driver for the Armada 370 and Armada XP ARM Marvell SoCs Thomas Petazzoni
2012-10-26 10:03 ` Thomas Petazzoni
2012-10-26 10:03 ` [PATCH 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit Thomas Petazzoni
2012-10-26 10:03   ` Thomas Petazzoni
2012-10-30 12:07   ` Nobuhiro Iwamatsu
2012-10-30 12:07     ` Nobuhiro Iwamatsu
2012-10-30 12:28     ` Thomas Petazzoni
2012-10-30 12:28       ` Thomas Petazzoni
2012-10-31 11:12   ` Florian Fainelli [this message]
2012-10-31 11:12     ` Florian Fainelli
2012-10-26 10:03 ` [PATCH 2/4] net: mvneta: update MAINTAINERS file for the mvneta maintainers Thomas Petazzoni
2012-10-26 10:03   ` Thomas Petazzoni
2012-10-26 10:03 ` [PATCH 3/4] arm: mvebu: add Ethernet controllers using mvneta driver for Armada 370/XP Thomas Petazzoni
2012-10-26 10:03   ` Thomas Petazzoni
2012-10-30  4:19   ` Nobuhiro Iwamatsu
2012-10-30  4:19     ` Nobuhiro Iwamatsu
2012-10-30  8:36     ` Thomas Petazzoni
2012-10-30  8:36       ` Thomas Petazzoni
2012-10-26 10:03 ` [PATCH 4/4] arm: mvebu: enable Ethernet controllers on Armada 370/XP eval boards Thomas Petazzoni
2012-10-26 10:03   ` Thomas Petazzoni
2012-11-04  2:03   ` [4/4] " Jason Gunthorpe
2012-11-04  2:03     ` Jason Gunthorpe
2012-11-04  9:12     ` Thomas Petazzoni
2012-11-04  9:12       ` Thomas Petazzoni
2012-11-12 17:30     ` Thomas Petazzoni
2012-11-12 17:30       ` Thomas Petazzoni
2012-10-30  9:51 ` [PATCH v4] Network driver for the Armada 370 and Armada XP ARM Marvell SoCs Thomas Petazzoni
2012-10-30  9:51   ` Thomas Petazzoni
2012-11-02 22:21   ` Thomas Petazzoni
2012-11-02 22:21     ` Thomas Petazzoni
2012-11-03 11:53     ` Francois Romieu
2012-11-03 11:53       ` Francois Romieu
2012-11-12 17:58       ` Thomas Petazzoni
2012-11-12 17:58         ` Thomas Petazzoni
2012-11-13 11:34       ` Thomas Petazzoni
2012-11-13 11:34         ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2012-10-23 16:54 [PATCH v3] " Thomas Petazzoni
2012-10-23 16:54 ` [PATCH 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit Thomas Petazzoni
2012-10-23 16:54   ` Thomas Petazzoni
2012-10-25  3:06   ` David Miller
2012-10-25  3:06     ` David Miller
2012-10-25  6:21     ` Thomas Petazzoni
2012-10-25  6:21       ` Thomas Petazzoni
2012-09-04 13:06 net: Network driver for the Armada 370 and Armada XP ARM Marvell SoCs Thomas Petazzoni
2012-09-04 13:06 ` [PATCH 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit Thomas Petazzoni
2012-09-04 13:06   ` Thomas Petazzoni
2012-09-04 14:36   ` Arnd Bergmann
2012-09-04 14:36     ` Arnd Bergmann
2012-09-04 15:56     ` Thomas Petazzoni
2012-09-04 15:56       ` Thomas Petazzoni
2012-09-04 18:31       ` Andrew Lunn
2012-09-04 18:31         ` Andrew Lunn
2012-09-05  7:32         ` Thomas Petazzoni
2012-09-05  7:32           ` Thomas Petazzoni
2012-09-05 15:25   ` Florian Fainelli
2012-09-05 15:25     ` Florian Fainelli

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=2760802.TcHGXAmZie@bender \
    --to=florian@openwrt.org \
    --cc=alior@marvell.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=gregory.clement@free-electrons.com \
    --cc=jason@lakedaemon.net \
    --cc=kernel@wantstofly.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maen@marvell.com \
    --cc=netdev@vger.kernel.org \
    --cc=thomas.petazzoni@free-electrons.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.