> From: Intel-wired-lan <[email protected]> On Behalf Of Jacob 
> Keller
> Sent: Wednesday, April 8, 2026 11:47 AM
> To: Nguyen, Anthony L <[email protected]>; Intel Wired LAN 
> <[email protected]>; [email protected]
> Cc: Loktionov, Aleksandr <[email protected]>; Keller, Jacob E 
> <[email protected]>; Miskell, Timothy <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-net 4/4] ice: fix 
> ice_ptp_read_tx_hwtstamp_status_eth56g
>
> The ice_ptp_read_tx_hwtstamp_status_eth56g function calls
> ice_read_phy_eth56g with a PHY index. However the function actually expects
> a port index. This causes the function to read the wrong PHY_PTP_INT_STATUS
> registers, and effectively makes the status wrong for the second set of
> ports from 4 to 7.
>
> The ice_read_phy_eth56g function uses the provided port index to determine
> which PHY device to read. We could refactor the entire chain to take a PHY
> index, but this would impact many code sites. Instead, multiply the PHY
> index by the number of ports, so that we read from the first port of each
> PHY.
>
> Fixes: 7cab44f1c35f ("ice: Introduce ETH56G PHY model for E825C products")
> Signed-off-by: Jacob Keller <[email protected]>
> Reviewed-by: Aleksandr Loktionov <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

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

Reply via email to