2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/net/ethernet/amd/xgbe
Tom Lendacky f602b976b6 amd-xgbe: Interrupt summary bits are h/w version dependent
There is a difference in the bit position of the normal interrupt summary
enable (NIE) and abnormal interrupt summary enable (AIE) between revisions
of the hardware.  For older revisions the NIE and AIE bits are positions
16 and 15 respectively.  For newer revisions the NIE and AIE bits are
positions 15 and 14.  The effect in changing the bit position is that
newer hardware won't receive AIE interrupts in the current version of the
driver.  Specifically, the driver uses this interrupt to collect
statistics on when a receive buffer unavailable event occurs and to
restart the driver/device when a fatal bus error occurs.

Update the driver to set the interrupt enable bit based on the reported
version of the hardware.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-29 15:31:10 -07:00
..
Makefile amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-common.h amd-xgbe: Interrupt summary bits are h/w version dependent 2017-08-29 15:31:10 -07:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Add support to handle device renaming 2017-08-18 16:30:16 -07:00
xgbe-desc.c amd-xgbe: Add NUMA affinity support for memory allocations 2017-06-29 15:14:18 -04:00
xgbe-dev.c amd-xgbe: Interrupt summary bits are h/w version dependent 2017-08-29 15:31:10 -07:00
xgbe-drv.c amd-xgbe: Add support for VXLAN offload capabilities 2017-08-18 16:30:17 -07:00
xgbe-ethtool.c amd-xgbe: Add additional ethtool statistics 2017-08-18 16:30:17 -07:00
xgbe-i2c.c amd-xgbe: Re-issue interrupt if interrupt status not cleared 2017-06-29 15:14:18 -04:00
xgbe-main.c amd-xgbe: Add support for VXLAN offload capabilities 2017-08-18 16:30:17 -07:00
xgbe-mdio.c amd-xgbe: Convert to using the new link mode settings 2017-08-18 16:30:17 -07:00
xgbe-pci.c amd-xgbe: Add additional dynamic debug messages 2017-08-18 16:30:16 -07:00
xgbe-phy-v1.c amd-xgbe: Convert to using the new link mode settings 2017-08-18 16:30:17 -07:00
xgbe-phy-v2.c amd-xgbe: Convert to using the new link mode settings 2017-08-18 16:30:17 -07:00
xgbe-platform.c amd-xgbe: Prepare for more fine grained cache coherency controls 2017-06-29 15:14:18 -04:00
xgbe-ptp.c amd-xgbe: Use the proper register during PTP initialization 2017-06-29 15:14:16 -04:00
xgbe.h amd-xgbe: Add additional ethtool statistics 2017-08-18 16:30:17 -07:00