mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-24 09:39:18 +00:00
![]() There was a problem when we received frames and the frames were
timestamped. The driver is configured to store the nanosecond part of
the timestmap in the ptp reserved bits and it would take the second part
by reading the LTC. The problem is that when reading the LTC we are in
atomic context and to read the second part will go over mdio bus which
might sleep, so we get an error.
The fix consists in actually put all the frames in a queue and start the
aux work and in that work to read the LTC and then calculate the full
received time.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
mscc_fc_buffer.h | ||
mscc_mac.h | ||
mscc_macsec.c | ||
mscc_macsec.h | ||
mscc_main.c | ||
mscc_ptp.c | ||
mscc_ptp.h | ||
mscc_serdes.c | ||
mscc_serdes.h | ||
mscc.h |