aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
AgeCommit message (Expand)AuthorFilesLines
13 dayscpu: Ignore "mitigations" kernel parameter if CPU_MITIGATIONS=nSean Christopherson1-4/+10
13 dayscpu: Re-enable CPU mitigations by default for !X86 architecturesSean Christopherson1-2/+2
2024-04-10x86/cpu: Actually turn off mitigations by default for SPECULATION_MITIGATIONS=nSean Christopherson1-1/+2
2024-03-11Merge tag 'x86-apic-2024-03-10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+3
2024-03-11Merge tag 'timers-core-2024-03-10' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+6
2024-02-27smp: Avoid 'setup_max_cpus' namespace collision/shadowingIngo Molnar1-3/+3
2024-02-26tick: Assume timekeeping is correctly handed over upon last offline idle callFrederic Weisbecker1-0/+1
2024-02-26tick: Move broadcast cancellation up to CPUHP_AP_TICK_DYINGFrederic Weisbecker1-2/+0
2024-02-26tick: Start centralizing tick related CPU hotplug operationsFrederic Weisbecker1-3/+5
2024-02-22cpu: Remove stray semicolonMax Kellermann1-1/+1
2024-02-19cpu: Mark cpu_possible_mask as __ro_after_initAlexey Dobriyan1-2/+2
2024-01-26kernel/cpu: Convert snprintf() to sysfs_emit()Li Zhijian1-2/+2
2024-01-26cpu/hotplug: Delete an extraneous kernel-doc descriptionRandy Dunlap1-1/+0
2024-01-09Merge tag 'slab-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds1-5/+0
2023-12-05cpu/hotplug: remove CPUHP_SLAB_PREPARE hooksVlastimil Babka1-5/+0
2023-11-19Merge tag 'timers_urgent_for_v6.7_rc2' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+7
2023-11-11hrtimers: Push pending hrtimers away from outgoing CPU earlierThomas Gleixner1-1/+7
2023-11-01Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+0
2023-10-30Merge tag 'rcu-next-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/fr...Linus Torvalds1-3/+10
2023-10-30Merge tag 'x86-core-2023-10-29-v2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+13
2023-10-17cpu/hotplug: Don't offline the last non-isolated CPURan Xiaokai1-4/+7
2023-10-10cpu/SMT: Make SMT control more robust against enumeration failuresThomas Gleixner1-5/+13
2023-10-04rcu: Comment why callbacks migration can't wait for CPUHP_RCUTREE_PREPFrederic Weisbecker1-0/+7
2023-10-04rcu: Standardize explicit CPU-hotplug callsFrederic Weisbecker1-3/+3
2023-10-04rcu: Assume rcu_report_dead() is always called locallyFrederic Weisbecker1-1/+1
2023-09-11arch: Remove Itanium (IA-64) architectureArd Biesheuvel1-3/+0
2023-08-30cpu/hotplug: Prevent self deadlock on CPU hot-unplugThomas Gleixner1-1/+23
2023-07-31cpu/SMT: Fix cpu_smt_possible() commentZhang Rui1-1/+1
2023-07-28cpu/SMT: Allow enabling partial SMT states via sysfsMichael Ellerman1-16/+44
2023-07-28cpu/SMT: Create topology_smt_thread_allowed()Michael Ellerman1-1/+23
2023-07-28cpu/SMT: Remove topology_smt_supported()Laurent Dufour1-2/+2
2023-07-28cpu/SMT: Store the current/max number of threadsMichael Ellerman1-1/+20
2023-07-28cpu/SMT: Move smt/control simple exit cases earlierMichael Ellerman1-6/+6
2023-07-28cpu/SMT: Move SMT prototypes into cpu_smt.hMichael Ellerman1-0/+1
2023-07-28cpu/hotplug: Remove dependancy against cpu_primary_thread_maskLaurent Dufour1-14/+10
2023-05-23cpu/hotplug: Fix off by one in cpuhp_bringup_mask()Thomas Gleixner1-3/+3
2023-05-15cpu/hotplug: Allow "parallel" bringup up to CPUHP_BP_KICK_AP_STATEThomas Gleixner1-5/+98
2023-05-15cpu/hotplug: Provide a split up CPUHP_BRINGUP mechanismThomas Gleixner1-2/+68
2023-05-15cpu/hotplug: Reset task stack state in _cpu_up()David Woodhouse1-6/+6
2023-05-15cpu/hotplug: Add CPU state tracking and synchronizationThomas Gleixner1-1/+192
2023-05-15cpu/hotplug: Rework sparse_irq locking in bringup_cpu()Thomas Gleixner1-10/+24
2023-05-15cpu/hotplug: Mark arch_disable_smp_support() and bringup_nonboot_cpus() __initThomas Gleixner1-1/+1
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-03-28lazy tlb: introduce lazy tlb mm refcount helper functionsNicholas Piggin1-1/+1
2023-03-17cpu/hotplug: move to use bus_get_dev_root()Greg Kroah-Hartman1-6/+17
2022-12-02cpu/hotplug: Do not bail-out in DYING/STARTING sectionsVincent Donnefort1-16/+40
2022-12-02cpu/hotplug: Set cpuhp target for boot cpuPhil Auld1-0/+1
2022-12-02cpu/hotplug: Make target_store() a nop when target == statePhil Auld1-1/+3
2022-05-23Merge tag 'x86_tdx_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+7
2022-04-13cpu/hotplug: Initialise all cpuhp_cpu_state structs earlierSteven Price1-9/+13
2022-04-13cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_stateSteven Price1-18/+18
2022-04-07x86/topology: Disable CPU online/offline control for TDX guestsKuppuswamy Sathyanarayanan1-0/+7
2022-03-22Merge tag 'sched-core-2022-03-22' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2022-02-21random: clear fast pool, crng, and batches in cpuhp bring upJason A. Donenfeld1-0/+11
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-2/+2
2021-11-24sched/scs: Reset task stack state in bringup_cpu()Mark Rutland1-0/+7
2021-08-10cpu/hotplug: Add debug printks for hotplug callback failuresDongli Zhang1-0/+7
2021-08-10cpu/hotplug: Use DEVICE_ATTR_*() macroYueHaibing1-27/+23
2021-08-10cpu/hotplug: Eliminate all kernel-doc warningsRandy Dunlap1-5/+21
2021-08-10cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked()Baokun Li1-0/+1
2021-06-29Merge tag 'smp-urgent-2021-06-29' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+49
2021-06-21cpu/hotplug: Cure the cpusets trainwreckThomas Gleixner1-0/+49
2021-05-25cpu/hotplug: Simplify access to percpu cpuhp_stateYuan ZhaoXiong1-2/+2
2021-04-21cpumask/hotplug: Fix cpu_dying() state trackingPeter Zijlstra1-5/+11
2021-04-16cpumask: Introduce DYING maskPeter Zijlstra1-0/+6
2021-03-06cpu/hotplug: Add cpuhp_invoke_callback_range()Vincent Donnefort1-68/+102
2021-03-06cpu/hotplug: CPUHP_BRINGUP_CPU failure exceptionVincent Donnefort1-3/+16
2021-03-06cpu/hotplug: Allowing to reset fail injectionVincent Donnefort1-0/+5
2021-01-06cpu/hotplug: Add lockdep_is_cpus_held()Frederic Weisbecker1-0/+7
2020-12-14Merge tag 'sched-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+8
2020-11-27kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handlingNicholas Piggin1-1/+5
2020-11-10sched/hotplug: Consolidate task migration on CPU unplugThomas Gleixner1-1/+8
2020-06-03Merge tag 'sched-core-2020-06-02' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+17
2020-05-07cpu/hotplug: Remove __freeze_secondary_cpus()Qais Yousef1-2/+2
2020-05-07cpu/hotplug: Remove disable_nonboot_cpus()Qais Yousef1-7/+7
2020-04-30sched/core: Fix illegal RCU from offline CPUsPeter Zijlstra1-1/+17
2020-04-27cpu/hotplug: Fix a typo in comment "broadacasted"->"broadcasted"Ethon Paul1-1/+1
2020-03-30Merge tag 'smp-core-2020-03-30' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-14/+129
2020-03-28cpu/hotplug: Ignore pm_wakeup_pending() for disable_nonboot_cpus()Thomas Gleixner1-2/+2
2020-03-25cpu/hotplug: Hide cpu_up/down()Qais Yousef1-14/+28
2020-03-25cpu/hotplug: Move bringup of secondary CPUs out of smp_init()Qais Yousef1-0/+12
2020-03-25cpu/hotplug: Provide bringup_hibernate_cpu()Qais Yousef1-0/+23
2020-03-25cpu/hotplug: Create a new function to shutdown nonboot cpusQais Yousef1-0/+42
2020-03-25cpu/hotplug: Add new {add,remove}_cpu() functionsQais Yousef1-0/+24
2020-02-11locking/percpu-rwsem, lockdep: Make percpu-rwsem use its own lockdep_mapPeter Zijlstra1-2/+2
2020-01-28Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+9
2020-01-09cpu/SMT: Fix x86 link error without CONFIG_SYSFSArnd Bergmann1-71/+72
2019-12-17cpu/hotplug, stop_machine: Fix stop_machine vs hotplug orderPeter Zijlstra1-4/+9
2019-11-26Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2019-11-04cpu/speculation: Uninline and export CPU mitigations helpersTyler Hicks1-1/+26
2019-10-09locking/lockdep: Remove unused @nested argument from lock_release()Qian Cai1-1/+1
2019-09-24cpu/SMT: create and export cpu_smt_possible()Vitaly Kuznetsov1-2/+9
2019-07-25cpu/hotplug: Cache number of online CPUsThomas Gleixner1-0/+24
2019-07-25smp/hotplug: Track booted once CPUs in a cpumaskThomas Gleixner1-4/+7
2019-07-08Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+8
2019-06-27cpu/hotplug: Fix out-of-bounds read when setting fail stateEiichi Tsukata1-0/+3
2019-06-26cpu/speculation: Warn on unsupported mitigations= parameterGeert Uytterhoeven1-0/+3
2019-06-12cpu/hotplug: Abort disabling secondary CPUs if wakeup is pendingPavankumar Kondeti1-0/+7
2019-06-03x86/power: Fix 'nosmt' vs hibernation triple fault during resumeJiri Kosina1-2/+2
2019-05-28cpu/hotplug: Fix notify_cpu_starting() reference in bringup_wait_for_ap()Jiri Kosina1-1/+1
2019-05-06Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2019-05-06Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-25/+39
2019-05-06Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+9
2019-05-06Merge branch 'core-speculation-for-linus' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+15
2019-05-03kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freezeNicholas Piggin1-1/+9
2019-04-17cpu/speculation: Add 'mitigations=' cmdline optionJosh Poimboeuf1-0/+15
2019-04-02cpu/hotplug: Create SMT sysfs interface for all archesJosh Poimboeuf1-25/+39
2019-03-28cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=nThomas Gleixner1-2/+18
2019-03-23tick: Remove outgoing CPU from broadcast masksThomas Gleixner1-0/+2
2019-02-04Merge tag 'v5.0-rc5' into locking/core to pick up fixesIngo Molnar1-33/+5
2019-01-30cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVMJosh Poimboeuf1-29/+4
2019-01-29x86/speculation: Remove redundant arch_smt_update() invocationZhenzhong Duan1-4/+1
2019-01-21cpu/hotplug: Mute hotplug lockdep during initValentin Schneider1-0/+9
2018-11-28x86/speculation: Rework SMT state changeThomas Gleixner1-6/+9
2018-10-23Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+10
2018-10-23Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+1
2018-10-05cpu/SMT: State SMT is disabled even with nosmt and without "=force"Borislav Petkov1-0/+1
2018-09-26x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigationJiri Kosina1-1/+10
2018-09-11locking/lockdep, cpu/hotplug: Annotate AP threadPeter Zijlstra1-0/+28
2018-09-06cpu/hotplug: Prevent state corruption on error rollbackThomas Gleixner1-2/+3
2018-09-06cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()Neeraj Upadhyay1-3/+3
2018-08-31cpu/hotplug: Remove skip_onerr field from cpuhp_step structureMukesh Ojha1-22/+4
2018-08-14cpu/hotplug: Non-SMP machines do not make use of booted_onceAbel Vesa1-0/+2
2018-08-14Merge tag 'pm-4.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-0/+6
2018-08-14Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-12/+268
2018-08-13Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2018-08-13Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+5
2018-08-12init: rename and re-order boot_cpu_state_init()Linus Torvalds1-1/+1
2018-08-07cpu/hotplug: Fix SMT supported evaluationThomas Gleixner1-13/+28
2018-07-30cpu/hotplug: Clarify CPU hotplug step name for timersMukesh Ojha1-1/+1
2018-07-26cpu/hotplug: Add a cpus_read_trylock() functionWaiman Long1-0/+6
2018-07-24cpu/hotplug: detect SMT disabled by BIOSJosh Poimboeuf1-0/+9
2018-07-13cpu/hotplug: Set CPU_SMT_NOT_SUPPORTED earlyThomas Gleixner1-3/+10
2018-07-13cpu/hotplug: Expose SMT control init functionJiri Kosina1-3/+13
2018-07-09cpu/hotplug: Online siblings when SMT control is turned onThomas Gleixner1-2/+24
2018-07-04x86/KVM: Warn user if KVM is loaded SMT and L1TF CPU bug being presentKonrad Rzeszutek Wilk1-0/+1
2018-07-03watchdog/softlockup: Replace "watchdog/%u" threads with cpu_stop_workPeter Zijlstra1-0/+5
2018-07-02cpu/hotplug: Boot HT siblings at least onceThomas Gleixner1-24/+48
2018-06-21cpu/hotplug: Provide knobs to control SMTThomas Gleixner1-0/+170
2018-06-21cpu/hotplug: Split do_cpu_down()Thomas Gleixner1-9/+8
2018-06-21cpu/hotplug: Make bringup/teardown of smp threads symmetricThomas Gleixner1-2/+1
2018-03-15cpu/hotplug: Fix unused function warningArnd Bergmann1-9/+9
2018-03-14cpu/hotplug: Merge cpuhp_bp_states and cpuhp_ap_statesLai Jiangshan1-27/+15
2017-12-31Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2017-12-29timers: Reinitialize per cpu bases on hotplugThomas Gleixner1-2/+2
2017-12-27cpu/hotplug: Move inline keyword at the beginning of declarationMathieu Malaterre1-4/+4
2017-12-06Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-5/+5
2017-12-06cpu/hotplug: Fix state name in takedown_cpu() commentBrendan Jackman1-2/+2
2017-11-28smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct placeLai Jiangshan1-5/+5
2017-10-21cpu/hotplug: Reset node state after operationThomas Gleixner1-0/+5
2017-10-06Merge branch 'core-watchdog-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+6
2017-09-25smp/hotplug: Hotplug state fail injectionPeter Zijlstra1-1/+59
2017-09-25smp/hotplug: Differentiate the AP completion between up and downPeter Zijlstra1-17/+32
2017-09-25smp/hotplug: Differentiate the AP-work lockdep class between up and downPeter Zijlstra1-9/+32
2017-09-25smp/hotplug: Callback vs state-machine consistencyPeter Zijlstra1-4/+22
2017-09-25smp/hotplug: Rewrite AP state machine corePeter Zijlstra1-115/+206
2017-09-25smp/hotplug: Allow external multi-instance rollbackPeter Zijlstra1-15/+32
2017-09-14watchdog/hardlockup/perf: Prevent CPU hotplug deadlockThomas Gleixner1-0/+6
2017-09-04Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+11
2017-07-25rcu: Migrate callbacks earlier in the CPU-offline timelinePaul E. McKenney1-0/+1
2017-07-20smp/hotplug: Handle removal correctly in cpuhp_store_callbacks()Ethan Barnes1-1/+11
2017-07-11smp/hotplug: Replace BUG_ON and react usefulThomas Gleixner1-1/+2
2017-07-06smp/hotplug: Move unparking of percpu threads to the control CPUThomas Gleixner1-18/+19
2017-07-03Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-148/+93
2017-06-30cpu/hotplug: Constify attribute_group structuresArvind Yadav1-2/+2
2017-06-22genirq/cpuhotplug: Handle managed IRQs on CPU hotplugThomas Gleixner1-0/+5
2017-06-12cpu/hotplug: Remove unused check_for_tasks() functionArnd Bergmann1-24/+0
2017-06-03cpu/hotplug: Drop the device lock on errorSebastian Andrzej Siewior1-2/+2
2017-05-26cpuhotplug: Link lock stacks for hotplug callbacksThomas Gleixner1-0/+13
2017-05-26cpu/hotplug: Convert hotplug locking to percpu rwsemThomas Gleixner1-94/+13
2017-05-26cpu/hotplug: Use stop_machine_cpuslocked() in takedown_cpu()Sebastian Andrzej Siewior1-1/+1
2017-05-26cpu/hotplug: Add __cpuhp_state_add_instance_cpuslocked()Thomas Gleixner1-3/+15
2017-05-26cpu/hotplug: Provide cpuhp_setup/remove_state[_nocalls]_cpuslocked()Sebastian Andrzej Siewior1-11/+36
2017-05-26cpu/hotplug: Provide cpus_read|write_[un]lock()Thomas Gleixner1-18/+18
2017-04-14Merge branch 'linus' into locking/core, to pick up fixesIngo Molnar1-14/+14
2017-03-26lockdep: Fix per-cpu static objectsPeter Zijlstra1-0/+6
2017-03-14cpu/hotplug: Serialize callback invocations properSebastian Andrzej Siewior1-14/+14
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-01-18cpu/hotplug: Remove unused but set variable in _cpu_down()Tobias Klauser1-2/+0
2017-01-16cpu/hotplug: Provide dynamic range for prepare stageThomas Gleixner1-4/+18
2016-12-26smp/hotplug: Undo tglxs brainfartThomas Gleixner1-1/+8
2016-12-25cpu/hotplug: Remove obsolete cpu hotplug register/unregister functionsThomas Gleixner1-138/+1
2016-12-25cpu/hotplug: Prevent overwriting of callbacksThomas Gleixner1-46/+50
2016-12-15cpu/hotplug: Clarify description of __cpuhp_setup_state() return valueBoris Ostrovsky1-1/+5
2016-12-08hotplug: Make register and unregister notifier API symmetricMichal Hocko1-1/+1
2016-10-16cpu/hotplug: Use distinct name for cpu_hotplug.dep_mapJoonas Lahtinen1-1/+1
2016-10-03Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-181/+331
2016-10-03Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+1
2016-09-06slab: Convert to hotplug state machineSebastian Andrzej Siewior1-0/+6
2016-09-06relayfs: Convert to hotplug state machineRichard Weinberger1-0/+6
2016-09-06cpu/hotplug: Remove CPU_STARTING and CPU_DYING notifierThomas Gleixner1-28/+2
2016-09-06cpu/hotplug: Make state names consistentThomas Gleixner1-7/+7
2016-09-05cpu/hotplug: Replace anon unionThomas Gleixner1-71/+74
2016-09-02cpu/hotplug: Handle unbalanced hotplug enable/disableLianwei Wang1-2/+9
2016-09-02cpu/hotplug: Add multi instance supportThomas Gleixner1-35/+183
2016-09-02cpu/hotplug: Rework callback invocation logicThomas Gleixner1-82/+80
2016-08-26cpu/hotplug: Allow suspend/resume CPU to be specifiedJames Morse1-4/+5
2016-08-22cpu/hotplug: Get rid of CPU_STARTING referenceSebastian Andrzej Siewior1-1/+1