summaryrefslogtreecommitdiffstats
path: root/kernel/context_tracking.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-08-28 23:55:53 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-10-09 01:08:50 +0200
commitee5c1e92dd01d372b8e054b5a7e1cc19a1d32815 (patch)
tree0c03506eacf37314a7ca7b1d924a82573a10b099 /kernel/context_tracking.c
parenti40e: Support FW CEE DCB UP to TC map nibble swap (diff)
downloadlinux-ee5c1e92dd01d372b8e054b5a7e1cc19a1d32815.tar.xz
linux-ee5c1e92dd01d372b8e054b5a7e1cc19a1d32815.zip
i40evf: detect reset more reliably
Using VFGEN_RSTAT to detect a VF reset is an endeavor that is fraught with peril. It's entirely too easy to miss a reset because none of the bits are sticky. By the time the VF driver reads the register, the reset may have been processed and cleaned up by the PF driver, leaving the register in the same state that it was before the reset. Instead, detect a reset with the VF_ARQLEN register. When the VF is reset, the enable bit in this register is cleared, and it stays cleared until the VF driver processes the reset and re-enables the admin queue. Because we now deal with multiple registers in the reset and watchdog tasks, rename the rstat_val variable to reg_val. Change-ID: Id1df17045c0992e607da0162d31807f7fc20d199 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 'kernel/context_tracking.c')
0 files changed, 0 insertions, 0 deletions