]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix IOSF SB access issues
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 10 Apr 2015 17:36:26 +0000 (10:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 May 2015 08:40:50 +0000 (01:40 -0700)
commit200433cdbc5895bf6b58a93f206ac9c5e04fdbe0
treeb1504eeb6321e077897ded1d0b2c649b9febcc65
parent47119897768dc97137b0f791f6666dabd7951acf
ixgbe: Fix IOSF SB access issues

IOSF is the Intel On-chip System Fabric used in SOCs. IOSF SB is
the IOSF SideBand message interface. This patch serializes IOSF SB
access using both phy bits in the SWFW_SEMAPHORE register. It also
adds a helper function to wait for IOSF SB accesses to complete.
Use the new function to perform this wait before each access, as
specified in the datasheet, in addition to using it to wait for
IOSF SB read/write completion.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c