aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDoug Berger <[email protected]>2024-04-25 15:27:19 -0700
committerDavid S. Miller <[email protected]>2024-04-29 06:24:21 +0100
commitd85cf67a339685beae1d0aee27b7f61da95455be (patch)
tree43f83f2b75f56ccec40b0e048a91a5df0fe5ed92 /tools/perf/scripts/python/net_dropmonitor.py
parentb2ff42c6d3abc26ef0f395fe9ee8c64364fbaa22 (diff)
net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
The EXT_RGMII_OOB_CTRL register can be written from different contexts. It is predominantly written from the adjust_link handler which is synchronized by the phydev->lock, but can also be written from a different context when configuring the mii in bcmgenet_mii_config(). The chances of contention are quite low, but it is conceivable that adjust_link could occur during resume when WoL is enabled so use the phydev->lock synchronizer in bcmgenet_mii_config() to be sure. Fixes: afe3f907d20f ("net: bcmgenet: power on MII block for all MII modes") Cc: [email protected] Signed-off-by: Doug Berger <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions