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]
Message-ID: <20200610201224.GC19869@lunn.ch>
Date:   Wed, 10 Jun 2020 22:12:24 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Helmut Grohne <helmut.grohne@...enta.de>
Cc:     netdev@...r.kernel.org
Subject: Re: correct use of PHY_INTERFACE_MODE_RGMII{,_TXID,_RXID,_ID}

On Wed, Jun 10, 2020 at 10:12:37AM +0200, Helmut Grohne wrote:
> Hi,
> 
> I've been trying to write a dt for a board and got quite confused about
> the RGMII delays. That's why I looked into it and got even more confused
> by what I found. Different drivers handle this quite differently. Let me
> summarize.

Hi Helmut

In general, in DT, put what you want the PHY to do. If the PCB does
not add the delay, use rgmii-id. If the PCB does add the delay, then
use rgmii.

It is quite confusing, we have had bugs, and some drivers just do odd
things. In general, the MAC should not add delays. The PHY should add
delays, based on what is passed via DT. This assumes the PHY actually
implements the delays, which most PHYs do.

What exact hardware are you using?

     Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ