summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2016-12-14 22:02:00 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-01-04 00:03:38 +0300
commit3efa9ed260ce838976eb9177bae7249caf7a2aa1 (patch)
treec9bf1627a239b423e6a25be4f5175f649da0931d /drivers/devfreq
parent54f6d4c42451dbd2cc7e0f0bd8fc3eddcab511fe (diff)
downloadlinux-3efa9ed260ce838976eb9177bae7249caf7a2aa1.tar.xz
ixgbe: Fix issues with EEPROM access
There are two problems with EEPROM access. One is that it needs to hold the semaphore until the entire response is read or else the response can be corrupted by other firmware accesses. The second problem is that acquiring and releasing the semaphore is slow, so it should be taken and released once when multiple EEPROM accesses will be done. Both of these issues can be solved by adding a new function, ixgbe_hic_unlocked, to issue firmware commands that will assume that the caller has acquired the needed semaphore. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions