2024-05-28 14:23:14

by Alexis Lothoré

[permalink] [raw]
Subject: [PATCH wireless 0/3] wifi: wilc1000: revert SRCU to RCU conversion series

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/[email protected]/
[2] https://lore.kernel.org/linux-wireless/[email protected]/

---
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