lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 5 Jun 2021 19:24:47 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Liang Xu <lxu@...linear.com>
Cc:     Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "hkallweit1@...il.com" <hkallweit1@...il.com>,
        Hauke Mehrtens <hmehrtens@...linear.com>,
        "kuba@...nel.org" <kuba@...nel.org>,
        "linux@...linux.org.uk" <linux@...linux.org.uk>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        Thomas Mohren <tmohren@...linear.com>,
        "vee.khee.wong@...ux.intel.com" <vee.khee.wong@...ux.intel.com>
Subject: Re: [PATCH v3] net: phy: add Maxlinear GPY115/21x/24x driver

On Sat, Jun 05, 2021 at 03:32:39AM +0000, Liang Xu wrote:
> On 5/6/2021 3:44 am, Martin Blumenstingl wrote:
> > This email was sent from outside of MaxLinear.
> >
> >
> > Hello,
> >
> >> Add driver to support the Maxlinear GPY115, GPY211, GPY212, GPY215,
> >> GPY241, GPY245 PHYs.
> > to me this seems like an evolution of the Lantiq XWAY PHYs for which
> > we already have a driver: intel-xway.c.
> > Intel took over Lantiq some years ago and last year MaxLinear then
> > took over what was formerly Lantiq from Intel.
> >
> >  From what I can tell right away: the interrupt handling still seems
> > to be the same. Also the GPHY firmware version register also was there
> > on older SoCs (with two or more GPHYs embedded into the SoC). SGMII
> > support is new. And I am not sure about Wake-on-LAN.
> >
> > Have you considered adding support for these new PHYs to intel-xway.c?

The WOL interrupts are the same, which could imply WoL configuration
is the same? If it is the same, it would be good to also add WoL to
intel-xway.c.

What this new driver does not yet do is LEDs. It would be interesting
to see if the LED control is the same. Hopefully, one day, generic LED
support will get added. If this PHY and intel-xway.c has the same LED
code, we will want to share it.

> They are based on different IP and have many differences.

Please could you list the differences? Is the datasheet available?  I
found a datasheet for the XWAY, so it would be nice to be able to
compare them.

> The XWAY PHYs are going to EoL (or maybe already EoL).

That does not matter. They are going to be in use for the next 5 years
or more, until all the products using them have died or been
replaced. Linux supports hardware that is in use, not just what
vendors sell today.

> It creates difficulty for the test coverage to put together.

That also does not really matter. If somebody has both, does the work
to merge the drivers and overall we have less code and more features,
the patch will be accepted. 


	Andrew



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ