[Intel-wired-lan] [PATCH iwl-net v1] ice: fix PHY Clock Recovery availability check
Pucha, HimasekharX Reddy
himasekharx.reddy.pucha at intel.com
Thu Nov 14 10:55:19 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Arkadiusz Kubalewski
> Sent: 01 October 2024 00:06
> To: intel-wired-lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>; Kubalewski, Arkadiusz <arkadiusz.kubalewski at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-net v1] ice: fix PHY Clock Recovery availability check
>
> To check if PHY Clock Recovery mechanic is available for a device, there is a need to verify if given PHY is available within the netlist, but the netlist node type used for the search is wrong, also the search context shall be specified.
>
> Modify the search function to allow specifying the context in the search.
>
> Use the PHY node type instead of CLOCK CONTROLLER type, also use proper search context which for PHY search is PORT, as defined in E810 Datasheet [1] ('3.3.8.2.4 Node Part Number and Node Options (0x0003)' and 'Table 3-105. Program Topology Device NVM Admin Command').
>
> [1] https://cdrdv2.intel.com/v1/dl/getContent/613875?explicitVersion=true
>
> Fixes: 91e43ca0090b ("ice: fix linking when CONFIG_PTP_1588_CLOCK=n")
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_common.c | 25 ++++++++++++++-------
> 1 file changed, 17 insertions(+), 8 deletions(-)
>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list