exynos-linux-stable/drivers/net/ethernet/intel/ixgbevf
Brian King 08a3d59e79 ixgbevf: Use smp_rmb rather than read_barrier_depends
commit ae0c585d93dfaf923d2c7eb44b2c3ab92854ea9b upstream.

The original issue being fixed in this patch was seen with the ixgbe
driver, but the same issue exists with ixgbevf 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: Andrew Bowers <andrewx.bowers@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 ixgbevf: add VF support for new hardware 2016-07-22 01:27:47 -07:00
ethtool.c ixgbevf: make use of BIT() macro to avoid shift of signed values 2016-04-25 04:41:56 -07:00
ixgbevf.h ixgbevf: change hw_dbg to use netdev_dbg 2016-08-18 22:45:20 -07:00
ixgbevf_main.c ixgbevf: Use smp_rmb rather than read_barrier_depends 2017-11-30 08:39:08 +00:00
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
mbx.c ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val 2016-06-29 09:18:06 -07:00
mbx.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
regs.h ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
vf.c ixgbevf: fix incorrect MAC address on load 2016-08-20 19:41:21 -07:00
vf.h ixgbevf: Add range checking for setting MTU 2016-07-22 01:52:08 -07:00