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: <e2c1196a-3a0f-6527-2ae0-8d53af2912df@alliedtelesis.co.nz>
Date:   Thu, 1 Oct 2020 02:27:18 +0000
From:   Chris Packham <Chris.Packham@...iedtelesis.co.nz>
To:     Andrew Lunn <andrew@...n.ch>, Russell King <linux@...linux.org.uk>
CC:     "vivien.didelot@...il.com" <vivien.didelot@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        netdev <netdev@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: dsa: mv88e6xxx: serdes link without phy


On 1/10/20 2:24 pm, Andrew Lunn wrote:
>>                           port@8 {
>>                                   reg = <8>;
>>                                   label = "internal8";
>>                                   phy-mode = "rgmii-id";
>>                                   fixed-link {
>>                                           speed = <1000>;
>>                                           full-duplex;
>>                                   };
>>                           };
>>                           port@9 {
>>                                   reg = <9>;
>>                                   label = "internal9";
>>                                   phy-mode = "rgmii-id";
>>                                   fixed-link {
>>                                           speed = <1000>;
>>                                           full-duplex;
>>                                   };
>>                           };
>> The problem is that by declaring ports 8 & 9 as fixed link the driver
>> sets the ForcedLink in the PCS control register. Which mostly works.
>> Except if I add a chassis controller while the system is running (or one
>> is rebooted) then the newly added controller doesn't see a link on the
>> serdes.
> Hi Chris
>
> You say SERDES here, but in DT you have rgmii-id?
Yeah that's mostly because it was copied from the CPU port (which is 
RGMII with internal delay). The Marvell datasheet says "SERDES" so I 
wasn't really sure what to put here
> Can you run 1000Base-X over these links?
With some reading "1000base-x" does seem the right thing to say here. 
It's even what is reflected in the CMODE field for those ports.
> If you can, it is probably
> worth chatting to Russell King about using inband-signalling, and what
> is needed to make it work without having back to back SFPs. If i
> remember correctly, Russell has said not much is actually needed.

That'd be ideal. The sticking point seems to be allowing it to have no PHY.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ