summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>2018-07-04 11:12:39 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-07 04:44:09 +0300
commit53a710b5044d8475faa6813000b6dd659400ef7b (patch)
tree8c490e5fdafe6eed18527cd63e784771b7b334c7 /tools/perf/scripts/python/syscall-counts.py
parent70ba5b6db96ff7324b8cfc87e0d0383cf59c9677 (diff)
downloadlinux-53a710b5044d8475faa6813000b6dd659400ef7b.tar.xz
sh_eth: fix invalid context bug while calling auto-negotiation by ethtool
Since commit 35b5f6b1a82b ("PHYLIB: Locking fixes for PHY I/O potentially sleeping") phy_start_aneg() function utilizes a mutex to serialize changes to phy state, however the helper function is called in atomic context. The bug can be reproduced by running "ethtool -r" command, the bug is reported if CONFIG_DEBUG_ATOMIC_SLEEP build option is enabled. Fixes: dc19e4e5e02f ("sh: sh_eth: Add support ethtool") Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions