Thread (6 messages) 6 messages, 2 authors, 2021-12-22

Re: [PATCH 3/3] phy: nxp-c45-tja11xx: read the tx timestamp without lock

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-12-20 15:12:52
Also in: lkml

On Mon, Dec 20, 2021 at 02:08:59PM +0200, Radu Pirea (NXP OSS) wrote:
The tx timestamps are read from only one place in interrupt or polling
mode. Locking the mutex is useless.
You cannot take a mutex in an interrupt handler. So your description
is probably not accurate.

Is it safe for other ptp operations to be performed in parallel with
reading the TX timestamp? _nxp_c45_ptp_settime64()?

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help