cpuhotplug: Convert all priority notifiers to the state machine
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest67 patches 27 repliesIn review
- v166 patches 35 repliesSuperseded
Changes in v2 from the cover letter
- Addressed the review comments from Ingo, Paul and Pavel
- Picked up acked-bys
- Picked up the massaged changelogs from Ingo
- Fixed the fallout from 0-day testing
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/67 | cpuhotplug: Handle early registration gracefullykernel/ | +7 | 0 replies | |
| 2/67 | x86/vdso: Convert to hotplug state machinearch/ include/ | +5 | 0 replies | |
| 3/67 | irqchip/gic: Convert to hotplug state machinedrivers/ include/ | +7 | 0 replies | |
| 4/67 | irqchip/gicv3: Convert to hotplug state machinedrivers/ include/ | +8 | 0 replies | |
| 5/67 | irqchip/hip04: Convert to hotplug state machinedrivers/ include/ | +6 | 0 replies | |
| 6/67 | irqchip/armada-370-xp: Convert to hotplug state machinedrivers/ include/ | +17 | 0 replies | |
| 7/67 | irqchip/bcm2836: Convert to hotplug state machinedrivers/ include/ | +14 | 0 replies | |
| 8/67 | ARM: mvebu: Convert to hotplug state machinearch/ include/ | +7 | 0 replies | |
| 9/67 | perf/core: Convert to hotplug state machineinclude/ include/ kernel/ +1 more | +32 | 0 replies | |
| 10/67 | perf/x86: Convert the core to the hotplug state machinearch/ arch/ arch/ +1 more | +74 | 0 replies | |
| 11/67 | perf/x86/intel/uncore: Convert to hotplug state machinearch/ include/ | +48 | 0 replies | |
| 12/67 | perf/x86/amd/uncore: Convert to hotplug state machinearch/ include/ | +35 | 0 replies | |
| 13/67 | perf/x86/amd/ibs: Convert to hotplug state machinearch/ include/ | +29 | 0 replies | |
| 14/67 | perf/x86/intel/rapl: Convert to hotplug state machinearch/ include/ | +27 | 0 replies | |
| 15/67 | perf/x86/intel/cqm: Convert Intel CQM to hotplug state machinearch/ include/ | +20 | 0 replies | |
| 16/67 | perf/x86/intel/cstate: Convert Intel CSTATE to hotplug state machinearch/ include/ | +17 | 0 replies | |
| 17/67 | blackfin/perf: Convert hotplug notifier to state machinearch/ include/ | +6 | 0 replies | |
| 18/67 | powerpc/perf: Convert book3s notifier to state machine callbacksarch/ include/ | +8 | 0 replies | |
| 19/67 | s390/perf: Convert the hotplug notifier to state machine callbacks (Counter)arch/ include/ | +20 | 0 replies | |
| 20/67 | s390/perf: Convert the hotplug notifier to state machine callbacks (Sampling)arch/ include/ | +20 | 0 replies | |
| 21/67 | sh/perf: Convert the hotplug notifiers to state machine callbacksarch/ include/ | +5 | 0 replies | |
| 22/67 | bus/arm-cci: Convert to hotplug statemachinedrivers/ include/ | +24 | 1 reply | |
| 23/67 | bus/arm-ccn: Convert to hotplug statemachinedrivers/ include/ | +29 | 1 reply | |
| 24/67 | xtensa/perf: Convert the hotplug notifier to state machine callbacksarch/ include/ | +10 | 0 replies | |
| 25/67 | perf/x86/amd/power: Change hotplug notifier to a symmetric structurearch/ | +2 | 0 replies | |
| 26/67 | perf/x86/amd/power: Convert the hotplug notifier to state machinearch/ include/ | +12 | 0 replies | |
| 27/67 | perf/core: Remove perf CPU notifier codeinclude/ include/ | +0 | 0 replies | |
| 28/67 | workqueue: Convert to state machine callbacksinclude/ include/ include/ +2 more | +61 | 0 replies | |
| 29/67 | x86/hpet: Convert to hotplug state machinearch/ include/ | +36 | 0 replies | |
| 30/67 | powerpc/numa: Convert to hotplug state machinearch/ include/ | +17 | 7 replies | |
| 31/67 | KVM/x86: Remove superfluous SMP function callarch/ | +2 | 1 reply | |
| 32/67 | x86/kvm/kvmclock: Convert to hotplug state machinearch/ include/ | +9 | 0 replies | |
| 33/67 | x86/apb_timer: Convert to hotplug state machinearch/ include/ | +11 | 0 replies | |
| 34/67 | arm: Convert VFP hotplug notifiers to state machinearch/ include/ | +18 | 0 replies | |
| 35/67 | arm/perf: Convert to hotplug state machinedrivers/ include/ include/ | +16 | 9 replies | |
| 36/67 | virt: Convert kvm hotplug to state machineinclude/ virt/ | +9 | 0 replies | |
| 37/67 | ACPI/processor: Avoid STARTING/DYING actions in a more logical waydrivers/ | +6 | 0 replies | |
| 38/67 | clocksource/arm_arch_timer: Convert to hotplug state machinedrivers/ include/ | +27 | 0 replies | |
| 39/67 | clocksource/dummy_timer: Convert to hotplug state machinedrivers/ include/ | +7 | 0 replies | |
| 40/67 | clocksource/metag: Convert to hotplug state machinedrivers/ include/ | +7 | 0 replies | |
| 41/67 | clocksource/qcom-timer: Convert to hotplug state machinedrivers/ include/ | +12 | 0 replies | |
| 42/67 | clocksource/mips-gic: Convert to hotplug state machinedrivers/ include/ | +14 | 0 replies | |
| 43/67 | leds/trigger/cpu: Convert to hotplug state machinedrivers/ include/ | +16 | 9 replies | |
| 44/67 | arm/kvm/vgic: Convert to hotplug state machineinclude/ virt/ | +9 | 0 replies | |
| 45/67 | arm/kvm/arch_timer: Convert to hotplug state machineinclude/ virt/ | +12 | 0 replies | |
| 46/67 | metag/perf: Convert to hotplug state machinearch/ include/ | +8 | 0 replies | |
| 47/67 | arm/l2c: Convert to hotplug state machinearch/ include/ | +14 | 0 replies | |
| 48/67 | arm/twd: Convert to hotplug state machinearch/ include/ | +12 | 0 replies | |
| 49/67 | arm/xen: Convert to hotplug state machinearch/ include/ | +12 | 2 replies | |
| 50/67 | MIPS/Loongson-3: Convert oprofile to hotplug state machinearch/ include/ | +15 | 0 replies | |
| 51/67 | hwtracing/coresight-etm3x: Convert to hotplug state machinedrivers/ include/ | +50 | 0 replies | |
| 52/67 | hwtracing/coresight-etm4x: Convert to hotplug state machinedrivers/ include/ | +49 | 0 replies | |
| 53/67 | arm64/armv8 deprecated: Convert to hotplug state machinearch/ include/ | +6 | 0 replies | |
| 54/67 | x86/tboot: Convert to hotplug state machinearch/ include/ | +9 | 0 replies | |
| 55/67 | hrtimer: Convert to hotplug state machineinclude/ include/ kernel/ +1 more | +18 | 0 replies | |
| 56/67 | timers/core: Convert to hotplug state machineinclude/ include/ kernel/ +1 more | +14 | 2 replies | |
| 57/67 | profile: Convert to hotplug state machineinclude/ kernel/ | +66 | 0 replies | |
| 58/67 | x86/x2apic: Convert to CPU hotplug state machinearch/ include/ | +31 | 0 replies | |
| 59/67 | smp: Convert core to hotplug state machineinclude/ include/ kernel/ +1 more | +48 | 0 replies | |
| 60/67 | KVM/arm/arm64/vgic-new: Convert to hotplug state machineinclude/ virt/ | +10 | 1 reply | |
| 61/67 | rcu: Convert rcutree to hotplug state machineinclude/ include/ include/ +2 more | +83 | 0 replies | |
| 62/67 | clocksource: arm_global_timer: Convert to hotplug state machine.drivers/ include/ | +11 | 0 replies | |
| 63/67 | clocksource/exynos_mct: Convert to hotplug state machinedrivers/ include/ | +13 | 0 replies | |
| 64/67 | clocksource/armada-370-xp: Convert to hotplug state machinedrivers/ include/ | +12 | 0 replies | |
| 65/67 | clocksource/atlas7: Convert to hotplug state machinedrivers/ include/ | +10 | 0 replies | |
| 66/67 | ARC/time: Convert to hotplug state machinearch/ include/ | +19 | 0 replies | |
| 67/67 | cpuhotplug: Remove CPU_STARTING and CPU_DYING notifierarch/ include/ include/ +2 more | +2 | 0 replies |
Reviews trailers per patch
51 of 67 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Sebastian Andrzej Siewior | Paolo Bonzini | Mathieu Poirier | Andy Lutomirski | Ralf Baechle | Tejun Heo | Stefano Stabellini | Jason Cooper | Jacek Anaszewski | Marc Zyngier | Punit Agrawal | Pawel Moll | Mark Rutland | Jon Hunter |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Series | A-b | |||||||||||||
| 1/67 | ||||||||||||||
| 2/67 | A-b | |||||||||||||
| 3/67 | R-b | |||||||||||||
| 4/67 | R-b | |||||||||||||
| 5/67 | R-b | |||||||||||||
| 6/67 | ||||||||||||||
| 7/67 | ||||||||||||||
| 8/67 | ||||||||||||||
| 9/67 | R-b | |||||||||||||
| 10/67 | R-b | |||||||||||||
| 11/67 | R-b | |||||||||||||
| 12/67 | R-b | |||||||||||||
| 13/67 | R-b | |||||||||||||
| 14/67 | R-b | |||||||||||||
| 15/67 | R-b | |||||||||||||
| 16/67 | ||||||||||||||
| 17/67 | R-b | |||||||||||||
| 18/67 | R-b | |||||||||||||
| 19/67 | R-b | |||||||||||||
| 20/67 | ||||||||||||||
| 21/67 | R-b | |||||||||||||
| 22/67 | A-b | |||||||||||||
| 23/67 | A-b | |||||||||||||
| 24/67 | ||||||||||||||
| 25/67 | ||||||||||||||
| 26/67 | ||||||||||||||
| 27/67 | R-b | |||||||||||||
| 28/67 | R-b | A-b | ||||||||||||
| 29/67 | ||||||||||||||
| 30/67 | ||||||||||||||
| 31/67 | A-b | |||||||||||||
| 32/67 | A-b | |||||||||||||
| 33/67 | ||||||||||||||
| 34/67 | R-b | |||||||||||||
| 35/67 | R-b R-b R-b | A-b A-b | ||||||||||||
| 36/67 | R-b | A-b | ||||||||||||
| 37/67 | R-b | |||||||||||||
| 38/67 | R-b | |||||||||||||
| 39/67 | R-b | |||||||||||||
| 40/67 | R-b | |||||||||||||
| 41/67 | R-b | |||||||||||||
| 42/67 | R-b | |||||||||||||
| 43/67 | R-b | A-b | ||||||||||||
| 44/67 | R-b | |||||||||||||
| 45/67 | R-b | |||||||||||||
| 46/67 | R-b | |||||||||||||
| 47/67 | R-b | |||||||||||||
| 48/67 | R-b | |||||||||||||
| 49/67 | R-b | R-b R-b | ||||||||||||
| 50/67 | R-b | A-b | ||||||||||||
| 51/67 | R-b | A-b | ||||||||||||
| 52/67 | A-b | |||||||||||||
| 53/67 | ||||||||||||||
| 54/67 | R-b | |||||||||||||
| 55/67 | R-b | |||||||||||||
| 56/67 | R-b | T-b | ||||||||||||
| 57/67 | ||||||||||||||
| 58/67 | ||||||||||||||
| 59/67 | R-b | |||||||||||||
| 60/67 | A-b | |||||||||||||
| 61/67 | R-b | |||||||||||||
| 62/67 | R-b | |||||||||||||
| 63/67 | R-b | |||||||||||||
| 64/67 | R-b | |||||||||||||
| 65/67 | R-b | |||||||||||||
| 66/67 | ||||||||||||||
| 67/67 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 14 reviewers.
Cover letter [patch V2 00/67] cpuhotplug: Convert all priority notifiers to the state machine
This series is the next step towards a state machine based hotplug machinery.
It converts all notifiers which have a priority assigned and gets rid of the CPU_STARTING/DYING notifiers.
Changes vs. V1:
- Addressed the review comments from Ingo, Paul and Pavel
- Picked up acked-bys
- Picked up the massaged changelogs from Ingo
- Fixed the fallout from 0-day testing
Note this applies to tip/smp/hotplug. It contains the branches which are preliminaries for that series.
Thanks,
Anna-Maria
--- arch/arc/kernel/time.c | 48 ++---- arch/arm/kernel/smp_twd.c | 31 +--- arch/arm/mach-mvebu/coherency.c | 19 -- arch/arm/mm/cache-l2x0.c | 27 +-- arch/arm/vfp/vfpmodule.c | 28 ++-- arch/arm/xen/enlighten.c | 41 +---- arch/arm64/kernel/armv8_deprecated.c | 22 --- arch/blackfin/kernel/perf_event.c | 26 --- arch/metag/kernel/perf/perf_event.c | 26 +-- arch/mips/oprofile/op_model_loongson3.c | 35 ++--- arch/powerpc/mm/numa.c | 46 ++---- arch/powerpc/perf/core-book3s.c | 30 +--- arch/s390/kernel/perf_cpum_cf.c | 46 ++---- arch/s390/kernel/perf_cpum_sf.c | 45 ++---- arch/sh/kernel/perf_event.c | 23 --- arch/sparc/kernel/smp_32.c | 2 arch/x86/entry/vdso/vma.c | 20 -- arch/x86/events/amd/core.c | 6 arch/x86/events/amd/ibs.c | 64 ++++----- arch/x86/events/amd/power.c | 60 +------- arch/x86/events/amd/uncore.c | 122 ++++------------- arch/x86/events/core.c | 103 +++++++++----- arch/x86/events/intel/core.c | 4 arch/x86/events/intel/cqm.c | 49 ++----- arch/x86/events/intel/cstate.c | 51 ++----- arch/x86/events/intel/rapl.c | 84 +++--------- arch/x86/events/intel/uncore.c | 133 ++++++------------- arch/x86/kernel/apb_timer.c | 29 +--- arch/x86/kernel/apic/x2apic_cluster.c | 80 ++++------- arch/x86/kernel/hpet.c | 69 ++++----- arch/x86/kernel/tboot.c | 25 +-- arch/x86/kvm/x86.c | 35 +---- arch/xtensa/kernel/perf_event.c | 26 +-- drivers/acpi/processor_driver.c | 11 - drivers/bus/arm-cci.c | 53 +++---- drivers/bus/arm-ccn.c | 57 ++++---- drivers/clocksource/arm_arch_timer.c | 54 +++---- drivers/clocksource/arm_global_timer.c | 39 +---- drivers/clocksource/dummy_timer.c | 36 ----- drivers/clocksource/exynos_mct.c | 46 +----- drivers/clocksource/metag_generic.c | 33 ---- drivers/clocksource/mips-gic-timer.c | 38 +---- drivers/clocksource/qcom-timer.c | 41 +---- drivers/clocksource/time-armada-370-xp.c | 41 +---- drivers/clocksource/timer-atlas7.c | 41 +---- drivers/hwtracing/coresight/coresight-etm3x.c | 90 +++++++----- drivers/hwtracing/coresight/coresight-etm4x.c | 87 +++++++----- drivers/irqchip/irq-armada-370-xp.c | 44 ++---- drivers/irqchip/irq-bcm2836.c | 34 +--- drivers/irqchip/irq-gic-v3.c | 22 +-- drivers/irqchip/irq-gic.c | 23 --- drivers/irqchip/irq-hip04.c | 25 --- drivers/leds/trigger/ledtrig-cpu.c | 32 ++-- drivers/perf/arm_pmu.c | 36 ++--- include/linux/cpu.h | 23 --- include/linux/cpuhotplug.h | 78 +++++++++++ include/linux/hrtimer.h | 7 + include/linux/perf/arm_pmu.h | 1 include/linux/perf_event.h | 44 +----- include/linux/rcutiny.h | 7 + include/linux/rcutree.h | 7 + include/linux/smp.h | 5 include/linux/timer.h | 6 include/linux/workqueue.h | 6 kernel/cpu.c | 89 ++++++++---- kernel/events/core.c | 56 +------- kernel/profile.c | 181 +++++++++----------------- kernel/rcu/tree.c | 105 +++++++-------- kernel/smp.c | 79 ++++------- kernel/time/hrtimer.c | 40 ----- kernel/time/timer.c | 25 --- kernel/workqueue.c | 108 ++++++--------- tools/testing/radix-tree/linux/cpu.h | 13 - virt/kvm/arm/arch_timer.c | 35 +---- virt/kvm/arm/vgic.c | 39 +---- virt/kvm/arm/vgic/vgic-init.c | 31 +--- virt/kvm/kvm_main.c | 32 +--- 77 files changed, 1287 insertions(+), 2068 deletions(-)