> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of 
> Aleksandr Loktionov
> Sent: 27 March 2026 12:54
> To: [email protected]; Nguyen, Anthony L 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>
> Cc: [email protected]; Temerkhanov, Sergey <[email protected]>
> Subject: [Intel-wired-lan] [PATCH net] ice: use READ_ONCE() to access cached 
> PHC time
>
> From: Sergey Temerkhanov <[email protected]>
>
> ptp.cached_phc_time is a 64-bit value updated by a periodic work item on one 
> CPU and read locklessly on another.  On 32-bit or non-atomic architectures 
> this can result in a torn read.  Use READ_ONCE() to enforce a single atomic 
> load.
>
> Fixes: 77a781155a65 ("ice: enable receive hardware timestamping")
> Cc: [email protected]
> Signed-off-by: Sergey Temerkhanov <[email protected]>
> Signed-off-by: Aleksandr Loktionov <[email protected]>
> ---
>
> drivers/net/ethernet/intel/ice/ice_ptp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)

Reply via email to