🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
2 messages
2 total messages Started by Siddharth Vadapalli Fri, 27 Nov 2026 01:24
Re: [PATCH net-next] net: ethernet: ti: davinci_mdio: enable MDIO manual mode for AM62PX
#23280
Author: Siddharth Vadapalli
Date: Fri, 27 Nov 2026 01:24
59 lines
22984 bytes
On 26/11/26 7:52 PM, Paul Louvel wrote:
> Adding Pascal in the thread.
> 
> On Wed Nov 25, 2026 at 4:08 PM CET, Paul Louvel (Schneider Electric) wrote:
>> The problem described in Errata i2329 also affect the TI AM62PX SoC,
>> despite not being listed in the following document:
>>
>> https://www.ti.com/lit/er/sprz574b/sprz574b.pdf
>>
>> Add it to the structure that enables MDIO manual mode.

Internal documentation clarifies that AM62PX SoC is NOT affected by 
i2329. Therefore, AM62PX is not listed in the documented on purpose (it 
is not a documentation gap).

>>
>> Link: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1647576/am62p-external-switch-connectivity-problems

While switching to manual mode seems to fix the issue as described on 
the E2E, the underlying cause is different (possibly a PHY issue that is 
exposed when using the Hardware-State-Machine, but is masked when using 
the Manual Mode with Software).

I believe it is incorrect to add AM62PX as an affected platform given 
that the Errata doesn't affect AM62PX and also given the Software 
overhead with MDIO Manual Mode.

Regards,
Siddharth.

>> Signed-off-by: Paul Louvel (Schneider Electric) <paul.louvel@bootlin.com>
>> ---
>>   drivers/net/ethernet/ti/davinci_mdio.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c
>> index c413887657e9..9b58ba7acc4f 100644
>> --- a/drivers/net/ethernet/ti/davinci_mdio.c
>> +++ b/drivers/net/ethernet/ti/davinci_mdio.c
>> @@ -505,6 +505,7 @@ static const struct k3_mdio_soc_data am65_mdio_soc_data = {
>>   
>>   static const struct soc_device_attribute k3_mdio_socinfo[] = {
>>   	{ .family = "AM62X", .data = &am65_mdio_soc_data },
>> +	{ .family = "AM62PX", .data = &am65_mdio_soc_data },
>>   	{ .family = "AM64X", .data = &am65_mdio_soc_data },
>>   	{ .family = "AM65X", .data = &am65_mdio_soc_data },
>>   	{ .family = "J7200", .data = &am65_mdio_soc_data },
>>
>> ---
>> base-commit: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
>> change-id: 20261125-am62p-mdio-bitbang-1092530ef9a0
>>
>> Best regards,
>> --
>> Paul Louvel, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
> 
Re: [PATCH net-next] net: ethernet: ti: davinci_mdio: enable MDIO manual mode for AM62PX
#24059
Author: Siddharth Vadapalli
Date: Sun, 29 Nov 2026 05:33
91 lines
24595 bytes
On 27/11/26 2:56 PM, Bo Mellberg wrote:
> Hi Siddharth,
> 
> If I may, as one of your customers: how do you propose we move forward
> without this patch? Even if your possible explanation below turns out to
> be true, you have not provided another workaround for the mdio-bus on
> the AM62PX.

Since it was concluded as 'the fix' on the E2E without providing any 
details to allow TI to debug the issue, I find it wrong that you claim:
"... you have not provided another workaround ... "

To provide a workaround, the issue needs to be root-caused and this 
wasn't done at all. A guess that the MDIO Errata somehow affects AM62Px 
SoC seems to have coincidentally addressed the issue, due to which no 
details were provided and there was no scope for further discussion on 
the E2E.

> 
> I would gladly remove the Manual mode that we have to run now, but
> then you have to provide another workaround.

Since Manual mode fixed the issue, kindly carry it in your Linux tree. 
We at TI will certainly help you root-cause the issue and provide the 
proper fix for it. However, it is incorrect to push for this Manual mode 
change to be upstreamed just because it fixed your issue, given that the 
Errata does NOT affect AM62Px SoC.

> 
> I suggest to keep the patch, for all the other customers out there, with
> a comment that it is temporary until a better workaround exists.

Such patches should NOT be upstreamed because you are claiming something 
which isn't true (AM62Px SoC being affected by the MDIO Errata). It can 
only be present in your Linux tree or documented on the E2E until the 
issue is root-caused and the fix is identified. For this, we request 
your cooperation on the E2E where you help us recreate the issue and 
share the boot logs and other debug information.

Also, please do not top-post on the Linux mailing lists. Kindly reply 
inline and we can discuss further on the E2E. I look forward to your 
cooperation on this matter and thank you for your patience until the 
issue is root-caused and the proper fix is identified.

Regards,
Siddharth.

> 
>>Hi Siddharth,
>>
> 
> General
> 
>  >On Fri Nov 27, 2026 at 2:24 AM CET, Siddharth Vadapalli wrote:
>  >>> On Wed Nov 25, 2026 at 4:08 PM CET, Paul Louvel (Schneider 
> Electric) wrote:
>  >>>> The problem described in Errata i2329 also affect the TI AM62PX SoC,
>  >>>> despite not being listed in the following document:
>  >>>>
>  >>>> https://www.ti.com/lit/er/sprz574b/sprz574b.pdf <https:// 
> www.ti.com/lit/er/sprz574b/sprz574b.pdf>
>>>>>
>>>>> Add it to the structure that enables MDIO manual mode.
>>>
>>> Internal documentation clarifies that AM62PX SoC is NOT affected by 
>>> i2329. Therefore, AM62PX is not listed in the documented on purpose (it 
>>> is not a documentation gap).
>>>
>>
>>Ok.
>>
>>>
>>> While switching to manual mode seems to fix the issue as described on 
>>> the E2E, the underlying cause is different (possibly a PHY issue that is 
>>> exposed when using the Hardware-State-Machine, but is masked when using 
>>> the Manual Mode with Software).
>>>
>>> I believe it is incorrect to add AM62PX as an affected platform given 
>>> that the Errata doesn't affect AM62PX and also given the Software 
>>> overhead with MDIO Manual Mode.
>  >>
>  >> Regards,
>  >> Siddharth.
>  >>
>  >
> 
> Best regards,
> 
> Bo
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads