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]
Date:   Tue, 27 Nov 2018 16:57:05 +0000
From:   "David R. Piegdon" <lkml@...q.org>
To:     "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
        Alan Stern <stern@...land.harvard.edu>,
        Chunfeng Yun <chunfeng.yun@...iatek.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Johan Hovold <johan@...nel.org>, Kay Sievers <kay@...y.org>,
        Mark Rutland <mark.rutland@....com>,
        Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
        Mathias Nyman <mathias.nyman@...ux.intel.com>,
        Rob Herring <robh+dt@...nel.org>,
        Roger Quadros <rogerq@...com>,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-usb@...r.kernel.org, systemd-devel@...ts.freedesktop.org
Subject: [RFC PATCH 0/2] USB: DTS: allow suggesting busnumber for platform
 USB bus via DTS alias

Hi,

on our embedded systems we rely on systemd's persistent netdev names.
Those currently do not work for USB netdevs that are connected to a
platform USB bus.

In https://github.com/systemd/systemd/pull/7273 a systemd patch was
suggested that would allow exactly this, but it was (rightfully) said
that numbering of theses busses is not guaranteed. Internally we used
the patch for a while now, but exactly that has happened with one of our
platforms across different kernel revisions.

The following kernel patches allow suggesting a USB busnumber for each
USB platform bus via a DTS alias, as can be done similarly for many
other devices.
In combination with above systemd patch, these changes allow use of
persistent netdev names also on platform USB busses.

NOTE: this patch might change ordering of busses on devices that use
platform-busses, if aliases for these busses have already been defined!
In the current master there are a few platforms that contain such
aliases, e.g. am33xx, dm814x or imx6qdl

Yours,

David

David R. Piegdon (2):
  usb core: dts: allow suggesting usb bus number for platform busses
  dt-bindings: allow suggesting usb bus number for usb platform busses

 Documentation/devicetree/bindings/usb/usb-hcd.txt |  9 +++++++
 drivers/usb/core/hcd.c                            | 30 ++++++++++++++++++-----
 2 files changed, 33 insertions(+), 6 deletions(-)

-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ