Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465979 > unrolled thread

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

Started byDavid Miller <davem@davemloft.net>
First post2016-08-19 06:20 +0200
Last post2016-08-19 06:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] net: thunderx: Fix OOPs with ethtool --register-dump David Miller <davem@davemloft.net> - 2016-08-19 06:20 +0200

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

FromDavid Miller <davem@davemloft.net>
Date2016-08-19 06:20 +0200
SubjectRe: [PATCH] net: thunderx: Fix OOPs with ethtool --register-dump
Message-ID<s7JrH-Kb-9@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web