Pull timer fix from Ingo Molnar: "Fix a spurious kernel warning during CPU hotplug events that may trigger when timer/hrtimer softirqs are pending, which are otherwise hotplug-safe and don't merit a warning" * tag 'timers-urgent-2023-10-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: timers: Tag (hr)timer softirq as hotplug safe
Unified · Split
| @@ -569,8 +569,12 @@ enum · 568 unmodified lines | |||
| 569 | * 2) rcu_report_dead() reports the final quiescent states. | 569 | * 2) rcu_report_dead() reports the final quiescent states. |
| 570 | * | 570 | * |
| 571 | * _ IRQ_POLL: irq_poll_cpu_dead() migrates the queue | 571 | * _ IRQ_POLL: irq_poll_cpu_dead() migrates the queue |
| 572 | * | ||
| 573 | * _ (HR)TIMER_SOFTIRQ: (hr)timers_dead_cpu() migrates the queue | ||
| 572 | */ | 574 | */ |
| 573 | #define SOFTIRQ_HOTPLUG_SAFE_MASK (BIT(RCU_SOFTIRQ) | BIT(IRQ_POLL_SOFTIRQ)) | 575 | #define SOFTIRQ_HOTPLUG_SAFE_MASK (BIT(TIMER_SOFTIRQ) | BIT(IRQ_POLL_SOFTIRQ) |\ |
| 576 | BIT(HRTIMER_SOFTIRQ) | BIT(RCU_SOFTIRQ)) | ||
| 577 | |||
| 574 | 578 | ||
| 575 | /* map softirq index to softirq name. update 'softirq_to_name' in | 579 | /* map softirq index to softirq name. update 'softirq_to_name' in |
| 576 | * kernel/softirq.c when adding a new softirq. | 580 | * kernel/softirq.c when adding a new softirq. |