linux_dsm_epyc7002/drivers/net/ethernet/intel/igbvf
Brian King 1e1f9ca546 igbvf: Use smp_rmb rather than read_barrier_depends
The original issue being fixed in this patch was seen with the ixgbe
driver, but the same issue exists with igbvf as well, as the code is
very similar. read_barrier_depends is not sufficient to ensure
loads following it are not speculatively loaded out of order
by the CPU, which can result in stale data being loaded, causing
potential system crashes.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-11-21 23:46:04 -08:00
..
defines.h ethernet/intel: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
ethtool.c igbvf: add lock around mailbox ops 2017-08-08 17:59:03 -07:00
igbvf.h igbvf: Use net_device_stats from struct net_device 2017-04-20 16:32:45 -07:00
Makefile igbvf: change copyright date 2012-02-03 03:07:15 -08:00
mbx.c igbvf: add lock around mailbox ops 2017-08-08 17:59:03 -07:00
mbx.h igb/igbvf: Add VF MAC filter request capabilities 2017-04-20 16:32:44 -07:00
netdev.c igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:46:04 -08:00
regs.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
vf.c igbvf: convert msleep to mdelay in atomic context 2017-08-08 18:08:00 -07:00
vf.h igbvf: add lock around mailbox ops 2017-08-08 17:59:03 -07:00