From: David Miller <davem@davemloft.net>
To: thomas.petazzoni@free-electrons.com
Cc: netdev@vger.kernel.org, ezequiel.garcia@free-electrons.com,
gregory.clement@free-electrons.com, jason@lakedaemon.net,
andrew@lunn.ch, sebastian.hesselbarth@gmail.com,
alior@marvell.com, tawfik@marvell.com,
linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org
Subject: Re: [PATCH] Revert "net: mvneta: fix usage as a module on RGMII configurations"
Date: Sun, 13 Apr 2014 23:14:57 -0400 (EDT) [thread overview]
Message-ID: <20140413.231457.1275572148025135232.davem@davemloft.net> (raw)
In-Reply-To: <1397380533-16012-1-git-send-email-thomas.petazzoni@free-electrons.com>
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sun, 13 Apr 2014 11:15:33 +0200
> This reverts commit e3a8786c10e75903f1269474e21fe8cb49c3a670. While
> this commit allows to use the mvneta driver as a module on some
> configurations, it breaks other configurations even if mvneta is used
> built-in.
>
> This breakage is due to the fact that on some RGMII platforms, the PCS
> bit has to be set, and on some other platforms, it has to be
> cleared. At the moment, we lack informations to know exactly the
> significance of this bit (the datasheet only says "enables PCS"), and
> so we can't produce a patch that will work on all platforms at this
> point. And since this change is breaking the network completely for
> many users, it's much better to revert it for now. We'll come back
> later with a proper fix that takes into account all platforms.
>
> Basically:
>
> * Armada XP GP is configured as RGMII-ID, and needs the PCS bit to be
> set.
> * Armada 370 Mirabox is configured as RGMII-ID, and needs the PCS bit
> to be cleared.
>
> And at the moment, we don't know how to make the distinction between
> those two cases. One hint is that the Armada XP GP appears in fact to
> be using a QSGMII connection with the PHY (Quad-SGMII), but
> configuring it as SGMII doesn't work, while RGMII-ID works. This needs
> more investigation, but in the mean time, let's unbreak the network
> for all those users.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Reported-by: Arnaud Ebalard <arno@natisbad.org>
> Reported-by: Alexander Reuter <Alexander.Reuter@gmx.net>
> Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=73401
Applied, thanks for following up on this.
prev parent reply other threads:[~2014-04-14 3:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-13 9:15 [PATCH] Revert "net: mvneta: fix usage as a module on RGMII configurations" Thomas Petazzoni
2014-04-14 3:14 ` David Miller [this message]
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=20140413.231457.1275572148025135232.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=alior@marvell.com \
--cc=andrew@lunn.ch \
--cc=ezequiel.garcia@free-electrons.com \
--cc=gregory.clement@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=netdev@vger.kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=stable@vger.kernel.org \
--cc=tawfik@marvell.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).