From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: "Matwey V. Kornilov" <matwey@sai.msu.ru>, jeffrey.t.kirsher@intel.com
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, todd.fujinaka@intel.com,
carolyn.wyborny@intel.com, dchang@suse.com, jcheung@suse.com,
matwey.kornilov@gmail.com, stable@vger.kernel.org
Subject: Re: [PATCH] igb: Explicitly select page 0 at initialization
Date: Thu, 24 Nov 2016 13:36:55 +0300 [thread overview]
Message-ID: <bf11b668-0ee4-3cfd-405b-43705a6e011e@cogentembedded.com> (raw)
In-Reply-To: <1479983568-4383-1-git-send-email-matwey@sai.msu.ru>
Hello.
On 11/24/2016 1:32 PM, Matwey V. Kornilov wrote:
> The functions igb_read_phy_reg_gs40g/igb_write_phy_reg_gs40g (which were
> removed in 2a3cdea) explicitly selected the required page at every phy_reg
This is not the way to cite a commit -- you need to specify at least 12
digits and follow them with the commit subject enclosed into ("").
> access. Currently, igb_get_phy_id_82575 relays on the fact that page 0 is
> already selected. The assumption is not fulfilled for my Lex 3I380CW
> motherboard with integrated dual i211 based gigabit ethernet. This leads to igb
> initialization failure and network interfaces are not working:
>
> igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
> igb: Copyright (c) 2007-2014 Intel Corporation.
> igb: probe of 0000:01:00.0 failed with error -2
> igb: probe of 0000:02:00.0 failed with error -2
>
> In order to fix it, we explicitly select page 0 before first access to phy
> registers.
>
> See also: https://bugzilla.suse.com/show_bug.cgi?id=1009911
> See also: http://www.lex.com.tw/products/pdf/3I380A&3I380CW.pdf
>
> Fixes: 2a3cdea ("igb: Remove GS40G specific defines/functions")
Again, at least 12 digits.
> Cc: <stable@vger.kernel.org> # 4.5+
> Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
[...]
MBR, Sergei
prev parent reply other threads:[~2016-11-24 10:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-24 10:32 [PATCH] igb: Explicitly select page 0 at initialization Matwey V. Kornilov
2016-11-24 10:36 ` Sergei Shtylyov [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=bf11b668-0ee4-3cfd-405b-43705a6e011e@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=carolyn.wyborny@intel.com \
--cc=dchang@suse.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jcheung@suse.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matwey.kornilov@gmail.com \
--cc=matwey@sai.msu.ru \
--cc=netdev@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=todd.fujinaka@intel.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