diff options
author | Milena Olech <milena.olech@intel.com> | 2024-07-02 20:14:54 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-04 05:36:51 +0300 |
commit | 00d3b4f54582d4e4a02cda5886bb336eeab268cc (patch) | |
tree | 61687c53aaae5427c10f2ffbb8c825e8266b216f /drivers/ata/sata_sis.c | |
parent | 2a79651bf2fad8620ad594c66bbf2cc2bd342417 (diff) | |
download | linux-00d3b4f54582d4e4a02cda5886bb336eeab268cc.tar.xz |
ice: Fix improper extts handling
Extts events are disabled and enabled by the application ts2phc.
However, in case where the driver is removed when the application is
running, a specific extts event remains enabled and can cause a kernel
crash.
As a side effect, when the driver is reloaded and application is started
again, remaining extts event for the channel from a previous run will
keep firing and the message "extts on unexpected channel" might be
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.kitszel@intel.com>
Co-developed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Milena Olech <milena.olech@intel.com>
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
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>
Link: https://patch.msgid.link/20240702171459.2606611-2-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ata/sata_sis.c')
0 files changed, 0 insertions, 0 deletions