summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2016-08-16 23:30:36 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-19 07:16:37 +0300
commit1423661fed2c40d6d71b5e2e3aa390f85157f9d5 (patch)
tree8443105714495293e44f4c9daca2eeb87b52f645 /tools/perf/scripts/python/stackcollapse.py
parent039a392733600d35c80d406a98151b2a9a0a74b4 (diff)
downloadlinux-1423661fed2c40d6d71b5e2e3aa390f85157f9d5.tar.xz
net: thunderx: Fix OOPs with ethtool --register-dump
The ethtool_ops .get_regs function attempts to read the nonexistent register NIC_QSET_SQ_0_7_CNM_CHG, which produces a "bus error" type OOPs. Fix by not attempting to read, and removing the definition of, NIC_QSET_SQ_0_7_CNM_CHG. A zero is written into the register dump to keep the layout unchanged. Signed-off-by: David Daney <david.daney@cavium.com> Cc: <stable@vger.kernel.org> # 4.4.x- Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions