OpenCloudOS-Kernel/drivers/net/ethernet/intel/ixgbevf
Brian King ae0c585d93 ixgbevf: 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 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.

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: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-11-21 23:44:53 -08:00
..
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
defines.h ixgbevf: add VF support for new hardware 2016-07-22 01:27:47 -07:00
ethtool.c ixgbevf: Check for RSS key before setting value 2017-04-29 20:01:04 -07:00
ixgbevf.h ixgbevf: Check for RSS key before setting value 2017-04-29 20:01:04 -07:00
ixgbevf_main.c ixgbevf: Use smp_rmb rather than read_barrier_depends 2017-11-21 23:44:53 -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 ixgbevf: Add support for VF promiscuous mode 2017-01-03 13:03:40 -08:00
regs.h ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
vf.c ixgbevf: Resolve warnings for -Wimplicit-fallthrough 2017-05-31 04:46:44 -07:00
vf.h locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE() 2017-10-25 11:01:08 +02:00