]> git.baikalelectronics.ru Git - kernel.git/commit
ice: rearm other interrupt cause register after enabling VFs
authorPaul Greenwalt <paul.greenwalt@intel.com>
Mon, 12 Jul 2021 11:54:25 +0000 (07:54 -0400)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 7 Dec 2021 21:21:01 +0000 (13:21 -0800)
commita692d7fa076897cdf14d41753371895d497ce1c7
tree3e3c83f623ab55df77523f1886ea89362ac3415b
parentc772cfb8777c28cec317f73919ea5b7e92fec6ef
ice: rearm other interrupt cause register after enabling VFs

The other interrupt cause register (OICR), global interrupt 0, is
disabled when enabling VFs to prevent handling VFLR. If the OICR is
not rearmed then the VF cannot communicate with the PF.

Rearm the OICR after enabling VFs.

Fixes: fcefa27d96fe ("ice: Separate VF VSI initialization/creation from reset flow")
Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c