ice: Skip PTP HW writes during PTP reset procedure
authorGrzegorz Nitka <grzegorz.nitka@intel.com>
Mon, 15 Jul 2024 15:39:11 +0000 (17:39 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 7 Aug 2024 17:55:36 +0000 (10:55 -0700)
commitbca515d58367494d8699ab53c645b57b71fb4785
tree2f1d733061566ac187f843910001ef305ab18fe2
parent25a7123579ecac9a89a7e5b8d8a580bee4b68acd
ice: Skip PTP HW writes during PTP reset procedure

Block HW write access for the driver while the device is in reset to
avoid potential race condition and access to the PTP HW in
non-nominal state which could lead to undesired effects

Fixes: 4aad5335969f ("ice: add individual interrupt allocation")
Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>
Co-developed-by: Karol Kolacinski <karol.kolacinski@intel.com>
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Signed-off-by: Sergey Temerkhanov <sergey.temerkhanov@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp.c