From: Andrew Lunn <andrew@lunn.ch>
To: Mian Yousaf Kaukab <ykaukab@suse.de>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, tharvey@gateworks.com,
davem@davemloft.net, rric@kernel.org, sgoutham@cavium.com,
sergei.shtylyov@cogentembedded.com
Subject: Re: [PATCH v1] net: thunderx: start phy before starting autonegotiation
Date: Wed, 4 Dec 2019 18:30:08 +0100 [thread overview]
Message-ID: <20191204173008.GG21904@lunn.ch> (raw)
In-Reply-To: <20191204172351.29709-1-ykaukab@suse.de>
On Wed, Dec 04, 2019 at 06:23:51PM +0100, Mian Yousaf Kaukab wrote:
> Since commit 2b3e88ea6528 ("net: phy: improve phy state checking")
> phy_start_aneg() expects phy state to be >= PHY_UP. Call phy_start()
> before calling phy_start_aneg() during probe so that autonegotiation
> is initiated.
>
> As phy_start() takes care of calling phy_start_aneg(), drop the explicit
> call to phy_start_aneg().
>
> Network fails without this patch on Octeon TX.
>
> Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
> ---
> v1:
This should really be v2.
You should add fixes: tag
And the subject line should indicate which tree this is for:
[PATCH v2 net] net: thunderx: start phy before starting autonegotiation
https://www.kernel.org/doc/html/latest/networking/netdev-FAQ.html
Andrew
prev parent reply other threads:[~2019-12-04 17:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-04 17:23 [PATCH v1] net: thunderx: start phy before starting autonegotiation Mian Yousaf Kaukab
2019-12-04 17:30 ` Andrew Lunn [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=20191204173008.GG21904@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rric@kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=sgoutham@cavium.com \
--cc=tharvey@gateworks.com \
--cc=ykaukab@suse.de \
/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