2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/net/ethernet/cavium/thunder
David Daney 1423661fed 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>
2016-08-18 21:16:37 -07:00
..
Makefile
nic_main.c net: thunderx: Fix TL4 configuration for secondary Qsets 2016-06-29 05:14:13 -04:00
nic_reg.h net: thunderx: Fix OOPs with ethtool --register-dump 2016-08-18 21:16:37 -07:00
nic.h net: thunderx: Adjust nicvf structure to reduce cache misses 2016-03-14 12:33:36 -04:00
nicvf_ethtool.c net: thunderx: Fix OOPs with ethtool --register-dump 2016-08-18 21:16:37 -07:00
nicvf_main.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
nicvf_queues.c mm/page_ref: use page_ref helper instead of direct modification of _count 2016-05-19 19:12:14 -07:00
nicvf_queues.h net: thunderx: Fix receive packet stats 2016-02-17 22:24:57 -05:00
q_struct.h net: thunderx: HW TSO support for pass-2 hardware 2015-12-11 23:38:17 -05:00
thunder_bgx.c net: thunderx: Fix link status reporting 2016-06-29 05:14:13 -04:00
thunder_bgx.h net: thunderx: Fix link status reporting 2016-06-29 05:14:13 -04:00