linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH wireless 0/3] wifi: wilc1000: revert SRCU to RCU conversion series
@ 2024-05-28 14:20 Alexis Lothoré
  2024-05-28 14:20 ` [PATCH wireless 1/3] Revert "wifi: wilc1000: convert list management to RCU" Alexis Lothoré
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexis Lothoré @ 2024-05-28 14:20 UTC (permalink / raw)
  To: linux-wireless
  Cc: Ajay Singh, Claudiu Beznea, Kalle Valo, Thomas Petazzoni,
	Dan Carpenter, linux-kernel, Alexis Lothoré

This series is a follow-up to the static analyzer warnings raised by Dan
Carpenter ([1]), and the agreement to proceed with a revert ([2]) due to the
difficulties involved in fixing the remaining issues.

The initial series aimed to simplify the driver by switching it to
classical RCU, since there was no evidence of SRCU usage legitimity in it.
The warnings raised after the merge are likely hinting at some technical
constraints which eventually led to SRCU usage, so put it back.
Additionally, the series adds some comments to document SRCU usage.

Unfortunately the faulty series reached a tagged release, so this revert
series targets the wireless tree (ie not the wireless-next).

[1] https://lore.kernel.org/linux-wireless/3b46ec7c-baee-49fd-b760-3bc12fb12eaf@moroto.mountain/
[2] https://lore.kernel.org/linux-wireless/878qzu8e4k.fsf@kernel.org/

---
Alexis Lothoré (3):
      Revert "wifi: wilc1000: convert list management to RCU"
      Revert "wifi: wilc1000: set atomic flag on kmemdup in srcu critical section"
      wifi: wilc1000: document SRCU usage instead of SRCU

 drivers/net/wireless/microchip/wilc1000/cfg80211.c | 41 ++++++++++++---------
 drivers/net/wireless/microchip/wilc1000/hif.c      | 17 +++++----
 drivers/net/wireless/microchip/wilc1000/netdev.c   | 43 +++++++++++++---------
 drivers/net/wireless/microchip/wilc1000/netdev.h   | 12 +++++-
 drivers/net/wireless/microchip/wilc1000/wlan.c     |  5 ++-
 5 files changed, 72 insertions(+), 46 deletions(-)
---
base-commit: 7e81b62cfb9abdd8177606f7c79a0585503bd7ae
change-id: 20240528-wilc_revert_srcu_to_rcu-57c6a9138345

Best regards,
-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

end of thread, other threads:[~2024-06-01  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 14:20 [PATCH wireless 0/3] wifi: wilc1000: revert SRCU to RCU conversion series Alexis Lothoré
2024-05-28 14:20 ` [PATCH wireless 1/3] Revert "wifi: wilc1000: convert list management to RCU" Alexis Lothoré
2024-06-01  9:59   ` Kalle Valo
2024-05-28 14:20 ` [PATCH wireless 2/3] Revert "wifi: wilc1000: set atomic flag on kmemdup in srcu critical section" Alexis Lothoré
2024-05-28 14:20 ` [PATCH wireless 3/3] wifi: wilc1000: document SRCU usage instead of SRCU Alexis Lothoré

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).