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  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]
Date:   Sun, 16 Aug 2020 13:17:52 -0700
From:   Chris Healy <cphealy@...il.com>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     David Miller <davem@...emloft.net>,
        netdev <netdev@...r.kernel.org>,
        Vivien Didelot <vivien.didelot@...il.com>
Subject: Re: [PATCH net-next 0/7] net: dsa: mv88e6xxx: Add devlink regions support

I tested this on the Rev C Zii Vybrid Dev Board which has two Marvell
88E6390X switches.

Both switches worth of port, global, and atu data show up when running
the devlink show command and for each of the regions, I can dump the
contents.

I also tested on a different platform with a single 88E6352.

Full series is:

Tested-by: Chris Healy <cphealy@...il.com>

On Sun, Aug 16, 2020 at 12:44 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> Make use of devlink regions to allow read access to some of the
> internal of the switches. The switch itself will never trigger a
> region snapshot, it is assumed it is performed from user space as
> needed.
>
> Andrew Lunn (7):
>   net: dsa: Add helper to convert from devlink to ds
>   net: dsa: Add devlink regions support to DSA
>   net: dsa: mv88e6xxx: Move devlink code into its own file
>   net: dsa: mv88e6xxx: Create helper for FIDs in use
>   net: dsa: mv88e6xxx: Add devlink regions
>   net: dsa: wire up devlink info get
>   net: dsa: mv88e6xxx: Implement devlink info get callback
>
>  drivers/net/dsa/mv88e6xxx/Makefile  |   1 +
>  drivers/net/dsa/mv88e6xxx/chip.c    | 290 ++----------
>  drivers/net/dsa/mv88e6xxx/chip.h    |  14 +
>  drivers/net/dsa/mv88e6xxx/devlink.c | 690 ++++++++++++++++++++++++++++
>  drivers/net/dsa/mv88e6xxx/devlink.h |  21 +
>  include/net/dsa.h                   |  13 +-
>  net/dsa/dsa.c                       |  36 +-
>  net/dsa/dsa2.c                      |  21 +-
>  8 files changed, 813 insertions(+), 273 deletions(-)
>  create mode 100644 drivers/net/dsa/mv88e6xxx/devlink.c
>  create mode 100644 drivers/net/dsa/mv88e6xxx/devlink.h
>
> --
> 2.28.0
>

Powered by blists - more mailing lists