net: dsa: mv88e6xxx: Export cross-chip PVT as devlink region
authorTobias Waldekranz <tobias@waldekranz.com>
Wed, 21 Apr 2021 12:04:54 +0000 (14:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2021 17:25:09 +0000 (10:25 -0700)
commit836021a2d0e0e4c90b895a35bd9c0342071855fb
tree0806b992d88b6f127af8b71d009c77128502c848
parent281140a0a2ce4febf2c0ce5d29d0e7d961a826b1
net: dsa: mv88e6xxx: Export cross-chip PVT as devlink region

Export the raw PVT data in a devlink region so that it can be
inspected from userspace and compared to the current bridge
configuration.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/devlink.c
drivers/net/dsa/mv88e6xxx/global2.c
drivers/net/dsa/mv88e6xxx/global2.h