]> 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)
commit49aa4979043ab92ecb5c5a5ce8fa97aa90b46770
tree57837f38dd1c56578a1a58ac2e141bf0c75c14fc
parent1f3a871e504925ce31a78147b5c35d714de1af41
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