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-next>] [day] [month] [year] [list]
Message-Id: <20230317113427.302162-1-noltari@gmail.com>
Date:   Fri, 17 Mar 2023 12:34:24 +0100
From:   Álvaro Fernández Rojas 
        <noltari@...il.com>
To:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com, robh+dt@...nel.org,
        krzysztof.kozlowski+dt@...aro.org, f.fainelli@...il.com,
        jonas.gorski@...il.com, andrew@...n.ch, olteanv@...il.com,
        hkallweit1@...il.com, linux@...linux.org.uk,
        netdev@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Cc:     Álvaro Fernández Rojas 
        <noltari@...il.com>
Subject: [PATCH 0/3] net: dsa: b53: mmap: add MDIO Mux bus controller

B53 MMAP devices have a MDIO Mux bus controller that must be registered after
properly initializing the switch.
If the MDIO Mux controller is registered from a separate driver and the device
has an external switch present, it will cause a race condition which will hang
the device.

Álvaro Fernández Rojas (3):
  dt-bindings: net: move bcm6368-mdio-mux bindings to b53
  net: dsa: b53: mmap: register MDIO Mux bus controller
  net: mdio: remove BCM6368 MDIO mux bus driver

 .../bindings/net/brcm,bcm6368-mdio-mux.yaml   |  52 -----
 .../devicetree/bindings/net/dsa/brcm,b53.yaml | 131 +++++++++++++
 drivers/net/dsa/b53/Kconfig                   |   1 +
 drivers/net/dsa/b53/b53_mmap.c                | 127 +++++++++++-
 drivers/net/mdio/Kconfig                      |  11 --
 drivers/net/mdio/Makefile                     |   1 -
 drivers/net/mdio/mdio-mux-bcm6368.c           | 184 ------------------
 7 files changed, 258 insertions(+), 249 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/net/brcm,bcm6368-mdio-mux.yaml
 delete mode 100644 drivers/net/mdio/mdio-mux-bcm6368.c

-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ