* [PATCH net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x
@ 2024-08-23 12:04 MD Danish Anwar
2024-08-23 15:49 ` Roger Quadros
2024-08-27 2:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: MD Danish Anwar @ 2024-08-23 12:04 UTC (permalink / raw)
To: Andrew Lunn, Dan Carpenter, Diogo Ivo, Jan Kiszka, Paolo Abeni,
Jakub Kicinski, Eric Dumazet, David S. Miller
Cc: linux-kernel, netdev, linux-arm-kernel, srk, Vignesh Raghavendra,
Roger Quadros, danishanwar
Crash is seen on AM64x 10M link when connecting / disconnecting multiple
times.
The fix for this is to enable quirk_10m_link_issue for AM64x.
Fixes: b256e13378a9 ("net: ti: icssg-prueth: Add AM64x icssg support")
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
---
NOTE: If quirk_10m_link_issue is set, the ICSSG driver enables IEP1 which
fixes the 10M link issue.
As per Roger Quadros <rogerq@kernel.org> 's suggestion [1], posting this
as a separate patch.
[1] https://lore.kernel.org/all/cde0064d-83dd-4a7f-8921-053c25aae08b@kernel.org/
drivers/net/ethernet/ti/icssg/icssg_prueth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/ti/icssg/icssg_prueth.c b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
index 3e51b3a9b0a5..e3451beed323 100644
--- a/drivers/net/ethernet/ti/icssg/icssg_prueth.c
+++ b/drivers/net/ethernet/ti/icssg/icssg_prueth.c
@@ -1452,6 +1452,7 @@ static const struct prueth_pdata am654_icssg_pdata = {
static const struct prueth_pdata am64x_icssg_pdata = {
.fdqring_mode = K3_RINGACC_RING_MODE_RING,
+ .quirk_10m_link_issue = 1,
.switch_mode = 1,
};
base-commit: 82b8000c28b56b014ce52a1f1581bef4af148681
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x
2024-08-23 12:04 [PATCH net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x MD Danish Anwar
@ 2024-08-23 15:49 ` Roger Quadros
2024-08-27 2:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Roger Quadros @ 2024-08-23 15:49 UTC (permalink / raw)
To: MD Danish Anwar, Andrew Lunn, Dan Carpenter, Diogo Ivo,
Jan Kiszka, Paolo Abeni, Jakub Kicinski, Eric Dumazet,
David S. Miller
Cc: linux-kernel, netdev, linux-arm-kernel, srk, Vignesh Raghavendra
On 23/08/2024 15:04, MD Danish Anwar wrote:
> Crash is seen on AM64x 10M link when connecting / disconnecting multiple
> times.
>
> The fix for this is to enable quirk_10m_link_issue for AM64x.
>
> Fixes: b256e13378a9 ("net: ti: icssg-prueth: Add AM64x icssg support")
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x
2024-08-23 12:04 [PATCH net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x MD Danish Anwar
2024-08-23 15:49 ` Roger Quadros
@ 2024-08-27 2:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-08-27 2:30 UTC (permalink / raw)
To: MD Danish Anwar
Cc: andrew, dan.carpenter, diogo.ivo, jan.kiszka, pabeni, kuba,
edumazet, davem, linux-kernel, netdev, linux-arm-kernel, srk,
vigneshr, rogerq
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 23 Aug 2024 17:34:12 +0530 you wrote:
> Crash is seen on AM64x 10M link when connecting / disconnecting multiple
> times.
>
> The fix for this is to enable quirk_10m_link_issue for AM64x.
>
> Fixes: b256e13378a9 ("net: ti: icssg-prueth: Add AM64x icssg support")
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
>
> [...]
Here is the summary with links:
- [net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x
https://git.kernel.org/netdev/net/c/e846be0fba85
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-27 2:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 12:04 [PATCH net] net: ti: icssg-prueth: Fix 10M Link issue on AM64x MD Danish Anwar
2024-08-23 15:49 ` Roger Quadros
2024-08-27 2:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox