]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 27 Aug 2015 15:00:22 +0000 (08:00 -0700)
commit0c9e374e8e997a253512ae72b67e0d9ae70154ac
treed8e5a2d38389fa51a2344be3454d9678bd6996d2
parent670094695cd32ab4c5d7f52aec53209676fa1207
ixgbe: Fix IOSF SB access issues

Orabug: 21669416

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>
(cherry picked from commit ae14a1d8e10498d4054664f14e7cc7d093f3c823)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c