> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of Karol > Kolacinski > Sent: Thursday, June 20, 2024 5:57 PM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org; Kolacinski, Karol <karol.kolacin...@intel.com>; > Nguyen, Anthony L <anthony.l.ngu...@intel.com>; Kitszel, Przemyslaw > <przemyslaw.kits...@intel.com>; Keller, Jacob E <jacob.e.kel...@intel.com>; > Olech, Milena <milena.ol...@intel.com> > Subject: [Intel-wired-lan] [PATCH v2 iwl-net 1/3] ice: Fix improper extts > handling > > From: Milena Olech <milena.ol...@intel.com> > > Extts events are disabled and enabled by the application ts2phc. > However, in case where the driver is removed when the application is running, > channel remains enabled. As a result, in the next run of the app, two > channels are enabled and the information "extts on unexpected channel" is > printed to the user. > > To avoid that, extts events shall be disabled when PTP is released. > > Fixes: 172db5f91d5f ("ice: add support for auxiliary input/output pins") > Reviewed-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > Co-developed-by: Jacob Keller <jacob.e.kel...@intel.com> > Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com> > Signed-off-by: Milena Olech <milena.ol...@intel.com> > Signed-off-by: Karol Kolacinski <karol.kolacin...@intel.com> > --- > V1 -> V2: removed extra space and fixed return value in > ice_ptp_gpio_enable_e823() > > drivers/net/ethernet/intel/ice/ice_ptp.c | 106 ++++++++++++++++++----- > drivers/net/ethernet/intel/ice/ice_ptp.h | 8 ++ > 2 files changed, 92 insertions(+), 22 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)