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: <20220809201142.GA2312298-robh@kernel.org>
Date:   Tue, 9 Aug 2022 14:11:42 -0600
From:   Rob Herring <robh@...nel.org>
To:     Vladimir Oltean <vladimir.oltean@....com>
Cc:     Clément Léger <clement.leger@...tlin.com>,
        UNGLinuxDriver@...rochip.com, devicetree@...r.kernel.org,
        Eric Dumazet <edumazet@...gle.com>,
        Linus Walleij <linus.walleij@...aro.org>,
        Russell King <rmk+kernel@...linux.org.uk>,
        Claudiu Manoil <claudiu.manoil@....com>,
        Rob Herring <robh+dt@...nel.org>,
        Luiz Angelo Daros de Luca <luizluca@...il.com>,
        Vivien Didelot <vivien.didelot@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        Sean Wang <sean.wang@...iatek.com>,
        Landen Chao <Landen.Chao@...iatek.com>,
        Marcin Wojtas <mw@...ihalf.com>,
        Christian Marangi <ansuelsmth@...il.com>,
        DENG Qingfang <dqfext@...il.com>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        Hauke Mehrtens <hauke@...ke-m.de>,
        Geert Uytterhoeven <geert+renesas@...der.be>,
        Andrew Lunn <andrew@...n.ch>,
        Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Pawel Dembicki <paweldembicki@...il.com>,
        Alvin Šipraga <alsi@...g-olufsen.dk>,
        Kurt Kanzenbach <kurt@...utronix.de>, netdev@...r.kernel.org,
        "David S. Miller" <davem@...emloft.net>,
        John Crispin <john@...ozen.org>,
        Oleksij Rempel <linux@...pel-privat.de>,
        Arun Ramadoss <arun.ramadoss@...rochip.com>,
        Woojung Huh <woojung.huh@...rochip.com>,
        Vladimir Oltean <olteanv@...il.com>,
        Marek Vasut <marex@...x.de>, Paolo Abeni <pabeni@...hat.com>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Marek Behún <kabel@...nel.org>,
        Aleksander Jan Bajkowski <olek2@...pl>,
        linux-renesas-soc@...r.kernel.org, Mans Rullgard <mans@...sr.com>,
        George McCollister <george.mccollister@...il.com>,
        Matthias Brugger <matthias.bgg@...il.com>
Subject: Re: [RFC PATCH v3 net-next 03/10] dt-bindings: net: dsa: b53: add
 missing CPU port phy-mode to example

On Sat, 06 Aug 2022 17:10:52 +0300, Vladimir Oltean wrote:
> Looking at b53_srab_phylink_get_caps() I get no indication of what PHY
> modes does port 8 support, since it is implemented circularly based on
> the p->mode retrieved from the device tree (and in PHY_INTERFACE_MODE_NA
> it reports nothing to supported_interfaces).
> 
> However if I look at the b53_switch_chips[] element for BCM58XX_DEVICE_ID,
> I see that port 8 is the IMP port, and SRAB means the IMP port is
> internal to the SoC. So use phy-mode = "internal" in the example.
> 
> Note that this will make b53_srab_phylink_get_caps() go through the
> "default" case and report PHY_INTERFACE_MODE_INTERNAL to
> supported_interfaces, which is probably a good thing.
> 
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
> ---
> v2->v3: patch is new
> 
>  Documentation/devicetree/bindings/net/dsa/brcm,b53.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring <robh@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ