summaryrefslogtreecommitdiff
path: root/lib/seq_buf.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2016-03-10 22:59:49 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-05 19:27:09 (GMT)
commit19b73d8efaa459a66665b5e0a3e7acedd05f4901 (patch)
tree85f4bba499b7e15dbb6877204e8830d0ed75f89d /lib/seq_buf.c
parent56e5ca688f3d334ddc2acab27cb7efa83b238557 (diff)
downloadlinux-19b73d8efaa459a66665b5e0a3e7acedd05f4901.tar.xz
i40evf: Add additional check for reset
If the driver happens to read a register during the time in which the device is undergoing reset, it will receive a value of 0xdeadbeef instead of a valid value. Unfortunately, the driver may misinterpret this as a valid value, especially if it's just looking for individual bits. Add an explicit check for this value when we are looking for admin queue errors, and trigger reset recovery if we find it. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions