]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitae14a1d8e10498d4054664f14e7cc7d093f3c823
treeb1504eeb6321e077897ded1d0b2c649b9febcc65
parent30544af5483755b11bb5924736e9e0b45ef0644a
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