> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Arkadiusz Kubalewski > Sent: 01 October 2024 00:06 > To: [email protected] > Cc: Loktionov, Aleksandr <[email protected]>; Kubalewski, > Arkadiusz <[email protected]> > 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 <[email protected]> > Signed-off-by: Arkadiusz Kubalewski <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_common.c | 25 ++++++++++++++------- > 1 file changed, 17 insertions(+), 8 deletions(-) >
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
