exynos-linux-stable/drivers/net/ethernet/intel/igbvf
Brian King 9213061fb6 igbvf: Use smp_rmb rather than read_barrier_depends
commit 1e1f9ca546556e508d021545861f6b5fc75a95fe upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:39:08 +00:00
..
defines.h igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
ethtool.c igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
igbvf.h igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
Makefile igbvf: change copyright date 2012-02-03 03:07:15 -08:00
mbx.c igb/igbvf: don't give up 2016-02-15 16:17:57 -08:00
mbx.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
netdev.c igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-30 08:39:08 +00:00
regs.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
vf.c igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
vf.h igbvf: Add support for generic Tx checksums 2016-02-24 15:42:33 -08:00