Thread (1 message) 1 message, 1 author, 2016-08-19

Re: [PATCH] net: thunderx: Fix OOPs with ethtool --register-dump

From: David Miller <davem@davemloft.net>
Date: 2016-08-19 04:17:12
Also in: linux-arm-kernel, lkml, stable

From: David Daney <redacted>
Date: Tue, 16 Aug 2016 12:28:17 -0700
From: David Daney <redacted>

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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help