summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2017-10-27 11:06:55 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-11-21 23:25:17 -0800
commit3d72aebfc61b025a2478c9d2bbc3c8c4036a1c05 (patch)
tree488dcd5abb85384f2397dac9e4cd0cb9cd164ab3 /firmware
parent0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c (diff)
i40e: Fix for NUP NVM image downgrade failure
Since commit 96a39aed25e6 ("i40e: Acquire NVM lock before reads on all devices") we've used the NVM lock to synchronize NVM reads even on devices which don't strictly need the lock. Doing so can cause a regression on older firmware prior to 1.5, especially when downgrading the firmware. Fix this by only grabbing the lock if we're running on an X722 device (which requires the lock as it uses the AdminQ to read the NVM), or if we're currently running 1.5 or newer firmware. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions