]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Remove runtime change of PFINT_OICR_ENA register
authorMd Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Thu, 28 Feb 2019 23:25:58 +0000 (15:25 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 2 May 2019 08:19:26 +0000 (01:19 -0700)
commitc9b00893667a38ea99d0e886ce760eebb3149e9c
tree9efe1ba5bee789b11cf6ab5a51bef7338b4ab9fd
parentf2244b4503fbfadb9b3fa20a70e1c54b3a0e179d
ice: Remove runtime change of PFINT_OICR_ENA register

Runtime change of PFINT_OICR_ENA register is unnecessary.
The handlers should always clear the atomic bit for each
task as they start, because it will make sure that any late
interrupt will either 1) re-set the bit, or 2) be handled
directly in the "already running" task handler.

Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c