From: David S. Miller Date: Sat, 19 Sep 2020 01:19:42 +0000 (-0700) Subject: Merge branch 'mv88e6xxx-Add-devlink-regions-support' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a5a3303e26cdf6867bc1f4cdd3f0a56673d70ea7;p=linux.git Merge branch 'mv88e6xxx-Add-devlink-regions-support' Andrew Lunn says: ==================== mv88e6xxx: Add devlink regions support Make use of devlink regions to allow read access to some of the internal of the switches. Currently access to global1, global2 and the ATU is provided. The switch itself will never trigger a region snapshot, it is assumed it is performed from user space as needed. v2: Remove left of debug print Comment ATU format is generic to mv88e6xxx Combine declaration and the assignment on a single line. v3: Drop support for port regions Improve the devlink API with a priv member and passing the region to the snapshot function Make the helper to convert from devlink to ds an inline function v4: Add missing kerneldoc in ICE driver Fix typo for global2 reading global1 registers Make use of enum to make code more readable ==================== Signed-off-by: David S. Miller --- a5a3303e26cdf6867bc1f4cdd3f0a56673d70ea7