summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-05-15 00:00:08 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-15 01:30:22 +0300
commit60df02b6ea4581d72eb7a3ab7204504a54059b72 (patch)
tree09ed4e74324c8fdbd042d90af25f631545f0424c /tools/perf/scripts/python/mem-phys-addr.py
parent63c33bbfeb6842a956a0eb12901e28eb335bdb18 (diff)
downloadlinux-60df02b6ea4581d72eb7a3ab7204504a54059b72.tar.xz
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 <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions