Re: [V2][linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-05-02 Thread Bruce Ashfield
In message: [V2][linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id on 28/04/2022 quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > The phy->id is an unique id under _ida after callin

[V2][linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread quanyang.wang
From: Quanyang Wang The phy->id is an unique id under _ida after calling phy_create, but the s32g serdes driver uses it to save lane_id (0 or 1), this results that phy->id is not unique anymore and will trigger calltrace as below for being freed multiple times. [ 129.135513] ida_free called

Re: [linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread quanyang.wang
Hi Paul, On 4/27/22 22:52, Paul Gortmaker wrote: [[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id] On 27/04/2022 (Wed 19:32) quanyang.wang wrote: From: Quanyang Wang The phy->id is an unique id under _

Re: [linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread Paul Gortmaker
[[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id] On 27/04/2022 (Wed 19:32) quanyang.wang wrote: > From: Quanyang Wang > > The phy->id is an unique id under _ida after calling phy_create, &g

[linux-yocto][v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g][PATCH] s32g: serdes: add new function get_lane_id to retrieve lane_id

2022-04-27 Thread quanyang.wang
From: Quanyang Wang The phy->id is an unique id under _ida after calling phy_create, but the s32g serdes driver uses it to save lane_id (0 or 1), this results that phy->id is not unique anymore and will trigger calltrace as below for being freed multiple times. [ 129.135513] ida_free called