[Intel-wired-lan] [PATCH iwl-net v1 5/5] igc: Add lock preventing multiple simultaneous PTM transactions

Corinna Vinschen vinschen at redhat.com
Thu Aug 8 15:17:03 UTC 2024


Hi Christopher,

On Aug  6 17:30, christopher.s.hall at intel.com wrote:
> From: Christopher S M Hall <christopher.s.hall at intel.com>
> 
> Add a mutex around the PTM transaction to prevent multiple transactors
> 
> Multiple processes try to initiate a PTM transaction, one or all may
> fail. This can be reproduced by running two instances of the
> following:

I saw a former version of the patch which additionally added a mutex
lock/unlock in igc_ptp_reset() just before calling igc_ptm_trigger().
Is it safe to skip that?  igc_ptp_reset() is called from igc_reset()
which in turn is called from quite a few places.


Thanks,
Corinna



More information about the Intel-wired-lan mailing list