All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Duyck <alexander.h.duyck@redhat.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH v1 net-next 1/2] igb: add PHY support for Broadcom 5461S
Date: Fri, 08 May 2015 14:32:45 -0700	[thread overview]
Message-ID: <554D2B7D.7050209@redhat.com> (raw)
In-Reply-To: <CAPg-hwmQgK6fibE-=RvCxESx3TzOyHnxsG+_NC4=vE3=o3SxEg@mail.gmail.com>



On 05/08/2015 10:46 AM, Andy Gospodarek wrote:
> On Fri, May 8, 2015 at 12:39 PM, Ronciak, John <john.ronciak@intel.com> wrote:
>>> I think we would be willing to take on this task, but I would not like that to be a
>>> gating factor for upstream acceptance of the functionality added with this
>>> patch.  I see that Aaron has commented that no regressions were found with
>>> this patch, but based on current status in patchwork, it looks like Dave is
>>> waiting for something a bit more definitive before accepting it.  Can you ACK it
>>> first so we have support for this platform upstream and then we can go take a
>>> stab at phylib support for igb?
>> So Andy, are you wanting us to accept the patch and that you will then redo things to move to PHYlib in the near future?  What's the time line for that work?  What happens if you guys don't get around to doing it?  This can become very problematic for us as you can imagine.  This also really isn't the upstream way of doing something like this.  So I'm a bit hesitant to do it this way.
>>
>> Can you explain your urgency?
>>
>> Cheers,
>> John
>>
> John,
>
> It is somewhat urgent as we would like to do some upstream kernel
> development on these platforms.  I would rather not have to coach
> everyone/constantly rebase this patch for at least one more kernel
> release and supply it to anyone (internal to Cumulus or outside) just
> to run net-next on these platforms.  Once this is added ONIE kernels
> could also use a pure upstream kernel for booting and installing
> various distros on it, so I see inclusion as a nice feature for the
> community as well.
>
> I was not aware of the patch from Tim Harvey that was adding phylib
> support into igb when I sent the first email, so that may change the
> scope of this effort a bit.  Of course we would now be reliant on that
> patch being included in Dave's tree before we can do our work and that
> appears to have the status of 'changes requested' on the
> intel-wired-lan list, so I see no guarantee that those will be added
> by the time the merge window closes.
>
> Thanks,
>
> -andy

Andy,

The patch as-is seems to have a number of issues since the interface you 
are using has a misconfigured EEPROM.  If you got that addressed you 
could then probably cut down significantly on the code changes needed 
since much of it seems to be just workarounds for stuff that should have 
been taken care of in the EEPROM.  For example, the PHY address and 
external MDIO value are controlled via Initialization Control 3 & 4.  
The configuration for the hardware should be there.  The same goes for 
the LED configuration.  That is something that should start working at 
power-on, not after the driver is loaded.  I really think you should 
work to get those resolved with Quanta then it would probably make your 
driver work much easier.

Also it looks like the bcm5461 is already supported by PHYdev so there 
shouldn't be much to do other than update igb to register a mii_bus, and 
with any luck the PHYdev code already implemented would take care of the 
rest (assuming the EEPROM is fixed).

- Alex

  reply	other threads:[~2015-05-08 21:32 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 20:23 [Intel-wired-lan] [PATCH v1 net-next 1/2] igb: add PHY support for Broadcom 5461S Jonathan Toppins
2015-04-17 20:23 ` Jonathan Toppins
2015-04-17 20:24 ` [Intel-wired-lan] [PATCH v1 net-next 2/2] igb: support SIOCSMIIREG Jonathan Toppins
2015-04-17 20:24   ` Jonathan Toppins
2015-05-05 17:25   ` [Intel-wired-lan] " Brown, Aaron F
2015-05-05 17:25     ` Brown, Aaron F
2015-05-05 19:31     ` [Intel-wired-lan] " Jonathan Toppins
2015-05-05 19:31       ` Jonathan Toppins
2015-05-07 17:52   ` [Intel-wired-lan] " Alexander Duyck
2015-05-07 17:52     ` Alexander Duyck
2015-05-07 20:46     ` [Intel-wired-lan] " Rustad, Mark D
2015-05-07 20:46       ` Rustad, Mark D
2015-05-08 16:57       ` [Intel-wired-lan] " Jonathan Toppins
2015-05-08 16:57         ` Jonathan Toppins
2015-04-27 15:44 ` [Intel-wired-lan] [PATCH v1 net-next 1/2] igb: add PHY support for Broadcom 5461S Jonathan Toppins
2015-04-27 15:44   ` Jonathan Toppins
2015-05-02  1:45   ` [Intel-wired-lan] " Brown, Aaron F
2015-05-02  1:45     ` Brown, Aaron F
2015-05-07 11:49 ` [Intel-wired-lan] " Jeff Kirsher
2015-05-07 13:41   ` Andy Gospodarek
2015-05-07 17:49     ` Alexander Duyck
2015-05-08 16:39     ` Ronciak, John
2015-05-08 17:46       ` Andy Gospodarek
2015-05-08 21:32         ` Alexander Duyck [this message]
2015-05-08 21:42           ` Jonathan Toppins
2015-05-08 22:05             ` Alexander Duyck
2015-05-08 22:30               ` Jonathan Toppins
2015-05-08 23:06                 ` Alexander Duyck
2015-05-11 14:46           ` Andy Gospodarek
2015-05-07 16:32   ` Tim Harvey
2015-05-07 16:18 ` Tim Harvey
2015-05-07 16:18   ` Tim Harvey
2015-05-07 16:57   ` [Intel-wired-lan] " Jonathan Toppins
2015-05-07 16:57     ` Jonathan Toppins
2015-05-07 18:20 ` [Intel-wired-lan] " Alexander Duyck
2015-05-07 18:20   ` Alexander Duyck

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=554D2B7D.7050209@redhat.com \
    --to=alexander.h.duyck@redhat.com \
    --cc=intel-wired-lan@osuosl.org \
    /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.