timers: Provide timer_shutdown[_sync]()
Status from this message: This is a note to let you know that I've just added the patch titled
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | Documentation: Remove bogus claim about del_timer_sync()Documentation/ Documentation/ | +2 | 1 reply | |
| 2/15 | ARM: spear: Do not use timer namespace for timer_shutdown() functionarch/ | +4 | 1 reply | |
| 3/15 | clocksource/drivers/arm_arch_timer: Do not use timer namespace for timer_shutdown() functiondrivers/ | +6 | 1 reply | |
| 4/15 | clocksource/drivers/sp804: Do not use timer namespace for timer_shutdown() functiondrivers/ | +3 | 1 reply | |
| 5/15 | timers: Get rid of del_singleshot_timer_sync()drivers/ drivers/ drivers/ +3 more | +9 | 1 reply | |
| 6/15 | timers: Replace BUG_ON()skernel/ | +6 | 1 reply | |
| 7/15 | timers: Rename del_timer() to timer_delete()include/ kernel/ | +17 | 1 reply | |
| 8/15 | Documentation: Replace del_timer/del_timer_sync()Documentation/ Documentation/ Documentation/ +2 more | +13 | 1 reply | |
| 9/15 | timers: Silently ignore timers with a NULL functionkernel/ | +52 | 1 reply | |
| 10/15 | timers: Split [try_to_]del_timer[_sync]() to prepare for shutdown modekernel/ | +92 | 1 reply | |
| 11/15 | timers: Add shutdown mechanism to the internal functionskernel/ | +54 | 1 reply | |
| 12/15 | timers: Provide timer_shutdown[_sync]()include/ kernel/ | +68 | 1 reply | |
| 13/15 | timers: Update the documentation to reflect on the new timer_shutdown() APIDocumentation/ Documentation/ Documentation/ | +7 | 1 reply | |
| 14/15 | Bluetooth: hci_qca: Fix the teardown problem for realdrivers/ | +8 | 1 reply | |
| 15/15 | timers: Fix NULL function pointer race in timer_shutdown_sync()kernel/ | +4 | 2 replies |
Reviews trailers per patch
14 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Jacob Keller | Anna-Maria Behnsen | Guenter Roeck | Arnd Bergmann | Viresh Kumar | Marc Zyngier | Steven Rostedt (Google) | Luiz Augusto von Dentz |
|---|---|---|---|---|---|---|---|---|
| 1/15 | R-b R-b | R-b R-b | ||||||
| 2/15 | R-b R-b | R-b R-b | T-b R-b T-b R-b | A-b A-b | A-b A-b | |||
| 3/15 | R-b R-b | R-b R-b | T-b R-b T-b R-b | A-b A-b | ||||
| 4/15 | R-b R-b | R-b R-b | T-b R-b T-b R-b | |||||
| 5/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 6/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 7/15 | R-b R-b | R-b R-b | T-b T-b | R-b R-b | ||||
| 8/15 | R-b R-b | R-b R-b | ||||||
| 9/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 10/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 11/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 12/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 13/15 | R-b R-b | R-b R-b | T-b T-b | |||||
| 14/15 | R-b R-b | R-b R-b | T-b T-b | A-b A-b | ||||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [PATCH 5.10.y 00/15] timers: Provide timer_shutdown[_sync]()
The "timers: Provide timer_shutdown[_sync]()" patch series implemented a useful feature that addresses various bugs caused by attempts to rearm shutdown timers.
https://lore.kernel.org/all/[email protected]/
However, this patch series was not fully backported to versions prior to 6.2, requiring separate patches for older kernels if these bugs were encountered.
The biggest problem with this is that even if these bugs were discovered and patched in the upstream kernel, if the maintainer or author didn't create a separate backport patch for versions prior to 6.2, the bugs would remain untouched in older kernels.
Therefore, to reduce the hassle of having to write a separate patch, we should backport the remaining unbackported commits from the "timers: Provide timer_shutdown[_sync]()" patch series to versions prior to 6.2.
--- Documentation/RCU/Design/Requirements/Requirements.rst | 2 +- Documentation/core-api/local_ops.rst | 2 +- Documentation/kernel-hacking/locking.rst | 17 ++--- Documentation/timers/hrtimers.rst | 2 +- Documentation/translations/it_IT/kernel-hacking/locking.rst | 14 ++--- arch/arm/mach-spear/time.c | 8 +-- drivers/bluetooth/hci_qca.c | 10 ++- drivers/char/tpm/tpm-dev-common.c | 4 +- drivers/clocksource/arm_arch_timer.c | 12 ++-- drivers/clocksource/timer-sp804.c | 6 +- drivers/staging/wlan-ng/hfa384x_usb.c | 4 +- drivers/staging/wlan-ng/prism2usb.c | 6 +- include/linux/timer.h | 17 ++++- kernel/time/timer.c | 316 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------- net/sunrpc/xprt.c | 2 +- 15 files changed, 322 insertions(+), 100 deletions(-)