stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] net: thunderx: Fix OOPs with ethtool --register-dump
       [not found] <1471375697-1878-1-git-send-email-ddaney.cavm@gmail.com>
@ 2016-08-19  4:16 ` David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2016-08-19  4:16 UTC (permalink / raw)
  To: ddaney.cavm
  Cc: netdev, linux-kernel, sgoutham, rric, linux-arm-kernel,
	david.daney, stable

From: David Daney <ddaney.cavm@gmail.com>
Date: Tue, 16 Aug 2016 12:28:17 -0700

> From: David Daney <david.daney@cavium.com>
> 
> 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>

Applied.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-19  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1471375697-1878-1-git-send-email-ddaney.cavm@gmail.com>
2016-08-19  4:16 ` [PATCH] net: thunderx: Fix OOPs with ethtool --register-dump David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).