aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAnsuel Smith <[email protected]>2021-05-14 23:00:08 +0200
committerDavid S. Miller <[email protected]>2021-05-14 15:30:22 -0700
commit60df02b6ea4581d72eb7a3ab7204504a54059b72 (patch)
tree09ed4e74324c8fdbd042d90af25f631545f0424c /tools/perf/scripts/python/flamegraph.py
parent63c33bbfeb6842a956a0eb12901e28eb335bdb18 (diff)
net: dsa: qca8k: dsa: qca8k: protect MASTER busy_wait with mdio mutex
MDIO_MASTER operation have a dedicated busy wait that is not protected by the mdio mutex. This can cause situation where the MASTER operation is done and a normal operation is executed between the MASTER read/write and the MASTER busy_wait. Rework the qca8k_mdio_read/write function to address this issue by binding the lock for the whole MASTER operation and not only the mdio read/write common operation. Signed-off-by: Ansuel Smith <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions