]> git.baikalelectronics.ru Git - kernel.git/commit
ice: fix driver unload flow
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 9 Oct 2019 14:09:44 +0000 (07:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Nov 2019 00:41:45 +0000 (16:41 -0800)
commitfde1219c804481b82f00f653668158e4ce60c616
tree57837f38dd1c56578a1a58ac2e141bf0c75c14fc
parent913fb6b7b9b697108c8c9da5046a140dc13151f8
ice: fix driver unload flow

As part of the driver unload flow, a PF reset is issued which may still
cause an interrupt to be generated by the device.  Do not clear the
interrupt scheme until the reset is complete and there are no pending
transactions otherwise a hardware error may occur.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c