All of lore.kernel.org
 help / color / mirror / Atom feed
* [net PATCH v5 0/2] Move EST lock and EST structure to struct stmmac_priv
@ 2024-05-10 12:21 ` Xiaolei Wang
  0 siblings, 0 replies; 14+ messages in thread
From: Xiaolei Wang @ 2024-05-10 12:21 UTC (permalink / raw)
  To: alexandre.torgue, joabreu, davem, edumazet, kuba, pabeni,
	mcoquelin.stm32, richardcochran, bartosz.golaszewski, horms,
	rohan.g.thomas, rmk+kernel, fancer.lancer, ahalaney
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel

1. Pulling the mutex protecting the EST structure out to avoid
    clearing it during reinit/memset of the EST structure,and
    reacquire the mutex lock when doing this initialization. 

2. Moving the EST structure to a more logical location

v1 -> v2:
  - move the lock to struct plat_stmmacenet_data
v2 -> v3:
  - Add require the mutex lock for reinitialization
v3 -> v4
  - Move est and est lock to stmmac_priv as suggested by Serge
v4 -> v5
  - Submit it into two patches and add the Fixes tag

Xiaolei Wang (2):
  net: stmmac: move the EST lock to struct stmmac_priv
  net: stmmac: move the EST structure to struct stmmac_priv

 drivers/net/ethernet/stmicro/stmmac/stmmac.h  |  3 +
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 18 +++---
 .../net/ethernet/stmicro/stmmac/stmmac_ptp.c  | 30 +++++-----
 .../net/ethernet/stmicro/stmmac/stmmac_tc.c   | 58 +++++++++----------
 include/linux/stmmac.h                        |  2 -
 5 files changed, 56 insertions(+), 55 deletions(-)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-05-11 18:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10 12:21 [net PATCH v5 0/2] Move EST lock and EST structure to struct stmmac_priv Xiaolei Wang
2024-05-10 12:21 ` Xiaolei Wang
2024-05-10 12:21 ` [net PATCH v5 1/2] net: stmmac: move the EST lock " Xiaolei Wang
2024-05-10 12:21   ` Xiaolei Wang
2024-05-11 17:37   ` Simon Horman
2024-05-11 17:37     ` Simon Horman
2024-05-11 18:01   ` Serge Semin
2024-05-11 18:01     ` Serge Semin
2024-05-10 12:21 ` [net PATCH v5 2/2] net: stmmac: move the EST structure " Xiaolei Wang
2024-05-10 12:21   ` Xiaolei Wang
2024-05-11 17:41   ` Simon Horman
2024-05-11 17:41     ` Simon Horman
2024-05-11 18:10   ` Serge Semin
2024-05-11 18:10     ` Serge Semin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.