[PATCH] net: thunderx: Fix OOPs with ethtool --register-dump
David Miller
davem at davemloft.net
Thu Aug 18 21:16:55 PDT 2016
From: David Daney <ddaney.cavm at gmail.com>
Date: Tue, 16 Aug 2016 12:28:17 -0700
> From: David Daney <david.daney at 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 at cavium.com>
Applied.
More information about the linux-arm-kernel
mailing list