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: <20200925230421.711991-1-vladimir.oltean@nxp.com>
Date:   Sat, 26 Sep 2020 02:04:18 +0300
From:   Vladimir Oltean <vladimir.oltean@....com>
To:     davem@...emloft.net, netdev@...r.kernel.org
Cc:     andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
        kuba@...nel.org, cphealy@...il.com, jiri@...dia.com
Subject: [PATCH v2 net-next 0/3] Devlink regions for SJA1105 DSA driver

This series exposes the SJA1105 static config as a devlink region. This
can be used for debugging, for example with the sja1105_dump user space
program that I have derived from Andrew Lunn's mv88e6xxx_dump:

https://github.com/vladimiroltean/mv88e6xxx_dump/tree/sja1105

Changes in v2:
- Tear down devlink params on initialization failure.
- Add driver identification through devlink.

Vladimir Oltean (3):
  net: dsa: sja1105: move devlink param code to sja1105_devlink.c
  net: dsa: sja1105: expose static config as devlink region
  net: dsa: sja1105: implement .devlink_info_get

 drivers/net/dsa/sja1105/Makefile          |   1 +
 drivers/net/dsa/sja1105/sja1105.h         |  16 +-
 drivers/net/dsa/sja1105/sja1105_devlink.c | 255 ++++++++++++++++++++++
 drivers/net/dsa/sja1105/sja1105_main.c    | 106 +--------
 drivers/net/dsa/sja1105/sja1105_spi.c     |   5 +-
 5 files changed, 277 insertions(+), 106 deletions(-)
 create mode 100644 drivers/net/dsa/sja1105/sja1105_devlink.c

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ