€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ(/translations/zh_CN/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/zh_TW/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/it_IT/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/ja_JP/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/ko_KR/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/pt_BR/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ(/translations/sp_SP/core-api/cpu_hotplug”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒCPU hotplug in the Kernel”h]”hŒCPU hotplug in the Kernel”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒB/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug.rst”h´KubhŒ field_list”“”)�”}”(hhh]”(hŒfield”“”)�”}”(hhh]”(hŒ field_name”“”)�”}”(hŒDate”h]”hŒDate”…”�”}”(hh×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhhÒh³hÊh´KubhŒ field_body”“”)�”}”(hŒSeptember, 2021”h]”hŒ paragraph”“”)�”}”(hhéh]”hŒSeptember, 2021”…”�”}”(hhíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khhçubah}”(h]”h ]”h"]”h$]”h&]”uh1håhhÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÐh³hÊh´KhhÍh²hubhÑ)�”}”(hhh]”(hÖ)�”}”(hŒAuthor”h]”hŒAuthor”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjh³hÊh´Kubhæ)�”}”(hŒêSebastian Andrzej Siewior , Rusty Russell , Srivatsa Vaddagiri , Ashok Raj , Joel Schopp , Thomas Gleixner ”h]”hì)�”}”(hŒéSebastian Andrzej Siewior , Rusty Russell , Srivatsa Vaddagiri , Ashok Raj , Joel Schopp , Thomas Gleixner ”h]”(hŒSebastian Andrzej Siewior <”…”�”}”(hjh²hh³Nh´NubhŒ reference”“”)�”}”(hŒbigeasy@linutronix.de”h]”hŒbigeasy@linutronix.de”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:bigeasy@linutronix.de”uh1j#hjubhŒ>, Rusty Russell <”…”�”}”(hjh²hh³Nh´Nubj$)�”}”(hŒrusty@rustcorp.com.au”h]”hŒrusty@rustcorp.com.au”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:rusty@rustcorp.com.au”uh1j#hjubhŒ>, Srivatsa Vaddagiri <”…”�”}”(hjh²hh³Nh´Nubj$)�”}”(hŒvatsa@in.ibm.com”h]”hŒvatsa@in.ibm.com”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:vatsa@in.ibm.com”uh1j#hjubhŒ>, Ashok Raj <”…”�”}”(hjh²hh³Nh´Nubj$)�”}”(hŒashok.raj@intel.com”h]”hŒashok.raj@intel.com”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:ashok.raj@intel.com”uh1j#hjubhŒ>, Joel Schopp <”…”�”}”(hjh²hh³Nh´Nubj$)�”}”(hŒjschopp@austin.ibm.com”h]”hŒjschopp@austin.ibm.com”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:jschopp@austin.ibm.com”uh1j#hjubhŒ>, Thomas Gleixner <”…”�”}”(hjh²hh³Nh´Nubj$)�”}”(hŒtglx@kernel.org”h]”hŒtglx@kernel.org”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:tglx@kernel.org”uh1j#hjubhŒ>”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1håhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÐh³hÊh´KhhÍh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ Introduction”h]”hŒ Introduction”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjµh²hh³hÊh´Kubhì)�”}”(hXModern advances in system architectures have introduced advanced error reporting and correction capabilities in processors. There are couple OEMS that support NUMA hardware which are hot pluggable as well, where physical node insertion and removal require support for CPU hotplug.”h]”hXModern advances in system architectures have introduced advanced error reporting and correction capabilities in processors. There are couple OEMS that support NUMA hardware which are hot pluggable as well, where physical node insertion and removal require support for CPU hotplug.”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khjµh²hubhì)�”}”(hŒãSuch advances require CPUs available to a kernel to be removed either for provisioning reasons, or for RAS purposes to keep an offending CPU off system execution path. Hence the need for CPU hotplug support in the Linux kernel.”h]”hŒãSuch advances require CPUs available to a kernel to be removed either for provisioning reasons, or for RAS purposes to keep an offending CPU off system execution path. Hence the need for CPU hotplug support in the Linux kernel.”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khjµh²hubhì)�”}”(hŒ¼A more novel use of CPU-hotplug support is its use today in suspend resume support for SMP. Dual-core and HT support makes even a laptop run SMP kernels which didn't support these methods.”h]”hŒ¾A more novel use of CPU-hotplug support is its use today in suspend resume support for SMP. Dual-core and HT support makes even a laptop run SMP kernels which didn’t support these methods.”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khjµh²hubeh}”(h]”Œ introduction”ah ]”h"]”Œ introduction”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒCommand Line Switches”h]”hŒCommand Line Switches”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjøh²hh³hÊh´K ubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒ¦``maxcpus=n`` Restrict boot time CPUs to *n*. Say if you have four CPUs, using ``maxcpus=2`` will only boot two. You can choose to bring the other CPUs later online. ”h]”(hŒterm”“”)�”}”(hŒ ``maxcpus=n``”h]”hŒliteral”“”)�”}”(hjh]”hŒ maxcpus=n”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K$hjubhŒ definition”“”)�”}”(hhh]”hì)�”}”(hŒ—Restrict boot time CPUs to *n*. Say if you have four CPUs, using ``maxcpus=2`` will only boot two. You can choose to bring the other CPUs later online.”h]”(hŒRestrict boot time CPUs to ”…”�”}”(hj4h²hh³Nh´NubhŒemphasis”“”)�”}”(hŒ*n*”h]”hŒn”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj4ubhŒ#. Say if you have four CPUs, using ”…”�”}”(hj4h²hh³Nh´Nubj)�”}”(hŒ ``maxcpus=2``”h]”hŒ maxcpus=2”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj4ubhŒI will only boot two. You can choose to bring the other CPUs later online.”…”�”}”(hj4h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K"hj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K$hj ubj)�”}”(hŒÍ``nr_cpus=n`` Restrict the total amount of CPUs the kernel will support. If the number supplied here is lower than the number of physically available CPUs, then those CPUs can not be brought online later. ”h]”(j)�”}”(hŒ ``nr_cpus=n``”h]”j)�”}”(hjzh]”hŒ nr_cpus=n”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjxubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K)hjtubj0)�”}”(hhh]”hì)�”}”(hŒ¾Restrict the total amount of CPUs the kernel will support. If the number supplied here is lower than the number of physically available CPUs, then those CPUs can not be brought online later.”h]”hŒ¾Restrict the total amount of CPUs the kernel will support. If the number supplied here is lower than the number of physically available CPUs, then those CPUs can not be brought online later.”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K'hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjtubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K)hj h²hubj)�”}”(hŒ�``possible_cpus=n`` This option sets ``possible_cpus`` bits in ``cpu_possible_mask``. This option is limited to the X86 and S390 architecture. ”h]”(j)�”}”(hŒ``possible_cpus=n``”h]”j)�”}”(hj²h]”hŒpossible_cpus=n”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K.hj¬ubj0)�”}”(hhh]”(hì)�”}”(hŒAThis option sets ``possible_cpus`` bits in ``cpu_possible_mask``.”h]”(hŒThis option sets ”…”�”}”(hjÊh²hh³Nh´Nubj)�”}”(hŒ``possible_cpus``”h]”hŒ possible_cpus”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊubhŒ bits in ”…”�”}”(hjÊh²hh³Nh´Nubj)�”}”(hŒ``cpu_possible_mask``”h]”hŒcpu_possible_mask”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÊubhŒ.”…”�”}”(hjÊh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K,hjÇubhì)�”}”(hŒ8This option is limited to the X86 and S390 architecture.”h]”hŒ8This option is limited to the X86 and S390 architecture.”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K.hjÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1j/hj¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K.hj h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjøh²hh³hÊh´Nubeh}”(h]”Œcommand-line-switches”ah ]”h"]”Œcommand line switches”ah$]”h&]”uh1hµhh·h²hh³hÊh´K ubh¶)�”}”(hhh]”(h»)�”}”(hŒCPU maps”h]”hŒCPU maps”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj$h²hh³hÊh´K1ubj )�”}”(hhh]”(j)�”}”(hX¥``cpu_possible_mask`` Bitmap of possible CPUs that can ever be available in the system. This is used to allocate some boot time memory for per_cpu variables that aren't designed to grow/shrink as CPUs are made available or removed. Once set during boot time discovery phase, the map is static, i.e no bits are added or removed anytime. Trimming it accurately for your system needs upfront can save some boot time memory. ”h]”(j)�”}”(hŒ``cpu_possible_mask``”h]”j)�”}”(hj>h]”hŒcpu_possible_mask”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K9hj8ubj0)�”}”(hhh]”hì)�”}”(hXŽBitmap of possible CPUs that can ever be available in the system. This is used to allocate some boot time memory for per_cpu variables that aren't designed to grow/shrink as CPUs are made available or removed. Once set during boot time discovery phase, the map is static, i.e no bits are added or removed anytime. Trimming it accurately for your system needs upfront can save some boot time memory.”h]”hX�Bitmap of possible CPUs that can ever be available in the system. This is used to allocate some boot time memory for per_cpu variables that aren’t designed to grow/shrink as CPUs are made available or removed. Once set during boot time discovery phase, the map is static, i.e no bits are added or removed anytime. Trimming it accurately for your system needs upfront can save some boot time memory.”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K4hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K9hj5ubj)�”}”(hXH``cpu_online_mask`` Bitmap of all CPUs currently online. Its set in ``__cpu_up()`` after a CPU is available for kernel scheduling and ready to receive interrupts from devices. Its cleared when a CPU is brought down using ``__cpu_disable()``, before which all OS services including interrupts are migrated to another target CPU. ”h]”(j)�”}”(hŒ``cpu_online_mask``”h]”j)�”}”(hjvh]”hŒcpu_online_mask”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K@hjpubj0)�”}”(hhh]”hì)�”}”(hX3Bitmap of all CPUs currently online. Its set in ``__cpu_up()`` after a CPU is available for kernel scheduling and ready to receive interrupts from devices. Its cleared when a CPU is brought down using ``__cpu_disable()``, before which all OS services including interrupts are migrated to another target CPU.”h]”(hŒ0Bitmap of all CPUs currently online. Its set in ”…”�”}”(hjŽh²hh³Nh´Nubj)�”}”(hŒ``__cpu_up()``”h]”hŒ __cpu_up()”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŽubhŒ‹ after a CPU is available for kernel scheduling and ready to receive interrupts from devices. Its cleared when a CPU is brought down using ”…”�”}”(hjŽh²hh³Nh´Nubj)�”}”(hŒ``__cpu_disable()``”h]”hŒ__cpu_disable()”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŽubhŒW, before which all OS services including interrupts are migrated to another target CPU.”…”�”}”(hjŽh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K /sys/devices/system/cpu/cpu4/online smpboot: CPU 4 is now offline”h]”hŒM$ echo 0 > /sys/devices/system/cpu/cpu4/online smpboot: CPU 4 is now offline”…”�”}”hj!sbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´Kmhjvh²hubhì)�”}”(hŒ¬Once the CPU is shutdown, it will be removed from */proc/interrupts*, */proc/cpuinfo* and should also not be shown visible by the *top* command. To bring CPU4 back online::”h]”(hŒ2Once the CPU is shutdown, it will be removed from ”…”�”}”(hj/h²hh³Nh´Nubj=)�”}”(hŒ*/proc/interrupts*”h]”hŒ/proc/interrupts”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj/ubhŒ, ”…”�”}”(hj/h²hh³Nh´Nubj=)�”}”(hŒ*/proc/cpuinfo*”h]”hŒ /proc/cpuinfo”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj/ubhŒ- and should also not be shown visible by the ”…”�”}”(hj/h²hh³Nh´Nubj=)�”}”(hŒ*top*”h]”hŒtop”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj/ubhŒ$ command. To bring CPU4 back online:”…”�”}”(hj/h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Kphjvh²hubj¨)�”}”(hŒ[$ echo 1 > /sys/devices/system/cpu/cpu4/online smpboot: Booting Node 0 Processor 4 APIC 0x1”h]”hŒ[$ echo 1 > /sys/devices/system/cpu/cpu4/online smpboot: Booting Node 0 Processor 4 APIC 0x1”…”�”}”hjssbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´Kthjvh²hubhì)�”}”(hŒoThe CPU is usable again. This should work on all CPUs, but CPU0 is often special and excluded from CPU hotplug.”h]”hŒoThe CPU is usable again. This should work on all CPUs, but CPU0 is often special and excluded from CPU hotplug.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Kwhjvh²hubeh}”(h]”Œusing-cpu-hotplug”ah ]”h"]”Œusing cpu hotplug”ah$]”h&]”uh1hµhh·h²hh³hÊh´KSubh¶)�”}”(hhh]”(h»)�”}”(hŒThe CPU hotplug coordination”h]”hŒThe CPU hotplug coordination”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj—h²hh³hÊh´K{ubh¶)�”}”(hhh]”(h»)�”}”(hŒThe offline case”h]”hŒThe offline case”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj¨h²hh³hÊh´K~ubhì)�”}”(hŒÅOnce a CPU has been logically shutdown the teardown callbacks of registered hotplug states will be invoked, starting with ``CPUHP_ONLINE`` and terminating at state ``CPUHP_OFFLINE``. This includes:”h]”(hŒzOnce a CPU has been logically shutdown the teardown callbacks of registered hotplug states will be invoked, starting with ”…”�”}”(hj¹h²hh³Nh´Nubj)�”}”(hŒ``CPUHP_ONLINE``”h]”hŒ CPUHP_ONLINE”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¹ubhŒ and terminating at state ”…”�”}”(hj¹h²hh³Nh´Nubj)�”}”(hŒ``CPUHP_OFFLINE``”h]”hŒ CPUHP_OFFLINE”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¹ubhŒ. This includes:”…”�”}”(hj¹h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K€hj¨h²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒ]If tasks are frozen due to a suspend operation then *cpuhp_tasks_frozen* will be set to true.”h]”hì)�”}”(hŒ]If tasks are frozen due to a suspend operation then *cpuhp_tasks_frozen* will be set to true.”h]”(hŒ4If tasks are frozen due to a suspend operation then ”…”�”}”(hjöh²hh³Nh´Nubj=)�”}”(hŒ*cpuhp_tasks_frozen*”h]”hŒcpuhp_tasks_frozen”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hjöubhŒ will be set to true.”…”�”}”(hjöh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K„hjòubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjíh²hh³hÊh´Nubjñ)�”}”(hŒ¦All processes are migrated away from this outgoing CPU to new CPUs. The new CPU is chosen from each process' current cpuset, which may be a subset of all online CPUs.”h]”hì)�”}”(hŒ¦All processes are migrated away from this outgoing CPU to new CPUs. The new CPU is chosen from each process' current cpuset, which may be a subset of all online CPUs.”h]”hŒ¨All processes are migrated away from this outgoing CPU to new CPUs. The new CPU is chosen from each process’ current cpuset, which may be a subset of all online CPUs.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K†hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjíh²hh³hÊh´Nubjñ)�”}”(hŒ=All interrupts targeted to this CPU are migrated to a new CPU”h]”hì)�”}”(hj6h]”hŒ=All interrupts targeted to this CPU are migrated to a new CPU”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K‰hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjíh²hh³hÊh´Nubjñ)�”}”(hŒ%timers are also migrated to a new CPU”h]”hì)�”}”(hjMh]”hŒ%timers are also migrated to a new CPU”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KŠhjKubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjíh²hh³hÊh´Nubjñ)�”}”(hŒ}Once all services are migrated, kernel calls an arch specific routine ``__cpu_disable()`` to perform arch specific cleanup. ”h]”hì)�”}”(hŒ{Once all services are migrated, kernel calls an arch specific routine ``__cpu_disable()`` to perform arch specific cleanup.”h]”(hŒFOnce all services are migrated, kernel calls an arch specific routine ”…”�”}”(hjfh²hh³Nh´Nubj)�”}”(hŒ``__cpu_disable()``”h]”hŒ__cpu_disable()”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjfubhŒ" to perform arch specific cleanup.”…”�”}”(hjfh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K‹hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjíh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1jëh³hÊh´K„hj¨h²hubeh}”(h]”Œthe-offline-case”ah ]”h"]”Œthe offline case”ah$]”h&]”uh1hµhj—h²hh³hÊh´K~ubeh}”(h]”Œthe-cpu-hotplug-coordination”ah ]”h"]”Œthe cpu hotplug coordination”ah$]”h&]”uh1hµhh·h²hh³hÊh´K{ubh¶)�”}”(hhh]”(h»)�”}”(hŒThe CPU hotplug API”h]”hŒThe CPU hotplug API”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj¤h²hh³hÊh´K�ubh¶)�”}”(hhh]”(h»)�”}”(hŒCPU hotplug state machine”h]”hŒCPU hotplug state machine”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjµh²hh³hÊh´K“ubhì)�”}”(hŒ˜CPU hotplug uses a trivial state machine with a linear state space from CPUHP_OFFLINE to CPUHP_ONLINE. Each state has a startup and a teardown callback.”h]”hŒ˜CPU hotplug uses a trivial state machine with a linear state space from CPUHP_OFFLINE to CPUHP_ONLINE. Each state has a startup and a teardown callback.”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K•hjµh²hubhì)�”}”(hŒãWhen a CPU is onlined, the startup callbacks are invoked sequentially until the state CPUHP_ONLINE is reached. They can also be invoked when the callbacks of a state are set up or an instance is added to a multi-instance state.”h]”hŒãWhen a CPU is onlined, the startup callbacks are invoked sequentially until the state CPUHP_ONLINE is reached. They can also be invoked when the callbacks of a state are set up or an instance is added to a multi-instance state.”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K™hjµh²hubhì)�”}”(hŒÿWhen a CPU is offlined the teardown callbacks are invoked in the reverse order sequentially until the state CPUHP_OFFLINE is reached. They can also be invoked when the callbacks of a state are removed or an instance is removed from a multi-instance state.”h]”hŒÿWhen a CPU is offlined the teardown callbacks are invoked in the reverse order sequentially until the state CPUHP_OFFLINE is reached. They can also be invoked when the callbacks of a state are removed or an instance is removed from a multi-instance state.”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Kžhjµh²hubhì)�”}”(hŒÁIf a usage site requires only a callback in one direction of the hotplug operations (CPU online or CPU offline) then the other not-required callback can be set to NULL when the state is set up.”h]”hŒÁIf a usage site requires only a callback in one direction of the hotplug operations (CPU online or CPU offline) then the other not-required callback can be set to NULL when the state is set up.”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K£hjµh²hubhì)�”}”(hŒ/The state space is divided into three sections:”h]”hŒ/The state space is divided into three sections:”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K§hjµh²hubjì)�”}”(hhh]”(jñ)�”}”(hXÍThe PREPARE section The PREPARE section covers the state space from CPUHP_OFFLINE to CPUHP_BRINGUP_CPU. The startup callbacks in this section are invoked before the CPU is started during a CPU online operation. The teardown callbacks are invoked after the CPU has become dysfunctional during a CPU offline operation. The callbacks are invoked on a control CPU as they can't obviously run on the hotplugged CPU which is either not yet started or has become dysfunctional already. The startup callbacks are used to setup resources which are required to bring a CPU successfully online. The teardown callbacks are used to free resources or to move pending work to an online CPU after the hotplugged CPU became dysfunctional. The startup callbacks are allowed to fail. If a callback fails, the CPU online operation is aborted and the CPU is brought down to the previous state (usually CPUHP_OFFLINE) again. The teardown callbacks in this section are not allowed to fail. ”h]”(hì)�”}”(hŒThe PREPARE section”h]”hŒThe PREPARE section”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K©hjubhì)�”}”(hŒSThe PREPARE section covers the state space from CPUHP_OFFLINE to CPUHP_BRINGUP_CPU.”h]”hŒSThe PREPARE section covers the state space from CPUHP_OFFLINE to CPUHP_BRINGUP_CPU.”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K«hjubhì)�”}”(hŒÔThe startup callbacks in this section are invoked before the CPU is started during a CPU online operation. The teardown callbacks are invoked after the CPU has become dysfunctional during a CPU offline operation.”h]”hŒÔThe startup callbacks in this section are invoked before the CPU is started during a CPU online operation. The teardown callbacks are invoked after the CPU has become dysfunctional during a CPU offline operation.”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K®hjubhì)�”}”(hŒ¡The callbacks are invoked on a control CPU as they can't obviously run on the hotplugged CPU which is either not yet started or has become dysfunctional already.”h]”hŒ£The callbacks are invoked on a control CPU as they can’t obviously run on the hotplugged CPU which is either not yet started or has become dysfunctional already.”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K²hjubhì)�”}”(hŒòThe startup callbacks are used to setup resources which are required to bring a CPU successfully online. The teardown callbacks are used to free resources or to move pending work to an online CPU after the hotplugged CPU became dysfunctional.”h]”hŒòThe startup callbacks are used to setup resources which are required to bring a CPU successfully online. The teardown callbacks are used to free resources or to move pending work to an online CPU after the hotplugged CPU became dysfunctional.”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K¶hjubhì)�”}”(hŒ´The startup callbacks are allowed to fail. If a callback fails, the CPU online operation is aborted and the CPU is brought down to the previous state (usually CPUHP_OFFLINE) again.”h]”hŒ´The startup callbacks are allowed to fail. If a callback fails, the CPU online operation is aborted and the CPU is brought down to the previous state (usually CPUHP_OFFLINE) again.”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K»hjubhì)�”}”(hŒ?The teardown callbacks in this section are not allowed to fail.”h]”hŒ?The teardown callbacks in this section are not allowed to fail.”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K¿hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj h²hh³hÊh´Nubjñ)�”}”(hXKThe STARTING section The STARTING section covers the state space between CPUHP_BRINGUP_CPU + 1 and CPUHP_AP_ONLINE. The startup callbacks in this section are invoked on the hotplugged CPU with interrupts disabled during a CPU online operation in the early CPU setup code. The teardown callbacks are invoked with interrupts disabled on the hotplugged CPU during a CPU offline operation shortly before the CPU is completely shut down. The callbacks in this section are not allowed to fail. The callbacks are used for low level hardware initialization/shutdown and for core subsystems. ”h]”(hì)�”}”(hŒThe STARTING section”h]”hŒThe STARTING section”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÁhj{ubhì)�”}”(hŒ^The STARTING section covers the state space between CPUHP_BRINGUP_CPU + 1 and CPUHP_AP_ONLINE.”h]”hŒ^The STARTING section covers the state space between CPUHP_BRINGUP_CPU + 1 and CPUHP_AP_ONLINE.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÃhj{ubhì)�”}”(hX<The startup callbacks in this section are invoked on the hotplugged CPU with interrupts disabled during a CPU online operation in the early CPU setup code. The teardown callbacks are invoked with interrupts disabled on the hotplugged CPU during a CPU offline operation shortly before the CPU is completely shut down.”h]”hX<The startup callbacks in this section are invoked on the hotplugged CPU with interrupts disabled during a CPU online operation in the early CPU setup code. The teardown callbacks are invoked with interrupts disabled on the hotplugged CPU during a CPU offline operation shortly before the CPU is completely shut down.”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÆhj{ubhì)�”}”(hŒ6The callbacks in this section are not allowed to fail.”h]”hŒ6The callbacks in this section are not allowed to fail.”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÌhj{ubhì)�”}”(hŒ^The callbacks are used for low level hardware initialization/shutdown and for core subsystems.”h]”hŒ^The callbacks are used for low level hardware initialization/shutdown and for core subsystems.”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÎhj{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj h²hh³hÊh´Nubjñ)�”}”(hXmThe ONLINE section The ONLINE section covers the state space between CPUHP_AP_ONLINE + 1 and CPUHP_ONLINE. The startup callbacks in this section are invoked on the hotplugged CPU during a CPU online operation. The teardown callbacks are invoked on the hotplugged CPU during a CPU offline operation. The callbacks are invoked in the context of the per CPU hotplug thread, which is pinned on the hotplugged CPU. The callbacks are invoked with interrupts and preemption enabled. The callbacks are allowed to fail. When a callback fails the hotplug operation is aborted and the CPU is brought back to the previous state. ”h]”(hì)�”}”(hŒThe ONLINE section”h]”hŒThe ONLINE section”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÑhjËubhì)�”}”(hŒWThe ONLINE section covers the state space between CPUHP_AP_ONLINE + 1 and CPUHP_ONLINE.”h]”hŒWThe ONLINE section covers the state space between CPUHP_AP_ONLINE + 1 and CPUHP_ONLINE.”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÓhjËubhì)�”}”(hŒ¿The startup callbacks in this section are invoked on the hotplugged CPU during a CPU online operation. The teardown callbacks are invoked on the hotplugged CPU during a CPU offline operation.”h]”hŒ¿The startup callbacks in this section are invoked on the hotplugged CPU during a CPU online operation. The teardown callbacks are invoked on the hotplugged CPU during a CPU offline operation.”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÖhjËubhì)�”}”(hŒ°The callbacks are invoked in the context of the per CPU hotplug thread, which is pinned on the hotplugged CPU. The callbacks are invoked with interrupts and preemption enabled.”h]”hŒ°The callbacks are invoked in the context of the per CPU hotplug thread, which is pinned on the hotplugged CPU. The callbacks are invoked with interrupts and preemption enabled.”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÚhjËubhì)�”}”(hŒŒThe callbacks are allowed to fail. When a callback fails the hotplug operation is aborted and the CPU is brought back to the previous state.”h]”hŒŒThe callbacks are allowed to fail. When a callback fails the hotplug operation is aborted and the CPU is brought back to the previous state.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÞhjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´K©hjµh²hubeh}”(h]”Œcpu-hotplug-state-machine”ah ]”h"]”Œcpu hotplug state machine”ah$]”h&]”uh1hµhj¤h²hh³hÊh´K“ubh¶)�”}”(hhh]”(h»)�”}”(hŒCPU online/offline operations”h]”hŒCPU online/offline operations”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj)h²hh³hÊh´Kâubhì)�”}”(hŒ/A successful online operation looks like this::”h]”hŒ.A successful online operation looks like this:”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Kähj)h²hubj¨)�”}”(hXø[CPUHP_OFFLINE] [CPUHP_OFFLINE + 1]->startup() -> success [CPUHP_OFFLINE + 2]->startup() -> success [CPUHP_OFFLINE + 3] -> skipped because startup == NULL ... [CPUHP_BRINGUP_CPU]->startup() -> success === End of PREPARE section [CPUHP_BRINGUP_CPU + 1]->startup() -> success ... [CPUHP_AP_ONLINE]->startup() -> success === End of STARTUP section [CPUHP_AP_ONLINE + 1]->startup() -> success ... [CPUHP_ONLINE - 1]->startup() -> success [CPUHP_ONLINE]”h]”hXø[CPUHP_OFFLINE] [CPUHP_OFFLINE + 1]->startup() -> success [CPUHP_OFFLINE + 2]->startup() -> success [CPUHP_OFFLINE + 3] -> skipped because startup == NULL ... [CPUHP_BRINGUP_CPU]->startup() -> success === End of PREPARE section [CPUHP_BRINGUP_CPU + 1]->startup() -> success ... [CPUHP_AP_ONLINE]->startup() -> success === End of STARTUP section [CPUHP_AP_ONLINE + 1]->startup() -> success ... [CPUHP_ONLINE - 1]->startup() -> success [CPUHP_ONLINE]”…”�”}”hjHsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´Kæhj)h²hubhì)�”}”(hŒ0A successful offline operation looks like this::”h]”hŒ/A successful offline operation looks like this:”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Köhj)h²hubj¨)�”}”(hXÄ[CPUHP_ONLINE] [CPUHP_ONLINE - 1]->teardown() -> success ... [CPUHP_AP_ONLINE + 1]->teardown() -> success === Start of STARTUP section [CPUHP_AP_ONLINE]->teardown() -> success ... [CPUHP_BRINGUP_ONLINE - 1]->teardown() ... === Start of PREPARE section [CPUHP_BRINGUP_CPU]->teardown() [CPUHP_OFFLINE + 3]->teardown() [CPUHP_OFFLINE + 2] -> skipped because teardown == NULL [CPUHP_OFFLINE + 1]->teardown() [CPUHP_OFFLINE]”h]”hXÄ[CPUHP_ONLINE] [CPUHP_ONLINE - 1]->teardown() -> success ... [CPUHP_AP_ONLINE + 1]->teardown() -> success === Start of STARTUP section [CPUHP_AP_ONLINE]->teardown() -> success ... [CPUHP_BRINGUP_ONLINE - 1]->teardown() ... === Start of PREPARE section [CPUHP_BRINGUP_CPU]->teardown() [CPUHP_OFFLINE + 3]->teardown() [CPUHP_OFFLINE + 2] -> skipped because teardown == NULL [CPUHP_OFFLINE + 1]->teardown() [CPUHP_OFFLINE]”…”�”}”hjdsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´Køhj)h²hubhì)�”}”(hŒ+A failed online operation looks like this::”h]”hŒ*A failed online operation looks like this:”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhj)h²hubj¨)�”}”(hXt[CPUHP_OFFLINE] [CPUHP_OFFLINE + 1]->startup() -> success [CPUHP_OFFLINE + 2]->startup() -> success [CPUHP_OFFLINE + 3] -> skipped because startup == NULL ... [CPUHP_BRINGUP_CPU]->startup() -> success === End of PREPARE section [CPUHP_BRINGUP_CPU + 1]->startup() -> success ... [CPUHP_AP_ONLINE]->startup() -> success === End of STARTUP section [CPUHP_AP_ONLINE + 1]->startup() -> success --- [CPUHP_AP_ONLINE + N]->startup() -> fail [CPUHP_AP_ONLINE + (N - 1)]->teardown() ... [CPUHP_AP_ONLINE + 1]->teardown() === Start of STARTUP section [CPUHP_AP_ONLINE]->teardown() ... [CPUHP_BRINGUP_ONLINE - 1]->teardown() ... === Start of PREPARE section [CPUHP_BRINGUP_CPU]->teardown() [CPUHP_OFFLINE + 3]->teardown() [CPUHP_OFFLINE + 2] -> skipped because teardown == NULL [CPUHP_OFFLINE + 1]->teardown() [CPUHP_OFFLINE]”h]”hXt[CPUHP_OFFLINE] [CPUHP_OFFLINE + 1]->startup() -> success [CPUHP_OFFLINE + 2]->startup() -> success [CPUHP_OFFLINE + 3] -> skipped because startup == NULL ... [CPUHP_BRINGUP_CPU]->startup() -> success === End of PREPARE section [CPUHP_BRINGUP_CPU + 1]->startup() -> success ... [CPUHP_AP_ONLINE]->startup() -> success === End of STARTUP section [CPUHP_AP_ONLINE + 1]->startup() -> success --- [CPUHP_AP_ONLINE + N]->startup() -> fail [CPUHP_AP_ONLINE + (N - 1)]->teardown() ... [CPUHP_AP_ONLINE + 1]->teardown() === Start of STARTUP section [CPUHP_AP_ONLINE]->teardown() ... [CPUHP_BRINGUP_ONLINE - 1]->teardown() ... === Start of PREPARE section [CPUHP_BRINGUP_CPU]->teardown() [CPUHP_OFFLINE + 3]->teardown() [CPUHP_OFFLINE + 2] -> skipped because teardown == NULL [CPUHP_OFFLINE + 1]->teardown() [CPUHP_OFFLINE]”…”�”}”hj€sbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M hj)h²hubhì)�”}”(hŒ,A failed offline operation looks like this::”h]”hŒ+A failed offline operation looks like this:”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M'hj)h²hubj¨)�”}”(hŒÄ[CPUHP_ONLINE] [CPUHP_ONLINE - 1]->teardown() -> success ... [CPUHP_ONLINE - N]->teardown() -> fail [CPUHP_ONLINE - (N - 1)]->startup() ... [CPUHP_ONLINE - 1]->startup() [CPUHP_ONLINE]”h]”hŒÄ[CPUHP_ONLINE] [CPUHP_ONLINE - 1]->teardown() -> success ... [CPUHP_ONLINE - N]->teardown() -> fail [CPUHP_ONLINE - (N - 1)]->startup() ... [CPUHP_ONLINE - 1]->startup() [CPUHP_ONLINE]”…”�”}”hjœsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M)hj)h²hubhì)�”}”(hŒ†Recursive failures cannot be handled sensibly. Look at the following example of a recursive fail due to a failed offline operation: ::”h]”hŒƒRecursive failures cannot be handled sensibly. Look at the following example of a recursive fail due to a failed offline operation:”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M2hj)h²hubj¨)�”}”(hŒÌ[CPUHP_ONLINE] [CPUHP_ONLINE - 1]->teardown() -> success ... [CPUHP_ONLINE - N]->teardown() -> fail [CPUHP_ONLINE - (N - 1)]->startup() -> success [CPUHP_ONLINE - (N - 2)]->startup() -> fail”h]”hŒÌ[CPUHP_ONLINE] [CPUHP_ONLINE - 1]->teardown() -> success ... [CPUHP_ONLINE - N]->teardown() -> fail [CPUHP_ONLINE - (N - 1)]->startup() -> success [CPUHP_ONLINE - (N - 2)]->startup() -> fail”…”�”}”hj¸sbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M5hj)h²hubhì)�”}”(hŒ‹The CPU hotplug state machine stops right here and does not try to go back down again because that would likely result in an endless loop::”h]”hŒŠThe CPU hotplug state machine stops right here and does not try to go back down again because that would likely result in an endless loop:”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M<hj)h²hubj¨)�”}”(hX[CPUHP_ONLINE - (N - 1)]->teardown() -> success [CPUHP_ONLINE - N]->teardown() -> fail [CPUHP_ONLINE - (N - 1)]->startup() -> success [CPUHP_ONLINE - (N - 2)]->startup() -> fail [CPUHP_ONLINE - (N - 1)]->teardown() -> success [CPUHP_ONLINE - N]->teardown() -> fail”h]”hX[CPUHP_ONLINE - (N - 1)]->teardown() -> success [CPUHP_ONLINE - N]->teardown() -> fail [CPUHP_ONLINE - (N - 1)]->startup() -> success [CPUHP_ONLINE - (N - 2)]->startup() -> fail [CPUHP_ONLINE - (N - 1)]->teardown() -> success [CPUHP_ONLINE - N]->teardown() -> fail”…”�”}”hjÔsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M?hj)h²hubhì)�”}”(hŒ>Lather, rinse and repeat. In this case the CPU left in state::”h]”hŒ=Lather, rinse and repeat. In this case the CPU left in state:”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MFhj)h²hubj¨)�”}”(hŒ[CPUHP_ONLINE - (N - 1)]”h]”hŒ[CPUHP_ONLINE - (N - 1)]”…”�”}”hjðsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´MHhj)h²hubhì)�”}”(hŒpwhich at least lets the system make progress and gives the user a chance to debug or even resolve the situation.”h]”hŒpwhich at least lets the system make progress and gives the user a chance to debug or even resolve the situation.”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MJhj)h²hubeh}”(h]”Œcpu-online-offline-operations”ah ]”h"]”Œcpu online/offline operations”ah$]”h&]”uh1hµhj¤h²hh³hÊh´Kâubh¶)�”}”(hhh]”(h»)�”}”(hŒAllocating a state”h]”hŒAllocating a state”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj h²hh³hÊh´MNubhì)�”}”(hŒ3There are two ways to allocate a CPU hotplug state:”h]”hŒ3There are two ways to allocate a CPU hotplug state:”…”�”}”(hj% h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MPhj h²hubjì)�”}”(hhh]”(jñ)�”}”(hXHStatic allocation Static allocation has to be used when the subsystem or driver has ordering requirements versus other CPU hotplug states. E.g. the PERF core startup callback has to be invoked before the PERF driver startup callbacks during a CPU online operation. During a CPU offline operation the driver teardown callbacks have to be invoked before the core teardown callback. The statically allocated states are described by constants in the cpuhp_state enum which can be found in include/linux/cpuhotplug.h. Insert the state into the enum at the proper place so the ordering requirements are fulfilled. The state constant has to be used for state setup and removal. Static allocation is also required when the state callbacks are not set up at runtime and are part of the initializer of the CPU hotplug state array in kernel/cpu.c. ”h]”(hì)�”}”(hŒStatic allocation”h]”hŒStatic allocation”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MRhj6 ubhì)�”}”(hXîStatic allocation has to be used when the subsystem or driver has ordering requirements versus other CPU hotplug states. E.g. the PERF core startup callback has to be invoked before the PERF driver startup callbacks during a CPU online operation. During a CPU offline operation the driver teardown callbacks have to be invoked before the core teardown callback. The statically allocated states are described by constants in the cpuhp_state enum which can be found in include/linux/cpuhotplug.h.”h]”hXîStatic allocation has to be used when the subsystem or driver has ordering requirements versus other CPU hotplug states. E.g. the PERF core startup callback has to be invoked before the PERF driver startup callbacks during a CPU online operation. During a CPU offline operation the driver teardown callbacks have to be invoked before the core teardown callback. The statically allocated states are described by constants in the cpuhp_state enum which can be found in include/linux/cpuhotplug.h.”…”�”}”(hjH h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MThj6 ubhì)�”}”(hŒ�Insert the state into the enum at the proper place so the ordering requirements are fulfilled. The state constant has to be used for state setup and removal.”h]”hŒ�Insert the state into the enum at the proper place so the ordering requirements are fulfilled. The state constant has to be used for state setup and removal.”…”�”}”(hjV h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M\hj6 ubhì)�”}”(hŒ¥Static allocation is also required when the state callbacks are not set up at runtime and are part of the initializer of the CPU hotplug state array in kernel/cpu.c.”h]”hŒ¥Static allocation is also required when the state callbacks are not set up at runtime and are part of the initializer of the CPU hotplug state array in kernel/cpu.c.”…”�”}”(hjd h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M`hj6 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj3 h²hh³hÊh´Nubjñ)�”}”(hX–Dynamic allocation When there are no ordering requirements for the state callbacks then dynamic allocation is the preferred method. The state number is allocated by the setup function and returned to the caller on success. Only the PREPARE and ONLINE sections provide a dynamic allocation range. The STARTING section does not as most of the callbacks in that section have explicit ordering requirements. ”h]”(hì)�”}”(hŒDynamic allocation”h]”hŒDynamic allocation”…”�”}”(hj| h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mdhjx ubhì)�”}”(hŒËWhen there are no ordering requirements for the state callbacks then dynamic allocation is the preferred method. The state number is allocated by the setup function and returned to the caller on success.”h]”hŒËWhen there are no ordering requirements for the state callbacks then dynamic allocation is the preferred method. The state number is allocated by the setup function and returned to the caller on success.”…”�”}”(hjŠ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mfhjx ubhì)�”}”(hŒ´Only the PREPARE and ONLINE sections provide a dynamic allocation range. The STARTING section does not as most of the callbacks in that section have explicit ordering requirements.”h]”hŒ´Only the PREPARE and ONLINE sections provide a dynamic allocation range. The STARTING section does not as most of the callbacks in that section have explicit ordering requirements.”…”�”}”(hj˜ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mjhjx ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj3 h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´MRhj h²hubeh}”(h]”Œallocating-a-state”ah ]”h"]”Œallocating a state”ah$]”h&]”uh1hµhj¤h²hh³hÊh´MNubh¶)�”}”(hhh]”(h»)�”}”(hŒSetup of a CPU hotplug state”h]”hŒSetup of a CPU hotplug state”…”�”}”(hj½ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjº h²hh³hÊh´Moubhì)�”}”(hŒ@The core code provides the following functions to setup a state:”h]”hŒ@The core code provides the following functions to setup a state:”…”�”}”(hjË h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mqhjº h²hubjì)�”}”(hhh]”(jñ)�”}”(hŒ1cpuhp_setup_state(state, name, startup, teardown)”h]”hì)�”}”(hjÞ h]”hŒ1cpuhp_setup_state(state, name, startup, teardown)”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MshjÜ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjÙ h²hh³hÊh´Nubjñ)�”}”(hŒ9cpuhp_setup_state_nocalls(state, name, startup, teardown)”h]”hì)�”}”(hjõ h]”hŒ9cpuhp_setup_state_nocalls(state, name, startup, teardown)”…”�”}”(hj÷ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mthjó ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjÙ h²hh³hÊh´Nubjñ)�”}”(hŒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M‘hj; ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hj! ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hj¬ ubj° )�”}”(hhh]”(jµ )�”}”(hhh]”hì)�”}”(hŒdying”h]”hŒdying”…”�”}”(hj^ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M“hj[ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjX ubjµ )�”}”(hhh]”hì)�”}”(hŒJFor states in the STARTING section which do not provide a startup callback”h]”hŒJFor states in the STARTING section which do not provide a startup callback”…”�”}”(hju h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M“hjr ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjX ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hj¬ ubj° )�”}”(hhh]”(jµ )�”}”(hhh]”hì)�”}”(hŒonline”h]”hŒonline”…”�”}”(hj• h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M–hj’ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hj� ubjµ )�”}”(hhh]”hì)�”}”(hŒ For states in the ONLINE section”h]”hŒ For states in the ONLINE section”…”�”}”(hj¬ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M–hj© ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hj� ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hj¬ ubj° )�”}”(hhh]”(jµ )�”}”(hhh]”hì)�”}”(hŒoffline”h]”hŒoffline”…”�”}”(hjÌ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M˜hjÉ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjÆ ubjµ )�”}”(hhh]”hì)�”}”(hŒHFor states in the ONLINE section which do not provide a startup callback”h]”hŒHFor states in the ONLINE section which do not provide a startup callback”…”�”}”(hjã h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M˜hjà ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjÆ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hj¬ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jª hj‘ ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j� hjŒ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŠ hjº h²hh³hÊh´Nubhì)�”}”(hŒ±As the @name argument is only used for sysfs and instrumentation other mode descriptors can be used as well if they describe the nature of the state better than the common ones.”h]”hŒ±As the @name argument is only used for sysfs and instrumentation other mode descriptors can be used as well if they describe the nature of the state better than the common ones.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mœhjº h²hubhì)�”}”(hŒdExamples for @name arguments: "perf/online", "perf/x86:prepare", "RCU/tree:dying", "sched/waitempty"”h]”hŒtExamples for @name arguments: “perf/onlineâ€�, “perf/x86:prepareâ€�, “RCU/tree:dyingâ€�, “sched/waitemptyâ€�”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M hjº h²hubhì)�”}”(hŒÁThe @startup argument is a function pointer to the callback which should be invoked during a CPU online operation. If the usage site does not require a startup callback set the pointer to NULL.”h]”hŒÁThe @startup argument is a function pointer to the callback which should be invoked during a CPU online operation. If the usage site does not require a startup callback set the pointer to NULL.”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M£hjº h²hubhì)�”}”(hŒÄThe @teardown argument is a function pointer to the callback which should be invoked during a CPU offline operation. If the usage site does not require a teardown callback set the pointer to NULL.”h]”hŒÄThe @teardown argument is a function pointer to the callback which should be invoked during a CPU offline operation. If the usage site does not require a teardown callback set the pointer to NULL.”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M§hjº h²hubhì)�”}”(hŒHThe functions differ in the way how the installed callbacks are treated:”h]”hŒHThe functions differ in the way how the installed callbacks are treated:”…”�”}”(hjH h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M«hjº h²hubhŒ block_quote”“”)�”}”(hX* cpuhp_setup_state_nocalls(), cpuhp_setup_state_nocalls_cpuslocked() and cpuhp_setup_state_multi() only install the callbacks * cpuhp_setup_state() and cpuhp_setup_state_cpuslocked() install the callbacks and invoke the @startup callback (if not NULL) for all online CPUs which have currently a state greater than the newly installed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. If a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation. The state setup fails, the callbacks for the state are not installed and in case of dynamic allocation the allocated state is freed. ”h]”jì)�”}”(hhh]”(jñ)�”}”(hŒ}cpuhp_setup_state_nocalls(), cpuhp_setup_state_nocalls_cpuslocked() and cpuhp_setup_state_multi() only install the callbacks ”h]”hì)�”}”(hŒ|cpuhp_setup_state_nocalls(), cpuhp_setup_state_nocalls_cpuslocked() and cpuhp_setup_state_multi() only install the callbacks”h]”hŒ|cpuhp_setup_state_nocalls(), cpuhp_setup_state_nocalls_cpuslocked() and cpuhp_setup_state_multi() only install the callbacks”…”�”}”(hjc h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M­hj_ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhj\ ubjñ)�”}”(hX�cpuhp_setup_state() and cpuhp_setup_state_cpuslocked() install the callbacks and invoke the @startup callback (if not NULL) for all online CPUs which have currently a state greater than the newly installed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. If a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation. The state setup fails, the callbacks for the state are not installed and in case of dynamic allocation the allocated state is freed. ”h]”(hì)�”}”(hXŠcpuhp_setup_state() and cpuhp_setup_state_cpuslocked() install the callbacks and invoke the @startup callback (if not NULL) for all online CPUs which have currently a state greater than the newly installed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread.”h]”hXŒcpuhp_setup_state() and cpuhp_setup_state_cpuslocked() install the callbacks and invoke the @startup callback (if not NULL) for all online CPUs which have currently a state greater than the newly installed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU’s hotplug thread.”…”�”}”(hj{ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M°hjw ubhì)�”}”(hŒôIf a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation. The state setup fails, the callbacks for the state are not installed and in case of dynamic allocation the allocated state is freed.”h]”hŒôIf a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation. The state setup fails, the callbacks for the state are not installed and in case of dynamic allocation the allocated state is freed.”…”�”}”(hj‰ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M·hjw ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj\ ubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´M­hjX ubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´M­hjº h²hubhì)�”}”(hXThe state setup and the callback invocations are serialized against CPU hotplug operations. If the setup function has to be called from a CPU hotplug read locked region, then the _cpuslocked() variants have to be used. These functions cannot be used from within CPU hotplug callbacks.”h]”hXThe state setup and the callback invocations are serialized against CPU hotplug operations. If the setup function has to be called from a CPU hotplug read locked region, then the _cpuslocked() variants have to be used. These functions cannot be used from within CPU hotplug callbacks.”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M¼hjº h²hubj )�”}”(hhh]”j)�”}”(hXThe function return values: ======== =================================================================== 0 Statically allocated state was successfully set up >0 Dynamically allocated state was successfully set up. The returned number is the state number which was allocated. If the state callbacks have to be removed later, e.g. module removal, then this number has to be saved by the caller and used as @state argument for the state remove function. For multi-instance states the dynamically allocated state number is also required as @state argument for the instance add/remove operations. <0 Operation failed ======== =================================================================== ”h]”(j)�”}”(hŒThe function return values:”h]”hŒThe function return values:”…”�”•}”(hj¾ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MÐhjº ubj0)�”}”(hhh]”j‹ )�”}”(hhh]”j� )�”}”(hhh]”(j• )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j” hjÒ ubj• )�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”KCuh1j” hjÒ ubj« )�”}”(hhh]”(j° )�”}”(hhh]”(jµ )�”}”(hhh]”hì)�”}”(hŒ0”h]”hŒ0”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÃhjï ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjì ubjµ )�”}”(hhh]”hì)�”}”(hŒ2Statically allocated state was successfully set up”h]”hŒ2Statically allocated state was successfully set up”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÃhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjì ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hjé ubj° )�”}”(hhh]”(jµ )�”}”(hhh]”hì)�”}”(hŒ>0”h]”hŒ>0”…”�”}”(hj) h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÅhj& ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hj# ubjµ )�”}”(hhh]”(hì)�”}”(hŒ4Dynamically allocated state was successfully set up.”h]”hŒ4Dynamically allocated state was successfully set up.”…”�”}”(hj@ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÅhj= ubhì)�”}”(hXyThe returned number is the state number which was allocated. If the state callbacks have to be removed later, e.g. module removal, then this number has to be saved by the caller and used as @state argument for the state remove function. For multi-instance states the dynamically allocated state number is also required as @state argument for the instance add/remove operations.”h]”hXyThe returned number is the state number which was allocated. If the state callbacks have to be removed later, e.g. module removal, then this number has to be saved by the caller and used as @state argument for the state remove function. For multi-instance states the dynamically allocated state number is also required as @state argument for the instance add/remove operations.”…”�”}”(hjN h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÇhj= ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j´ hj# ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hjé ubj° )�”}”(hhh]”(jµ )�”}”(hhh]”hì)�”}”(hŒ<0”h]”hŒ<0”…”�”}”(hjn h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÏhjk ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjh ubjµ )�”}”(hhh]”hì)�”}”(hŒOperation failed”h]”hŒOperation failed”…”�”}”(hj… h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÏhj‚ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´ hjh ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯ hjé ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jª hjÒ ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j� hjÏ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jŠ hjÌ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjº ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MÐhj· ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjº h²hh³hÊh´Nubeh}”(h]”Œsetup-of-a-cpu-hotplug-state”ah ]”h"]”Œsetup of a cpu hotplug state”ah$]”h&]”uh1hµhj¤h²hh³hÊh´Moubh¶)�”}”(hhh]”(h»)�”}”(hŒRemoval of a CPU hotplug state”h]”hŒRemoval of a CPU hotplug state”…”�”}”(hjÏ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÌ h²hh³hÊh´MÓubhì)�”}”(hŒJTo remove a previously set up state, the following functions are provided:”h]”hŒJTo remove a previously set up state, the following functions are provided:”…”�”}”(hjÝ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÕhjÌ h²hubjì)�”}”(hhh]”(jñ)�”}”(hŒcpuhp_remove_state(state)”h]”hì)�”}”(hjð h]”hŒcpuhp_remove_state(state)”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M×hjî ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjë h²hh³hÊh´Nubjñ)�”}”(hŒ!cpuhp_remove_state_nocalls(state)”h]”hì)�”}”(hjh]”hŒ!cpuhp_remove_state_nocalls(state)”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MØhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjë h²hh³hÊh´Nubjñ)�”}”(hŒ,cpuhp_remove_state_nocalls_cpuslocked(state)”h]”hì)�”}”(hjh]”hŒ,cpuhp_remove_state_nocalls_cpuslocked(state)”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÙhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjë h²hh³hÊh´Nubjñ)�”}”(hŒ cpuhp_remove_multi_state(state) ”h]”hì)�”}”(hŒcpuhp_remove_multi_state(state)”h]”hŒcpuhp_remove_multi_state(state)”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÚhj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjë h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´M×hjÌ h²hubhì)�”}”(hXThe @state argument is either a statically allocated state or the state number which was allocated in the dynamic range by cpuhp_setup_state*(). If the state is in the dynamic range, then the state number is freed and available for dynamic allocation again.”h]”hXThe @state argument is either a statically allocated state or the state number which was allocated in the dynamic range by cpuhp_setup_state*(). If the state is in the dynamic range, then the state number is freed and available for dynamic allocation again.”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÜhjÌ h²hubhì)�”}”(hŒHThe functions differ in the way how the installed callbacks are treated:”h]”hŒHThe functions differ in the way how the installed callbacks are treated:”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MáhjÌ h²hubjW )�”}”(hX?* cpuhp_remove_state_nocalls(), cpuhp_remove_state_nocalls_cpuslocked() and cpuhp_remove_multi_state() only remove the callbacks. * cpuhp_remove_state() removes the callbacks and invokes the teardown callback (if not NULL) for all online CPUs which have currently a state greater than the removed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. In order to complete the removal, the teardown callback should not fail. ”h]”jì)�”}”(hhh]”(jñ)�”}”(hŒ€cpuhp_remove_state_nocalls(), cpuhp_remove_state_nocalls_cpuslocked() and cpuhp_remove_multi_state() only remove the callbacks. ”h]”hì)�”}”(hŒcpuhp_remove_state_nocalls(), cpuhp_remove_state_nocalls_cpuslocked() and cpuhp_remove_multi_state() only remove the callbacks.”h]”hŒcpuhp_remove_state_nocalls(), cpuhp_remove_state_nocalls_cpuslocked() and cpuhp_remove_multi_state() only remove the callbacks.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mãhjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjqubjñ)�”}”(hX¬cpuhp_remove_state() removes the callbacks and invokes the teardown callback (if not NULL) for all online CPUs which have currently a state greater than the removed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. In order to complete the removal, the teardown callback should not fail. ”h]”(hì)�”}”(hXacpuhp_remove_state() removes the callbacks and invokes the teardown callback (if not NULL) for all online CPUs which have currently a state greater than the removed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread.”h]”hXccpuhp_remove_state() removes the callbacks and invokes the teardown callback (if not NULL) for all online CPUs which have currently a state greater than the removed state. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU’s hotplug thread.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MæhjŒubhì)�”}”(hŒHIn order to complete the removal, the teardown callback should not fail.”h]”hŒHIn order to complete the removal, the teardown callback should not fail.”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MíhjŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhjqubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´Mãhjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´MãhjÌ h²hubhì)�”}”(hXThe state removal and the callback invocations are serialized against CPU hotplug operations. If the remove function has to be called from a CPU hotplug read locked region, then the _cpuslocked() variants have to be used. These functions cannot be used from within CPU hotplug callbacks.”h]”hXThe state removal and the callback invocations are serialized against CPU hotplug operations. If the remove function has to be called from a CPU hotplug read locked region, then the _cpuslocked() variants have to be used. These functions cannot be used from within CPU hotplug callbacks.”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MïhjÌ h²hubhì)�”}”(hŒWIf a multi-instance state is removed then the caller has to remove all instances first.”h]”hŒWIf a multi-instance state is removed then the caller has to remove all instances first.”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MôhjÌ h²hubeh}”(h]”Œremoval-of-a-cpu-hotplug-state”ah ]”h"]”Œremoval of a cpu hotplug state”ah$]”h&]”uh1hµhj¤h²hh³hÊh´MÓubh¶)�”}”(hhh]”(h»)�”}”(hŒ(Multi-Instance state instance management”h]”hŒ(Multi-Instance state instance management”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjâh²hh³hÊh´Møubhì)�”}”(hŒMOnce the multi-instance state is set up, instances can be added to the state:”h]”hŒMOnce the multi-instance state is set up, instances can be added to the state:”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Múhjâh²hubjW )�”}”(hŒX* cpuhp_state_add_instance(state, node) * cpuhp_state_add_instance_nocalls(state, node) ”h]”jì)�”}”(hhh]”(jñ)�”}”(hŒ%cpuhp_state_add_instance(state, node)”h]”hì)�”}”(hj h]”hŒ%cpuhp_state_add_instance(state, node)”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mýhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjubjñ)�”}”(hŒ.cpuhp_state_add_instance_nocalls(state, node) ”h]”hì)�”}”(hŒ-cpuhp_state_add_instance_nocalls(state, node)”h]”hŒ-cpuhp_state_add_instance_nocalls(state, node)”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mþhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´Mýhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´Mýhjâh²hubhì)�”}”(hŒ•The @state argument is either a statically allocated state or the state number which was allocated in the dynamic range by cpuhp_setup_state_multi().”h]”hŒ•The @state argument is either a statically allocated state or the state number which was allocated in the dynamic range by cpuhp_setup_state_multi().”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhjâh²hubhì)�”}”(hŒíThe @node argument is a pointer to an hlist_node which is embedded in the instance's data structure. The pointer is handed to the multi-instance state callbacks and can be used by the callback to retrieve the instance via container_of().”h]”hŒïThe @node argument is a pointer to an hlist_node which is embedded in the instance’s data structure. The pointer is handed to the multi-instance state callbacks and can be used by the callback to retrieve the instance via container_of().”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhjâh²hubhì)�”}”(hŒHThe functions differ in the way how the installed callbacks are treated:”h]”hŒHThe functions differ in the way how the installed callbacks are treated:”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhjâh²hubjW )�”}”(hXú* cpuhp_state_add_instance_nocalls() and only adds the instance to the multi-instance state's node list. * cpuhp_state_add_instance() adds the instance and invokes the startup callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be added instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. If a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation, the function fails and the instance is not added to the node list of the multi-instance state. ”h]”jì)�”}”(hhh]”(jñ)�”}”(hŒgcpuhp_state_add_instance_nocalls() and only adds the instance to the multi-instance state's node list. ”h]”hì)�”}”(hŒfcpuhp_state_add_instance_nocalls() and only adds the instance to the multi-instance state's node list.”h]”hŒhcpuhp_state_add_instance_nocalls() and only adds the instance to the multi-instance state’s node list.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M hjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjqubjñ)�”}”(hXzcpuhp_state_add_instance() adds the instance and invokes the startup callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be added instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. If a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation, the function fails and the instance is not added to the node list of the multi-instance state. ”h]”(hì)�”}”(hX©cpuhp_state_add_instance() adds the instance and invokes the startup callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be added instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread.”h]”hX«cpuhp_state_add_instance() adds the instance and invokes the startup callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be added instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU’s hotplug thread.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M hjŒubhì)�”}”(hŒÎIf a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation, the function fails and the instance is not added to the node list of the multi-instance state.”h]”hŒÎIf a callback fails for CPU N then the teardown callback for CPU 0 .. N-1 is invoked to rollback the operation, the function fails and the instance is not added to the node list of the multi-instance state.”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MhjŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhjqubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´M hjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´M hjâh²hubhì)�”}”(hŒOTo remove an instance from the state's node list these functions are available:”h]”hŒQTo remove an instance from the state’s node list these functions are available:”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhjâh²hubjW )�”}”(hŒ^* cpuhp_state_remove_instance(state, node) * cpuhp_state_remove_instance_nocalls(state, node) ”h]”jì)�”}”(hhh]”(jñ)�”}”(hŒ(cpuhp_state_remove_instance(state, node)”h]”hì)�”}”(hjÕh]”hŒ(cpuhp_state_remove_instance(state, node)”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MhjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjÐubjñ)�”}”(hŒ1cpuhp_state_remove_instance_nocalls(state, node) ”h]”hì)�”}”(hŒ0cpuhp_state_remove_instance_nocalls(state, node)”h]”hŒ0cpuhp_state_remove_instance_nocalls(state, node)”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhjÐubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´MhjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´Mhjâh²hubhì)�”}”(hŒQThe arguments are the same as for the cpuhp_state_add_instance*() variants above.”h]”hŒQThe arguments are the same as for the cpuhp_state_add_instance*() variants above.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mhjâh²hubhì)�”}”(hŒHThe functions differ in the way how the installed callbacks are treated:”h]”hŒHThe functions differ in the way how the installed callbacks are treated:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M"hjâh²hubjW )�”}”(hXp* cpuhp_state_remove_instance_nocalls() only removes the instance from the state's node list. * cpuhp_state_remove_instance() removes the instance and invokes the teardown callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be removed instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. In order to complete the removal, the teardown callback should not fail. ”h]”jì)�”}”(hhh]”(jñ)�”}”(hŒ\cpuhp_state_remove_instance_nocalls() only removes the instance from the state's node list. ”h]”hì)�”}”(hŒ[cpuhp_state_remove_instance_nocalls() only removes the instance from the state's node list.”h]”hŒ]cpuhp_state_remove_instance_nocalls() only removes the instance from the state’s node list.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M$hj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jðhj.ubjñ)�”}”(hXÿcpuhp_state_remove_instance() removes the instance and invokes the teardown callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be removed instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread. In order to complete the removal, the teardown callback should not fail. ”h]”(hì)�”}”(hX´cpuhp_state_remove_instance() removes the instance and invokes the teardown callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be removed instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU's hotplug thread.”h]”hX¶cpuhp_state_remove_instance() removes the instance and invokes the teardown callback (if not NULL) associated with @state for all online CPUs which have currently a state greater than @state. The callback is only invoked for the to be removed instance. Depending on the state section the callback is either invoked on the current CPU (PREPARE section) or on each online CPU (ONLINE section) in the context of the CPU’s hotplug thread.”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M'hjIubhì)�”}”(hŒHIn order to complete the removal, the teardown callback should not fail.”h]”hŒHIn order to complete the removal, the teardown callback should not fail.”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M/hjIubeh}”(h]”h ]”h"]”h$]”h&]”uh1jðhj.ubeh}”(h]”h ]”h"]”h$]”h&]”j’j“uh1jëh³hÊh´M$hj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´M$hjâh²hubhì)�”}”(hŒÕThe node list add/remove operations and the callback invocations are serialized against CPU hotplug operations. These functions cannot be used from within CPU hotplug callbacks and CPU hotplug read locked regions.”h]”hŒÕThe node list add/remove operations and the callback invocations are serialized against CPU hotplug operations. These functions cannot be used from within CPU hotplug callbacks and CPU hotplug read locked regions.”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M1hjâh²hubeh}”(h]”Œ(multi-instance-state-instance-management”ah ]”h"]”Œ(multi-instance state instance management”ah$]”h&]”uh1hµhj¤h²hh³hÊh´Møubh¶)�”}”(hhh]”(h»)�”}”(hŒExamples”h]”hŒExamples”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj‘h²hh³hÊh´M6ubhì)�”}”(hŒ|Setup and teardown a statically allocated state in the STARTING section for notifications on online and offline operations::”h]”hŒ{Setup and teardown a statically allocated state in the STARTING section for notifications on online and offline operations:”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M8hj‘h²hubj¨)�”}”(hŒ·ret = cpuhp_setup_state(CPUHP_SUBSYS_STARTING, "subsys:starting", subsys_cpu_starting, subsys_cpu_dying); if (ret < 0) return ret; .... cpuhp_remove_state(CPUHP_SUBSYS_STARTING);”h]”hŒ·ret = cpuhp_setup_state(CPUHP_SUBSYS_STARTING, "subsys:starting", subsys_cpu_starting, subsys_cpu_dying); if (ret < 0) return ret; .... cpuhp_remove_state(CPUHP_SUBSYS_STARTING);”…”�”}”hj°sbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M;hj‘h²hubhì)�”}”(hŒpSetup and teardown a dynamically allocated state in the ONLINE section for notifications on offline operations::”h]”hŒoSetup and teardown a dynamically allocated state in the ONLINE section for notifications on offline operations:”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MAhj‘h²hubj¨)�”}”(hŒœstate = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "subsys:offline", NULL, subsys_cpu_offline); if (state < 0) return state; .... cpuhp_remove_state(state);”h]”hŒœstate = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "subsys:offline", NULL, subsys_cpu_offline); if (state < 0) return state; .... cpuhp_remove_state(state);”…”�”}”hjÌsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´MDhj‘h²hubhì)�”}”(hŒŽSetup and teardown a dynamically allocated state in the ONLINE section for notifications on online operations without invoking the callbacks::”h]”hŒ�Setup and teardown a dynamically allocated state in the ONLINE section for notifications on online operations without invoking the callbacks:”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MJhj‘h²hubj¨)�”}”(hŒªstate = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, "subsys:online", subsys_cpu_online, NULL); if (state < 0) return state; .... cpuhp_remove_state_nocalls(state);”h]”hŒªstate = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, "subsys:online", subsys_cpu_online, NULL); if (state < 0) return state; .... cpuhp_remove_state_nocalls(state);”…”�”}”hjèsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´MMhj‘h²hubhì)�”}”(hŒŽSetup, use and teardown a dynamically allocated multi-instance state in the ONLINE section for notifications on online and offline operation::”h]”hŒ�Setup, use and teardown a dynamically allocated multi-instance state in the ONLINE section for notifications on online and offline operation:”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MShj‘h²hubj¨)�”}”(hX¾state = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN, "subsys:online", subsys_cpu_online, subsys_cpu_offline); if (state < 0) return state; .... ret = cpuhp_state_add_instance(state, &inst1->node); if (ret) return ret; .... ret = cpuhp_state_add_instance(state, &inst2->node); if (ret) return ret; .... cpuhp_remove_instance(state, &inst1->node); .... cpuhp_remove_instance(state, &inst2->node); .... cpuhp_remove_multi_state(state);”h]”hX¾state = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN, "subsys:online", subsys_cpu_online, subsys_cpu_offline); if (state < 0) return state; .... ret = cpuhp_state_add_instance(state, &inst1->node); if (ret) return ret; .... ret = cpuhp_state_add_instance(state, &inst2->node); if (ret) return ret; .... cpuhp_remove_instance(state, &inst1->node); .... cpuhp_remove_instance(state, &inst2->node); .... cpuhp_remove_multi_state(state);”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´MVhj‘h²hubeh}”(h]”Œexamples”ah ]”h"]”Œexamples”ah$]”h&]”uh1hµhj¤h²hh³hÊh´M6ubeh}”(h]”Œthe-cpu-hotplug-api”ah ]”h"]”Œthe cpu hotplug api”ah$]”h&]”uh1hµhh·h²hh³hÊh´K�ubh¶)�”}”(hhh]”(h»)�”}”(hŒTesting of hotplug states”h]”hŒTesting of hotplug states”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj"h²hh³hÊh´Mjubhì)�”}”(hXcOne way to verify whether a custom state is working as expected or not is to shutdown a CPU and then put it online again. It is also possible to put the CPU to certain state (for instance *CPUHP_AP_ONLINE*) and then go back to *CPUHP_ONLINE*. This would simulate an error one state after *CPUHP_AP_ONLINE* which would lead to rollback to the online state.”h]”(hŒ¼One way to verify whether a custom state is working as expected or not is to shutdown a CPU and then put it online again. It is also possible to put the CPU to certain state (for instance ”…”�”}”(hj3h²hh³Nh´Nubj=)�”}”(hŒ*CPUHP_AP_ONLINE*”h]”hŒCPUHP_AP_ONLINE”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj3ubhŒ) and then go back to ”…”�”}”(hj3h²hh³Nh´Nubj=)�”}”(hŒ*CPUHP_ONLINE*”h]”hŒ CPUHP_ONLINE”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj3ubhŒ/. This would simulate an error one state after ”…”�”}”(hj3h²hh³Nh´Nubj=)�”}”(hŒ*CPUHP_AP_ONLINE*”h]”hŒCPUHP_AP_ONLINE”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j<hj3ubhŒ2 which would lead to rollback to the online state.”…”�”}”(hj3h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mlhj"h²hubhì)�”}”(hŒUAll registered states are enumerated in ``/sys/devices/system/cpu/hotplug/states`` ::”h]”(hŒ(All registered states are enumerated in ”…”�”}”(hjwh²hh³Nh´Nubj)�”}”(hŒ*``/sys/devices/system/cpu/hotplug/states``”h]”hŒ&/sys/devices/system/cpu/hotplug/states”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjwubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mrhj"h²hubj¨)�”}”(hX$ tail /sys/devices/system/cpu/hotplug/states 138: mm/vmscan:online 139: mm/vmstat:online 140: lib/percpu_cnt:online 141: acpi/cpu-drv:online 142: base/cacheinfo:online 143: virtio/net:online 144: x86/mce:online 145: printk:online 168: sched:active 169: online”h]”hX$ tail /sys/devices/system/cpu/hotplug/states 138: mm/vmscan:online 139: mm/vmstat:online 140: lib/percpu_cnt:online 141: acpi/cpu-drv:online 142: base/cacheinfo:online 143: virtio/net:online 144: x86/mce:online 145: printk:online 168: sched:active 169: online”…”�”}”hj“sbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´Mthj"h²hubhì)�”}”(hŒJTo rollback CPU4 to ``lib/percpu_cnt:online`` and back online just issue::”h]”(hŒTo rollback CPU4 to ”…”�”}”(hj¡h²hh³Nh´Nubj)�”}”(hŒ``lib/percpu_cnt:online``”h]”hŒlib/percpu_cnt:online”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¡ubhŒ and back online just issue:”…”�”}”(hj¡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M€hj"h²hubj¨)�”}”(hŒ¢$ cat /sys/devices/system/cpu/cpu4/hotplug/state 169 $ echo 140 > /sys/devices/system/cpu/cpu4/hotplug/target $ cat /sys/devices/system/cpu/cpu4/hotplug/state 140”h]”hŒ¢$ cat /sys/devices/system/cpu/cpu4/hotplug/state 169 $ echo 140 > /sys/devices/system/cpu/cpu4/hotplug/target $ cat /sys/devices/system/cpu/cpu4/hotplug/state 140”…”�”}”hjÁsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M‚hj"h²hubhì)�”}”(hŒlIt is important to note that the teardown callback of state 140 have been invoked. And now get back online::”h]”hŒkIt is important to note that the teardown callback of state 140 have been invoked. And now get back online:”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Mˆhj"h²hubj¨)�”}”(hŒm$ echo 169 > /sys/devices/system/cpu/cpu4/hotplug/target $ cat /sys/devices/system/cpu/cpu4/hotplug/state 169”h]”hŒm$ echo 169 > /sys/devices/system/cpu/cpu4/hotplug/target $ cat /sys/devices/system/cpu/cpu4/hotplug/state 169”…”�”}”hjÝsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M‹hj"h²hubhì)�”}”(hŒBWith trace events enabled, the individual steps are visible, too::”h]”hŒAWith trace events enabled, the individual steps are visible, too:”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M�hj"h²hubj¨)�”}”(hX¡# TASK-PID CPU# TIMESTAMP FUNCTION # | | | | | bash-394 [001] 22.976: cpuhp_enter: cpu: 0004 target: 140 step: 169 (cpuhp_kick_ap_work) cpuhp/4-31 [004] 22.977: cpuhp_enter: cpu: 0004 target: 140 step: 168 (sched_cpu_deactivate) cpuhp/4-31 [004] 22.990: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 cpuhp/4-31 [004] 22.991: cpuhp_enter: cpu: 0004 target: 140 step: 144 (mce_cpu_pre_down) cpuhp/4-31 [004] 22.992: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 cpuhp/4-31 [004] 22.993: cpuhp_multi_enter: cpu: 0004 target: 140 step: 143 (virtnet_cpu_down_prep) cpuhp/4-31 [004] 22.994: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 cpuhp/4-31 [004] 22.995: cpuhp_enter: cpu: 0004 target: 140 step: 142 (cacheinfo_cpu_pre_down) cpuhp/4-31 [004] 22.996: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 bash-394 [001] 22.997: cpuhp_exit: cpu: 0004 state: 140 step: 169 ret: 0 bash-394 [005] 95.540: cpuhp_enter: cpu: 0004 target: 169 step: 140 (cpuhp_kick_ap_work) cpuhp/4-31 [004] 95.541: cpuhp_enter: cpu: 0004 target: 169 step: 141 (acpi_soft_cpu_online) cpuhp/4-31 [004] 95.542: cpuhp_exit: cpu: 0004 state: 141 step: 141 ret: 0 cpuhp/4-31 [004] 95.543: cpuhp_enter: cpu: 0004 target: 169 step: 142 (cacheinfo_cpu_online) cpuhp/4-31 [004] 95.544: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 cpuhp/4-31 [004] 95.545: cpuhp_multi_enter: cpu: 0004 target: 169 step: 143 (virtnet_cpu_online) cpuhp/4-31 [004] 95.546: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 cpuhp/4-31 [004] 95.547: cpuhp_enter: cpu: 0004 target: 169 step: 144 (mce_cpu_online) cpuhp/4-31 [004] 95.548: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 cpuhp/4-31 [004] 95.549: cpuhp_enter: cpu: 0004 target: 169 step: 145 (console_cpu_notify) cpuhp/4-31 [004] 95.550: cpuhp_exit: cpu: 0004 state: 145 step: 145 ret: 0 cpuhp/4-31 [004] 95.551: cpuhp_enter: cpu: 0004 target: 169 step: 168 (sched_cpu_activate) cpuhp/4-31 [004] 95.552: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 bash-394 [005] 95.553: cpuhp_exit: cpu: 0004 state: 169 step: 140 ret: 0”h]”hX¡# TASK-PID CPU# TIMESTAMP FUNCTION # | | | | | bash-394 [001] 22.976: cpuhp_enter: cpu: 0004 target: 140 step: 169 (cpuhp_kick_ap_work) cpuhp/4-31 [004] 22.977: cpuhp_enter: cpu: 0004 target: 140 step: 168 (sched_cpu_deactivate) cpuhp/4-31 [004] 22.990: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 cpuhp/4-31 [004] 22.991: cpuhp_enter: cpu: 0004 target: 140 step: 144 (mce_cpu_pre_down) cpuhp/4-31 [004] 22.992: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 cpuhp/4-31 [004] 22.993: cpuhp_multi_enter: cpu: 0004 target: 140 step: 143 (virtnet_cpu_down_prep) cpuhp/4-31 [004] 22.994: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 cpuhp/4-31 [004] 22.995: cpuhp_enter: cpu: 0004 target: 140 step: 142 (cacheinfo_cpu_pre_down) cpuhp/4-31 [004] 22.996: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 bash-394 [001] 22.997: cpuhp_exit: cpu: 0004 state: 140 step: 169 ret: 0 bash-394 [005] 95.540: cpuhp_enter: cpu: 0004 target: 169 step: 140 (cpuhp_kick_ap_work) cpuhp/4-31 [004] 95.541: cpuhp_enter: cpu: 0004 target: 169 step: 141 (acpi_soft_cpu_online) cpuhp/4-31 [004] 95.542: cpuhp_exit: cpu: 0004 state: 141 step: 141 ret: 0 cpuhp/4-31 [004] 95.543: cpuhp_enter: cpu: 0004 target: 169 step: 142 (cacheinfo_cpu_online) cpuhp/4-31 [004] 95.544: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 cpuhp/4-31 [004] 95.545: cpuhp_multi_enter: cpu: 0004 target: 169 step: 143 (virtnet_cpu_online) cpuhp/4-31 [004] 95.546: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 cpuhp/4-31 [004] 95.547: cpuhp_enter: cpu: 0004 target: 169 step: 144 (mce_cpu_online) cpuhp/4-31 [004] 95.548: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 cpuhp/4-31 [004] 95.549: cpuhp_enter: cpu: 0004 target: 169 step: 145 (console_cpu_notify) cpuhp/4-31 [004] 95.550: cpuhp_exit: cpu: 0004 state: 145 step: 145 ret: 0 cpuhp/4-31 [004] 95.551: cpuhp_enter: cpu: 0004 target: 169 step: 168 (sched_cpu_activate) cpuhp/4-31 [004] 95.552: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 bash-394 [005] 95.553: cpuhp_exit: cpu: 0004 state: 169 step: 140 ret: 0”…”�”}”hjùsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´M‘hj"h²hubhì)�”}”(hŒ£As it an be seen, CPU4 went down until timestamp 22.996 and then back up until 95.552. All invoked callbacks including their return codes are visible in the trace.”h]”hŒ£As it an be seen, CPU4 went down until timestamp 22.996 and then back up until 95.552. All invoked callbacks including their return codes are visible in the trace.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M¬hj"h²hubeh}”(h]”Œtesting-of-hotplug-states”ah ]”h"]”Œtesting of hotplug states”ah$]”h&]”uh1hµhh·h²hh³hÊh´Mjubh¶)�”}”(hhh]”(h»)�”}”(hŒArchitecture's requirements”h]”hŒArchitecture’s requirements”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´M±ubhì)�”}”(hŒ8The following functions and configurations are required:”h]”hŒ8The following functions and configurations are required:”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M³hjh²hubj )�”}”(hhh]”(j)�”}”(hŒA``CONFIG_HOTPLUG_CPU`` This entry needs to be enabled in Kconfig ”h]”(j)�”}”(hŒ``CONFIG_HOTPLUG_CPU``”h]”j)�”}”(hjEh]”hŒCONFIG_HOTPLUG_CPU”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjCubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M¶hj?ubj0)�”}”(hhh]”hì)�”}”(hŒ)This entry needs to be enabled in Kconfig”h]”hŒ)This entry needs to be enabled in Kconfig”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M¶hjZubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M¶hj<ubj)�”}”(hŒ0``__cpu_up()`` Arch interface to bring up a CPU ”h]”(j)�”}”(hŒ``__cpu_up()``”h]”j)�”}”(hj}h]”hŒ __cpu_up()”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M¹hjwubj0)�”}”(hhh]”hì)�”}”(hŒ Arch interface to bring up a CPU”h]”hŒ Arch interface to bring up a CPU”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M¹hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjwubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M¹hj<h²hubj)�”}”(hŒª``__cpu_disable()`` Arch interface to shutdown a CPU, no more interrupts can be handled by the kernel after the routine returns. This includes the shutdown of the timer. ”h]”(j)�”}”(hŒ``__cpu_disable()``”h]”j)�”}”(hjµh]”hŒ__cpu_disable()”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M½hj¯ubj0)�”}”(hhh]”hì)�”}”(hŒ•Arch interface to shutdown a CPU, no more interrupts can be handled by the kernel after the routine returns. This includes the shutdown of the timer.”h]”hŒ•Arch interface to shutdown a CPU, no more interrupts can be handled by the kernel after the routine returns. This includes the shutdown of the timer.”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´M¼hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´M½hj<h²hubj)�”}”(hXm``__cpu_die()`` This actually supposed to ensure death of the CPU. Actually look at some example code in other arch that implement CPU hotplug. The processor is taken down from the ``idle()`` loop for that specific architecture. ``__cpu_die()`` typically waits for some per_cpu state to be set, to ensure the processor dead routine is called to be sure positively. ”h]”(j)�”}”(hŒ``__cpu_die()``”h]”j)�”}”(hjíh]”hŒ __cpu_die()”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjëubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MÄhjçubj0)�”}”(hhh]”hì)�”}”(hX\This actually supposed to ensure death of the CPU. Actually look at some example code in other arch that implement CPU hotplug. The processor is taken down from the ``idle()`` loop for that specific architecture. ``__cpu_die()`` typically waits for some per_cpu state to be set, to ensure the processor dead routine is called to be sure positively.”h]”(hŒ¥This actually supposed to ensure death of the CPU. Actually look at some example code in other arch that implement CPU hotplug. The processor is taken down from the ”…”�”}”(hjh²hh³Nh´Nubj)�”}”(hŒ ``idle()``”h]”hŒidle()”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ& loop for that specific architecture. ”…”�”}”(hjh²hh³Nh´Nubj)�”}”(hŒ``__cpu_die()``”h]”hŒ __cpu_die()”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒx typically waits for some per_cpu state to be set, to ensure the processor dead routine is called to be sure positively.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÀhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjçubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´MÄhj<h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjh²hh³hÊh´Nubeh}”(h]”Œarchitecture-s-requirements”ah ]”h"]”Œarchitecture's requirements”ah$]”h&]”uh1hµhh·h²hh³hÊh´M±ubh¶)�”}”(hhh]”(h»)�”}”(hŒUser Space Notification”h]”hŒUser Space Notification”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjQh²hh³hÊh´MÇubhì)�”}”(hŒRAfter CPU successfully onlined or offline udev events are sent. A udev rule like::”h]”hŒQAfter CPU successfully onlined or offline udev events are sent. A udev rule like:”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÉhjQh²hubj¨)�”}”(hŒhSUBSYSTEM=="cpu", DRIVERS=="processor", DEVPATH=="/devices/system/cpu/*", RUN+="the_hotplug_receiver.sh"”h]”hŒhSUBSYSTEM=="cpu", DRIVERS=="processor", DEVPATH=="/devices/system/cpu/*", RUN+="the_hotplug_receiver.sh"”…”�”}”hjpsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´MËhjQh²hubhì)�”}”(hŒ(will receive all events. A script like::”h]”hŒ'will receive all events. A script like:”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÍhjQh²hubj¨)�”}”(hŒ£#!/bin/sh if [ "${ACTION}" = "offline" ] then echo "CPU ${DEVPATH##*/} offline" elif [ "${ACTION}" = "online" ] then echo "CPU ${DEVPATH##*/} online" fi”h]”hŒ£#!/bin/sh if [ "${ACTION}" = "offline" ] then echo "CPU ${DEVPATH##*/} offline" elif [ "${ACTION}" = "online" ] then echo "CPU ${DEVPATH##*/} online" fi”…”�”}”hjŒsbah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1j§h³hÊh´MÏhjQh²hubhì)�”}”(hŒcan process the event further.”h]”hŒcan process the event further.”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÛhjQh²hubhì)�”}”(hX,When changes to the CPUs in the system occur, the sysfs file /sys/devices/system/cpu/crash_hotplug contains '1' if the kernel updates the kdump capture kernel list of CPUs itself (via elfcorehdr and other relevant kexec segment), or '0' if userspace must update the kdump capture kernel list of CPUs.”h]”hX4When changes to the CPUs in the system occur, the sysfs file /sys/devices/system/cpu/crash_hotplug contains ‘1’ if the kernel updates the kdump capture kernel list of CPUs itself (via elfcorehdr and other relevant kexec segment), or ‘0’ if userspace must update the kdump capture kernel list of CPUs.”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MÝhjQh²hubhì)�”}”(hŒOThe availability depends on the CONFIG_HOTPLUG_CPU kernel configuration option.”h]”hŒOThe availability depends on the CONFIG_HOTPLUG_CPU kernel configuration option.”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MãhjQh²hubhì)�”}”(hŒ·To skip userspace processing of CPU hot un/plug events for kdump (i.e. the unload-then-reload to obtain a current list of CPUs), this sysfs file can be used in a udev rule as follows:”h]”hŒ·To skip userspace processing of CPU hot un/plug events for kdump (i.e. the unload-then-reload to obtain a current list of CPUs), this sysfs file can be used in a udev rule as follows:”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MæhjQh²hubjW )�”}”(hŒESUBSYSTEM=="cpu", ATTRS{crash_hotplug}=="1", GOTO="kdump_reload_end" ”h]”hì)�”}”(hŒDSUBSYSTEM=="cpu", ATTRS{crash_hotplug}=="1", GOTO="kdump_reload_end"”h]”hŒPSUBSYSTEM==â€�cpuâ€�, ATTRS{crash_hotplug}==â€�1â€�, GOTO=â€�kdump_reload_endâ€�”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MêhjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1jV h³hÊh´MêhjQh²hubhì)�”}”(hŒçFor a CPU hot un/plug event, if the architecture supports kernel updates of the elfcorehdr (which contains the list of CPUs) and other relevant kexec segments, then the rule skips the unload-then-reload of the kdump capture kernel.”h]”hŒçFor a CPU hot un/plug event, if the architecture supports kernel updates of the elfcorehdr (which contains the list of CPUs) and other relevant kexec segments, then the rule skips the unload-then-reload of the kdump capture kernel.”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´MìhjQh²hubeh}”(h]”Œuser-space-notification”ah ]”h"]”Œuser space notification”ah$]”h&]”uh1hµhh·h²hh³hÊh´MÇubh¶)�”}”(hhh]”(h»)�”}”(hŒ&Kernel Inline Documentations Reference”h]”hŒ&Kernel Inline Documentations Reference”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´MòubhŒindex”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”Œcpuhp_setup_state (C function)”Œc.cpuhp_setup_state”hNt”auh1jhjh²hh³Nh´NubhŒdesc”“”)�”}”(hhh]”(hŒdesc_signature”“”)�”}”(hŒ…int cpuhp_setup_state (enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”hŒdesc_signature_line”“”)�”}”(hŒ„int cpuhp_setup_state(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(hŒdesc_sig_keyword_type”“”)�”}”(hŒint”h]”hŒint”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”Œkt”ah"]”h$]”h&]”uh1j3hj/h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MubhŒdesc_sig_space”“”)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1jEhj/h²hh³jDh´MubhŒ desc_name”“”)�”}”(hŒcpuhp_setup_state”h]”hŒ desc_sig_name”“”)�”}”(hŒcpuhp_setup_state”h]”hŒcpuhp_setup_state”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1j\hjXubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”j·j¸uh1jVhj/h²hh³jDh´MubhŒdesc_parameterlist”“”)�”}”(hŒo(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(hŒdesc_parameter”“”)�”}”(hŒenum cpuhp_state state”h]”(hŒdesc_sig_keyword”“”)�”}”(hŒenum”h]”hŒenum”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1j�hj}ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj}ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”Œc”Œreftype”Œ identifier”Œ reftarget”j¥Œmodname”NŒ classname”NŒ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)�”}”Œdata”]”j¿Œ ASTIdentifier”“”)�”}”jºj`sbŒc.cpuhp_setup_state”†”asbuh1hhj}ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj}ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj}ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjwubj|)�”}”(hŒconst char *name”h]”(j‚)�”}”(hŒconst”h]”hŒconst”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjïubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjïubj4)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjïubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjïubhŒdesc_sig_punctuation”“”)�”}”(hj“h]”hŒ*”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”Œp”ah"]”h$]”h&]”uh1j+hjïubj])�”}”(hŒname”h]”hŒname”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjïubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjwubj|)�”}”(hŒ int (*startup)(unsigned int cpu)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjPubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjPubj,)�”}”(hŒ(”h]”hŒ(”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjPubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjPubj])�”}”(hŒstartup”h]”hŒstartup”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjPubj,)�”}”(hŒ)”h]”hŒ)”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjPubj,)�”}”(hjrh]”hŒ(”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjPubj4)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjPubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjPubj4)�”}”(hŒint”h]”hŒint”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjPubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjPubj])�”}”(hŒcpu”h]”hŒcpu”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjPubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjPubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjwubj|)�”}”(hŒ!int (*teardown)(unsigned int cpu)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjubj,)�”}”(hjrh]”hŒ(”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjubj])�”}”(hŒteardown”h]”hŒteardown”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjubj,)�”}”(hjrh]”hŒ(”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjubj4)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjubj4)�”}”(hŒint”h]”hŒint”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjubj])�”}”(hŒcpu”h]”hŒcpu”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjubj,)�”}”(hj›h]”hŒ)”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjwubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj/h²hh³jDh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸Œ add_permalink”ˆuh1j-Œsphinx_line_type”Œ declarator”hj)h²hh³jDh´Mubah}”(h]”j ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j'h³jDh´Mhj$h²hubhŒ desc_content”“”)�”}”(hhh]”hì)�”}”(hŒCSetup hotplug state callbacks with calling the **startup** callback”h]”(hŒ/Setup hotplug state callbacks with calling the ”…”�”}”(hjéh²hh³Nh´NubhŒstrong”“”)�”}”(hŒ **startup**”h]”hŒstartup”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjéubhŒ callback”…”�”}”(hjéh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhjæh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj$h²hh³jDh´Mubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”Œdomain”j¸Œobjtype”jŒdesctype”jŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j"h²hhjh³Nh´NubhŒ container”“”)�”}”(hXî**Parameters** ``enum cpuhp_state state`` The state for which the calls are installed ``const char *name`` Name of the callback (will be used in debug output) ``int (*startup)(unsigned int cpu)`` startup callback function or NULL if not required ``int (*teardown)(unsigned int cpu)`` teardown callback function or NULL if not required **Description** Installs the callback functions and invokes the **startup** callback on the online cpus which have already reached the **state**.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hj'h]”hŒ Parameters”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj%ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhj!ubj )�”}”(hhh]”(j)�”}”(hŒG``enum cpuhp_state state`` The state for which the calls are installed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hjFh]”hŒenum cpuhp_state state”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhj@ubj0)�”}”(hhh]”hì)�”}”(hŒ+The state for which the calls are installed”h]”hŒ+The state for which the calls are installed”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j[h´Mhj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j[h´Mhj=ubj)�”}”(hŒI``const char *name`` Name of the callback (will be used in debug output) ”h]”(j)�”}”(hŒ``const char *name``”h]”j)�”}”(hjh]”hŒconst char *name”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhjyubj0)�”}”(hhh]”hì)�”}”(hŒ3Name of the callback (will be used in debug output)”h]”hŒ3Name of the callback (will be used in debug output)”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j”h´Mhj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j”h´Mhj=ubj)�”}”(hŒW``int (*startup)(unsigned int cpu)`` startup callback function or NULL if not required ”h]”(j)�”}”(hŒ$``int (*startup)(unsigned int cpu)``”h]”j)�”}”(hj¸h]”hŒ int (*startup)(unsigned int cpu)”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhj²ubj0)�”}”(hhh]”hì)�”}”(hŒ1startup callback function or NULL if not required”h]”hŒ1startup callback function or NULL if not required”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jÍh´MhjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jÍh´Mhj=ubj)�”}”(hŒY``int (*teardown)(unsigned int cpu)`` teardown callback function or NULL if not required ”h]”(j)�”}”(hŒ%``int (*teardown)(unsigned int cpu)``”h]”j)�”}”(hjñh]”hŒ!int (*teardown)(unsigned int cpu)”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjïubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhjëubj0)�”}”(hhh]”hì)�”}”(hŒ2teardown callback function or NULL if not required”h]”hŒ2teardown callback function or NULL if not required”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjëubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jh´Mhj=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj!ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hj,h]”hŒ Description”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M hj!ubhì)�”}”(hŒ�Installs the callback functions and invokes the **startup** callback on the online cpus which have already reached the **state**.”h]”(hŒ0Installs the callback functions and invokes the ”…”�”}”(hjBh²hh³Nh´Nubjò)�”}”(hŒ **startup**”h]”hŒstartup”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjBubhŒ< callback on the online cpus which have already reached the ”…”�”}”(hjBh²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjBubhŒ.”…”�”}”(hjBh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M hj!ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ)cpuhp_setup_state_cpuslocked (C function)”Œc.cpuhp_setup_state_cpuslocked”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒ�int cpuhp_setup_state_cpuslocked (enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”j.)�”}”(hŒ�int cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj‘h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj‘h²hh³j£h´MubjW)�”}”(hŒcpuhp_setup_state_cpuslocked”h]”j])�”}”(hŒcpuhp_setup_state_cpuslocked”h]”hŒcpuhp_setup_state_cpuslocked”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj²ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj‘h²hh³j£h´Mubjv)�”}”(hŒo(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjÎubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjÎubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjíubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jòŒmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºj¸sbŒc.cpuhp_setup_state_cpuslocked”†”asbuh1hhjÎubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjÎubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjÎubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÊubj|)�”}”(hŒconst char *name”h]”(j‚)�”}”(hjõh]”hŒconst”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hj3ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj3ubj4)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj3ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj3ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj3ubj])�”}”(hŒname”h]”hŒname”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj3ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÊubj|)�”}”(hŒ int (*startup)(unsigned int cpu)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj�ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj�ubj,)�”}”(hjrh]”hŒ(”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj�ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj�ubj])�”}”(hŒstartup”h]”hŒstartup”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj�ubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj�ubj,)�”}”(hjrh]”hŒ(”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj�ubj4)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj�ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj�ubj4)�”}”(hŒint”h]”hŒint”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj�ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj�ubj])�”}”(hŒcpu”h]”hŒcpu”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj�ubj,)�”}”(hj›h]”hŒ)”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj�ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÊubj|)�”}”(hŒ!int (*teardown)(unsigned int cpu)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjLubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjLubj,)�”}”(hjrh]”hŒ(”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjLubj,)�”}”(hj“h]”hŒ*”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjLubj])�”}”(hŒteardown”h]”hŒteardown”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjLubj,)�”}”(hj›h]”hŒ)”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjLubj,)�”}”(hjrh]”hŒ(”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjLubj4)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjLubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjLubj4)�”}”(hŒint”h]”hŒint”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjLubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjLubj])�”}”(hŒcpu”h]”hŒcpu”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjLubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjLubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÊubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj‘h²hh³j£h´Mubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhj�h²hh³j£h´Mubah}”(h]”jˆah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³j£h´MhjŠh²hubjå)�”}”(hhh]”hì)�”}”(hŒcSetup hotplug state callbacks with calling **startup** callback from a cpus_read_lock() held region”h]”(hŒ+Setup hotplug state callbacks with calling ”…”�”}”(hjh²hh³Nh´Nubjò)�”}”(hŒ **startup**”h]”hŒstartup”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjubhŒ- callback from a cpus_read_lock() held region”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhjh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjŠh²hh³j£h´Mubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jjGjjGj‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hXÓ**Parameters** ``enum cpuhp_state state`` The state for which the calls are installed ``const char *name`` Name of the callback (will be used in debug output) ``int (*startup)(unsigned int cpu)`` startup callback function or NULL if not required ``int (*teardown)(unsigned int cpu)`` teardown callback function or NULL if not required **Description** Same as cpuhp_setup_state() except that it must be invoked from within a cpus_read_lock() held region.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hjQh]”hŒ Parameters”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjOubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MhjKubj )�”}”(hhh]”(j)�”}”(hŒG``enum cpuhp_state state`` The state for which the calls are installed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hjph]”hŒenum cpuhp_state state”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjnubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhjjubj0)�”}”(hhh]”hì)�”}”(hŒ+The state for which the calls are installed”h]”hŒ+The state for which the calls are installed”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j…h´Mhj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j…h´Mhjgubj)�”}”(hŒI``const char *name`` Name of the callback (will be used in debug output) ”h]”(j)�”}”(hŒ``const char *name``”h]”j)�”}”(hj©h]”hŒconst char *name”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhj£ubj0)�”}”(hhh]”hì)�”}”(hŒ3Name of the callback (will be used in debug output)”h]”hŒ3Name of the callback (will be used in debug output)”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j¾h´Mhj¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj£ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j¾h´Mhjgubj)�”}”(hŒW``int (*startup)(unsigned int cpu)`` startup callback function or NULL if not required ”h]”(j)�”}”(hŒ$``int (*startup)(unsigned int cpu)``”h]”j)�”}”(hjâh]”hŒ int (*startup)(unsigned int cpu)”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjàubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MhjÜubj0)�”}”(hhh]”hì)�”}”(hŒ1startup callback function or NULL if not required”h]”hŒ1startup callback function or NULL if not required”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j÷h´Mhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j÷h´Mhjgubj)�”}”(hŒY``int (*teardown)(unsigned int cpu)`` teardown callback function or NULL if not required ”h]”(j)�”}”(hŒ%``int (*teardown)(unsigned int cpu)``”h]”j)�”}”(hjh]”hŒ!int (*teardown)(unsigned int cpu)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mhjubj0)�”}”(hhh]”hì)�”}”(hŒ2teardown callback function or NULL if not required”h]”hŒ2teardown callback function or NULL if not required”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j0h´Mhj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j0h´Mhjgubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjKubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hjVh]”hŒ Description”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjTubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MhjKubhì)�”}”(hŒfSame as cpuhp_setup_state() except that it must be invoked from within a cpus_read_lock() held region.”h]”hŒfSame as cpuhp_setup_state() except that it must be invoked from within a cpus_read_lock() held region.”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”•h´MhjKubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&cpuhp_setup_state_nocalls (C function)”Œc.cpuhp_setup_state_nocalls”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒ�int cpuhp_setup_state_nocalls (enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”j.)�”}”(hŒŒint cpuhp_setup_state_nocalls(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj—h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M+ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj—h²hh³j©h´M+ubjW)�”}”(hŒcpuhp_setup_state_nocalls”h]”j])�”}”(hŒcpuhp_setup_state_nocalls”h]”hŒcpuhp_setup_state_nocalls”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj¸ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj—h²hh³j©h´M+ubjv)�”}”(hŒo(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjÔubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjÔubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjóubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jøŒmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºj¾sbŒc.cpuhp_setup_state_nocalls”†”asbuh1hhjÔubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjÔubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjÔubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÐubj|)�”}”(hŒconst char *name”h]”(j‚)�”}”(hjõh]”hŒconst”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hj9ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj9ubj4)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj9ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj9ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj9ubj])�”}”(hŒname”h]”hŒname”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj9ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÐubj|)�”}”(hŒ int (*startup)(unsigned int cpu)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj–ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj–ubj,)�”}”(hjrh]”hŒ(”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj–ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj–ubj])�”}”(hŒstartup”h]”hŒstartup”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj–ubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj–ubj,)�”}”(hjrh]”hŒ(”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj–ubj4)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj–ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj–ubj4)�”}”(hŒint”h]”hŒint”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj–ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj–ubj])�”}”(hŒcpu”h]”hŒcpu”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj–ubj,)�”}”(hj›h]”hŒ)”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj–ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÐubj|)�”}”(hŒ!int (*teardown)(unsigned int cpu)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjRubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjRubj,)�”}”(hjrh]”hŒ(”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjRubj,)�”}”(hj“h]”hŒ*”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjRubj])�”}”(hŒteardown”h]”hŒteardown”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjRubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjRubj,)�”}”(hjrh]”hŒ(”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjRubj4)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjRubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjRubj4)�”}”(hŒint”h]”hŒint”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjRubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjRubj])�”}”(hŒcpu”h]”hŒcpu”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjRubj,)�”}”(hj›h]”hŒ)”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjRubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÐubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj—h²hh³j©h´M+ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhj“h²hh³j©h´M+ubah}”(h]”jŽah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³j©h´M+hj�h²hubjå)�”}”(hhh]”hì)�”}”(hŒFSetup hotplug state callbacks without calling the **startup** callback”h]”(hŒ2Setup hotplug state callbacks without calling the ”…”�”}”(hj#h²hh³Nh´Nubjò)�”}”(hŒ **startup**”h]”hŒstartup”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj#ubhŒ callback”…”�”}”(hj#h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M+hj h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj�h²hh³j©h´M+ubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jjMjjMj‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hXÒ**Parameters** ``enum cpuhp_state state`` The state for which the calls are installed ``const char *name`` Name of the callback. ``int (*startup)(unsigned int cpu)`` startup callback function or NULL if not required ``int (*teardown)(unsigned int cpu)`` teardown callback function or NULL if not required **Description** Same as cpuhp_setup_state() except that the **startup** callback is not invoked during installation. NOP if SMP=n or HOTPLUG_CPU=n.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hjWh]”hŒ Parameters”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjUubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M/hjQubj )�”}”(hhh]”(j)�”}”(hŒG``enum cpuhp_state state`` The state for which the calls are installed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hjvh]”hŒenum cpuhp_state state”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M-hjpubj0)�”}”(hhh]”hì)�”}”(hŒ+The state for which the calls are installed”h]”hŒ+The state for which the calls are installed”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j‹h´M-hjŒubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j‹h´M-hjmubj)�”}”(hŒ+``const char *name`` Name of the callback. ”h]”(j)�”}”(hŒ``const char *name``”h]”j)�”}”(hj¯h]”hŒconst char *name”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M.hj©ubj0)�”}”(hhh]”hì)�”}”(hŒName of the callback.”h]”hŒName of the callback.”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jÄh´M.hjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj©ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jÄh´M.hjmubj)�”}”(hŒW``int (*startup)(unsigned int cpu)`` startup callback function or NULL if not required ”h]”(j)�”}”(hŒ$``int (*startup)(unsigned int cpu)``”h]”j)�”}”(hjèh]”hŒ int (*startup)(unsigned int cpu)”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M/hjâubj0)�”}”(hhh]”hì)�”}”(hŒ1startup callback function or NULL if not required”h]”hŒ1startup callback function or NULL if not required”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jýh´M/hjþubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjâubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jýh´M/hjmubj)�”}”(hŒY``int (*teardown)(unsigned int cpu)`` teardown callback function or NULL if not required ”h]”(j)�”}”(hŒ%``int (*teardown)(unsigned int cpu)``”h]”j)�”}”(hj! h]”hŒ!int (*teardown)(unsigned int cpu)”…”�”}”(hj# h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M0hj ubj0)�”}”(hhh]”hì)�”}”(hŒ2teardown callback function or NULL if not required”h]”hŒ2teardown callback function or NULL if not required”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j6 h´M0hj7 ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j6 h´M0hjmubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjQubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hj\ h]”hŒ Description”…”�”}”(hj^ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjZ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M2hjQubhì)�”}”(hŒƒSame as cpuhp_setup_state() except that the **startup** callback is not invoked during installation. NOP if SMP=n or HOTPLUG_CPU=n.”h]”(hŒ,Same as cpuhp_setup_state() except that the ”…”�”}”(hjr h²hh³Nh´Nubjò)�”}”(hŒ **startup**”h]”hŒstartup”…”�”}”(hjz h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjr ubhŒL callback is not invoked during installation. NOP if SMP=n or HOTPLUG_CPU=n.”…”�”}”(hjr h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M1hjQubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ1cpuhp_setup_state_nocalls_cpuslocked (C function)”Œ&c.cpuhp_setup_state_nocalls_cpuslocked”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒ˜int cpuhp_setup_state_nocalls_cpuslocked (enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”j.)�”}”(hŒ—int cpuhp_setup_state_nocalls_cpuslocked(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj³ h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj¯ h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M?ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj¯ h²hh³jÁ h´M?ubjW)�”}”(hŒ$cpuhp_setup_state_nocalls_cpuslocked”h]”j])�”}”(hŒ$cpuhp_setup_state_nocalls_cpuslocked”h]”hŒ$cpuhp_setup_state_nocalls_cpuslocked”…”�”}”(hjÔ h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjÐ ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj¯ h²hh³jÁ h´M?ubjv)�”}”(hŒo(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjð h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjì ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjý h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjì ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj !ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j!Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºjÖ sbŒ&c.cpuhp_setup_state_nocalls_cpuslocked”†”asbuh1hhjì ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj.!h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjì ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj``int (*teardown)(unsigned int cpu, struct hlist_node *node)``”h]”j)�”}”(hj/)h]”hŒ:int (*teardown)(unsigned int cpu, struct hlist_node *node)”…”�”}”(hj1)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj-)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MYhj))ubj0)�”}”(hhh]”hì)�”}”(hŒ2teardown callback function or NULL if not required”h]”hŒ2teardown callback function or NULL if not required”…”�”}”(hjH)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jD)h´MYhjE)ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj))ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jD)h´MYhj{(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj_(ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hjj)h]”hŒ Description”…”�”}”(hjl)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjh)ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M[hj_(ubhì)�”}”(hXSets the internal multi_instance flag and prepares a state to work as a multi instance callback. No callbacks are invoked at this point. The callbacks are invoked once an instance for this state are registered via cpuhp_state_add_instance() or cpuhp_state_add_instance_nocalls()”h]”hXSets the internal multi_instance flag and prepares a state to work as a multi instance callback. No callbacks are invoked at this point. The callbacks are invoked once an instance for this state are registered via cpuhp_state_add_instance() or cpuhp_state_add_instance_nocalls()”…”�”}”(hj€)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MZhj_(ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ%cpuhp_state_add_instance (C function)”Œc.cpuhp_state_add_instance”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒNint cpuhp_state_add_instance (enum cpuhp_state state, struct hlist_node *node)”h]”j.)�”}”(hŒMint cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj¯)h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj«)h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MrubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¾)h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj«)h²hh³j½)h´MrubjW)�”}”(hŒcpuhp_state_add_instance”h]”j])�”}”(hŒcpuhp_state_add_instance”h]”hŒcpuhp_state_add_instance”…”�”}”(hjÐ)h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjÌ)ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj«)h²hh³j½)h´Mrubjv)�”}”(hŒ1(enum cpuhp_state state, struct hlist_node *node)”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjì)h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjè)ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjù)h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjè)ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj *h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj*ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j *Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºjÒ)sbŒc.cpuhp_state_add_instance”†”asbuh1hhjè)ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj**h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjè)ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj8*h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjè)ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjä)ubj|)�”}”(hŒstruct hlist_node *node”h]”(j‚)�”}”(hjz&h]”hŒstruct”…”�”}”(hjQ*h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjM*ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj^*h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjM*ubh)�”}”(hhh]”j])�”}”(hŒ hlist_node”h]”hŒ hlist_node”…”�”}”(hjo*h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjl*ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jq*Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”j&*Œc.cpuhp_state_add_instance”†”asbuh1hhjM*ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�*h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjM*ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj›*h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjM*ubj])�”}”(hŒnode”h]”hŒnode”…”�”}”(hj¨*h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjM*ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjä)ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj«)h²hh³j½)h´Mrubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhj§)h²hh³j½)h´Mrubah}”(h]”j¢)ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³j½)h´Mrhj¤)h²hubjå)�”}”(hhh]”hì)�”}”(hŒ8Add an instance for a state and invoke startup callback.”h]”hŒ8Add an instance for a state and invoke startup callback.”…”�”}”(hjÒ*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MrhjÏ*h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj¤)h²hh³j½)h´Mrubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jjê*jjê*j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hXœ**Parameters** ``enum cpuhp_state state`` The state for which the instance is installed ``struct hlist_node *node`` The node for this individual state. **Description** Installs the instance for the **state** and invokes the registered startup callback on the online cpus which have already reached the **state**. The **state** must have been earlier marked as multi-instance by cpuhp_setup_state_multi().”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hjô*h]”hŒ Parameters”…”�”}”(hjö*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjò*ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mvhjî*ubj )�”}”(hhh]”(j)�”}”(hŒI``enum cpuhp_state state`` The state for which the instance is installed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hj+h]”hŒenum cpuhp_state state”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mthj +ubj0)�”}”(hhh]”hì)�”}”(hŒ-The state for which the instance is installed”h]”hŒ-The state for which the instance is installed”…”�”}”(hj,+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j(+h´Mthj)+ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj +ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j(+h´Mthj +ubj)�”}”(hŒ@``struct hlist_node *node`` The node for this individual state. ”h]”(j)�”}”(hŒ``struct hlist_node *node``”h]”j)�”}”(hjL+h]”hŒstruct hlist_node *node”…”�”}”(hjN+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjJ+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MuhjF+ubj0)�”}”(hhh]”hì)�”}”(hŒ#The node for this individual state.”h]”hŒ#The node for this individual state.”…”�”}”(hje+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³ja+h´Muhjb+ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjF+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³ja+h´Muhj +ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjî*ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hj‡+h]”hŒ Description”…”�”}”(hj‰+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj…+ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mwhjî*ubhì)�”}”(hŒìInstalls the instance for the **state** and invokes the registered startup callback on the online cpus which have already reached the **state**. The **state** must have been earlier marked as multi-instance by cpuhp_setup_state_multi().”h]”(hŒInstalls the instance for the ”…”�”}”(hj�+h²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hj¥+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj�+ubhŒ_ and invokes the registered startup callback on the online cpus which have already reached the ”…”�”}”(hj�+h²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hj·+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj�+ubhŒ. The ”…”�”}”(hj�+h²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hjÉ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj�+ubhŒN must have been earlier marked as multi-instance by cpuhp_setup_state_multi().”…”�”}”(hj�+h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mvhjî*ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-cpuhp_state_add_instance_nocalls (C function)”Œ"c.cpuhp_state_add_instance_nocalls”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒVint cpuhp_state_add_instance_nocalls (enum cpuhp_state state, struct hlist_node *node)”h]”j.)�”}”(hŒUint cpuhp_state_add_instance_nocalls(enum cpuhp_state state, struct hlist_node *node)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjþ+h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MƒubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjþ+h²hh³j,h´MƒubjW)�”}”(hŒ cpuhp_state_add_instance_nocalls”h]”j])�”}”(hŒ cpuhp_state_add_instance_nocalls”h]”hŒ cpuhp_state_add_instance_nocalls”…”�”}”(hj#,h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj,ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhjþ+h²hh³j,h´Mƒubjv)�”}”(hŒ1(enum cpuhp_state state, struct hlist_node *node)”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hj?,h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hj;,ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjL,h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj;,ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj],h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjZ,ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j_,Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºj%,sbŒ"c.cpuhp_state_add_instance_nocalls”†”asbuh1hhj;,ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj},h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj;,ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj‹,h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj;,ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hj7,ubj|)�”}”(hŒstruct hlist_node *node”h]”(j‚)�”}”(hjz&h]”hŒstruct”…”�”}”(hj¤,h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hj ,ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj±,h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj ,ubh)�”}”(hhh]”j])�”}”(hŒ hlist_node”h]”hŒ hlist_node”…”�”}”(hjÂ,h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj¿,ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jÄ,Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jy,Œ"c.cpuhp_state_add_instance_nocalls”†”asbuh1hhj ,ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjà,h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj ,ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hjî,h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hj ,ubj])�”}”(hŒnode”h]”hŒnode”…”�”}”(hjû,h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj ,ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hj7,ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhjþ+h²hh³j,h´Mƒubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhjú+h²hh³j,h´Mƒubah}”(h]”jõ+ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³j,h´Mƒhj÷+h²hubjå)�”}”(hhh]”hì)�”}”(hŒBAdd an instance for a state without invoking the startup callback.”h]”hŒBAdd an instance for a state without invoking the startup callback.”…”�”}”(hj%-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mƒhj"-h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj÷+h²hh³j,h´Mƒubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jj=-jj=-j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hXQ**Parameters** ``enum cpuhp_state state`` The state for which the instance is installed ``struct hlist_node *node`` The node for this individual state. **Description** Installs the instance for the **state**. The **state** must have been earlier marked as multi-instance by cpuhp_setup_state_multi. NOP if SMP=n or HOTPLUG_CPU=n.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hjG-h]”hŒ Parameters”…”�”}”(hjI-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjE-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M‡hjA-ubj )�”}”(hhh]”(j)�”}”(hŒI``enum cpuhp_state state`` The state for which the instance is installed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hjf-h]”hŒenum cpuhp_state state”…”�”}”(hjh-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjd-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M…hj`-ubj0)�”}”(hhh]”hì)�”}”(hŒ-The state for which the instance is installed”h]”hŒ-The state for which the instance is installed”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j{-h´M…hj|-ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj`-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j{-h´M…hj]-ubj)�”}”(hŒ@``struct hlist_node *node`` The node for this individual state. ”h]”(j)�”}”(hŒ``struct hlist_node *node``”h]”j)�”}”(hjŸ-h]”hŒstruct hlist_node *node”…”�”}”(hj¡-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M†hj™-ubj0)�”}”(hhh]”hì)�”}”(hŒ#The node for this individual state.”h]”hŒ#The node for this individual state.”…”�”}”(hj¸-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j´-h´M†hjµ-ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj™-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j´-h´M†hj]-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjA-ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hjÚ-h]”hŒ Description”…”�”}”(hjÜ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjØ-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MˆhjA-ubhì)�”}”(hŒ¡Installs the instance for the **state**. The **state** must have been earlier marked as multi-instance by cpuhp_setup_state_multi. NOP if SMP=n or HOTPLUG_CPU=n.”h]”(hŒInstalls the instance for the ”…”�”}”(hjð-h²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hjø-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjð-ubhŒ. The ”…”�”}”(hjð-h²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hj .h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjð-ubhŒk must have been earlier marked as multi-instance by cpuhp_setup_state_multi. NOP if SMP=n or HOTPLUG_CPU=n.”…”�”}”(hjð-h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M‡hjA-ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ8cpuhp_state_add_instance_nocalls_cpuslocked (C function)”Œ-c.cpuhp_state_add_instance_nocalls_cpuslocked”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒaint cpuhp_state_add_instance_nocalls_cpuslocked (enum cpuhp_state state, struct hlist_node *node)”h]”j.)�”}”(hŒ`int cpuhp_state_add_instance_nocalls_cpuslocked(enum cpuhp_state state, struct hlist_node *node)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjC.h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj?.h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M“ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjR.h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj?.h²hh³jQ.h´M“ubjW)�”}”(hŒ+cpuhp_state_add_instance_nocalls_cpuslocked”h]”j])�”}”(hŒ+cpuhp_state_add_instance_nocalls_cpuslocked”h]”hŒ+cpuhp_state_add_instance_nocalls_cpuslocked”…”�”}”(hjd.h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj`.ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj?.h²hh³jQ.h´M“ubjv)�”}”(hŒ1(enum cpuhp_state state, struct hlist_node *node)”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hj€.h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hj|.ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�.h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj|.ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hjž.h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj›.ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j .Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºjf.sbŒ-c.cpuhp_state_add_instance_nocalls_cpuslocked”†”asbuh1hhj|.ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¾.h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj|.ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hjÌ.h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj|.ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjx.ubj|)�”}”(hŒstruct hlist_node *node”h]”(j‚)�”}”(hjz&h]”hŒstruct”…”�”}”(hjå.h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjá.ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjò.h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjá.ubh)�”}”(hhh]”j])�”}”(hŒ hlist_node”h]”hŒ hlist_node”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj/ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j/Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jº.Œ-c.cpuhp_state_add_instance_nocalls_cpuslocked”†”asbuh1hhjá.ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj!/h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjá.ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj//h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjá.ubj])�”}”(hŒnode”h]”hŒnode”…”�”}”(hj2ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jC2Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºj 2sbŒc.cpuhp_remove_state_nocalls”†”asbuh1hhj2ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hja2h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj2ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hjo2h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj2ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hj2ubah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhjâ1h²hh³jô1h´M´ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhjÞ1h²hh³jô1h´M´ubah}”(h]”jÙ1ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³jô1h´M´hjÛ1h²hubjå)�”}”(hhh]”hì)�”}”(hŒERemove hotplug state callbacks without invoking the teardown callback”h]”hŒERemove hotplug state callbacks without invoking the teardown callback”…”�”}”(hj™2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M´hj–2h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjÛ1h²hh³jô1h´M´ubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jj±2jj±2j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hŒV**Parameters** ``enum cpuhp_state state`` The state for which the calls are removed”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hj»2h]”hŒ Parameters”…”�”}”(hj½2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj¹2ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M¸hjµ2ubj )�”}”(hhh]”j)�”}”(hŒD``enum cpuhp_state state`` The state for which the calls are removed”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hjÚ2h]”h•afŒenum cpuhp_state state”…”�”}”(hjÜ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjØ2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MºhjÔ2ubj0)�”}”(hhh]”hì)�”}”(hŒ)The state for which the calls are removed”h]”hŒ)The state for which the calls are removed”…”�”}”(hjó2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M¶hjð2ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÔ2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jï2h´MºhjÑ2ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjµ2ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ2cpuhp_remove_state_nocalls_cpuslocked (C function)”Œ'c.cpuhp_remove_state_nocalls_cpuslocked”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒCvoid cpuhp_remove_state_nocalls_cpuslocked (enum cpuhp_state state)”h]”j.)�”}”(hŒBvoid cpuhp_remove_state_nocalls_cpuslocked(enum cpuhp_state state)”h]”(j4)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj43h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj03h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M¾ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjC3h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj03h²hh³jB3h´M¾ubjW)�”}”(hŒ%cpuhp_remove_state_nocalls_cpuslocked”h]”j])�”}”(hŒ%cpuhp_remove_state_nocalls_cpuslocked”h]”hŒ%cpuhp_remove_state_nocalls_cpuslocked”…”�”}”(hjU3h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjQ3ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj03h²hh³jB3h´M¾ubjv)�”}”(hŒ(enum cpuhp_state state)”h]”j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjq3h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjm3ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj~3h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjm3ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj�3h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjŒ3ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j‘3Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºjW3sbŒ'c.cpuhp_remove_state_nocalls_cpuslocked”†”asbuh1hhjm3ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¯3h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjm3ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj½3h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjm3ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hji3ubah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj03h²hh³jB3h´M¾ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhj,3h²hh³jB3h´M¾ubah}”(h]”j'3ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³jB3h´M¾hj)3h²hubjå)�”}”(hhh]”hì)�”}”(hŒ]Remove hotplug state callbacks without invoking teardown from a cpus_read_lock() held region.”h]”hŒ]Remove hotplug state callbacks without invoking teardown from a cpus_read_lock() held region.”…”�”}”(hjç3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´M¾hjä3h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj)3h²hh³jB3h´M¾ubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jjÿ3jjÿ3j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hŒØ**Parameters** ``enum cpuhp_state state`` The state for which the calls are removed **Description** Same as cpuhp_remove_state nocalls() except that it must be invoked from within a cpus_read_lock() held region.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hj 4h]”hŒ Parameters”…”�”}”(hj 4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÂhj4ubj )�”}”(hhh]”j)�”}”(hŒE``enum cpuhp_state state`` The state for which the calls are removed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hj(4h]”hŒenum cpuhp_state state”…”�”}”(hj*4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj&4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÀhj"4ubj0)�”}”(hhh]”hì)�”}”(hŒ)The state for which the calls are removed”h]”hŒ)The state for which the calls are removed”…”�”}”(hjA4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j=4h´MÀhj>4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj"4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j=4h´MÀhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj4ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hjc4h]”hŒ Description”…”�”}”(hje4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhja4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÂhj4ubhì)�”}”(hŒoSame as cpuhp_remove_state nocalls() except that it must be invoked from within a cpus_read_lock() held region.”h]”hŒoSame as cpuhp_remove_state nocalls() except that it must be invoked from within a cpus_read_lock() held region.”…”�”}”(hjy4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÁhj4ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ%cpuhp_remove_multi_state (C function)”Œc.cpuhp_remove_multi_state”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒ6void cpuhp_remove_multi_state (enum cpuhp_state state)”h]”j.)�”}”(hŒ5void cpuhp_remove_multi_state(enum cpuhp_state state)”h]”(j4)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj¨4h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj¤4h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MËubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj·4h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj¤4h²hh³j¶4h´MËubjW)�”}”(hŒcpuhp_remove_multi_state”h]”j])�”}”(hŒcpuhp_remove_multi_state”h]”hŒcpuhp_remove_multi_state”…”�”}”(hjÉ4h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjÅ4ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj¤4h²hh³j¶4h´MËubjv)�”}”(hŒ(enum cpuhp_state state)”h]”j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjå4h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjá4ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjò4h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjá4ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj5ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j5Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºjË4sbŒc.cpuhp_remove_multi_state”†”asbuh1hhjá4ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj#5h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjá4ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj15h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjá4ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjÝ4ubah}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj¤4h²hh³j¶4h´MËubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhj 4h²hh³j¶4h´MËubah}”(h]”j›4ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³j¶4h´MËhj�4h²hubjå)�”}”(hhh]”hì)�”}”(hŒ#Remove hotplug multi state callback”h]”hŒ#Remove hotplug multi state callback”…”�”}”(hj[5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MËhjX5h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj�4h²hh³j¶4h´MËubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jjs5jjs5j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hX**Parameters** ``enum cpuhp_state state`` The state for which the calls are removed **Description** Removes the callback functions from a multi state. This is the reverse of cpuhp_setup_state_multi(). All instances should have been removed before invoking this function.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hj}5h]”hŒ Parameters”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj{5ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÏhjw5ubj )�”}”(hhh]”j)�”}”(hŒE``enum cpuhp_state state`` The state for which the calls are removed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hjœ5h]”hŒenum cpuhp_state state”…”�”}”(hjž5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjš5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÌhj–5ubj0)�”}”(hhh]”hì)�”}”(hŒ)The state for which the calls are removed”h]”hŒ)The state for which the calls are removed”…”�”}”(hjµ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j±5h´MÌhj²5ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj–5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j±5h´MÌhj“5ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjw5ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hj×5h]”hŒ Description”…”�”}”(hjÙ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjÕ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÎhjw5ubhì)�”}”(hŒªRemoves the callback functions from a multi state. This is the reverse of cpuhp_setup_state_multi(). All instances should have been removed before invoking this function.”h]”hŒªRemoves the callback functions from a multi state. This is the reverse of cpuhp_setup_state_multi(). All instances should have been removed before invoking this function.”…”�”}”(hjí5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÍhjw5ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(cpuhp_state_remove_instance (C function)”Œc.cpuhp_state_remove_instance”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒQint cpuhp_state_remove_instance (enum cpuhp_state state, struct hlist_node *node)”h]”j.)�”}”(hŒPint cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hj6h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÛubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj+6h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj6h²hh³j*6h´MÛubjW)�”}”(hŒcpuhp_state_remove_instance”h]”j])�”}”(hŒcpuhp_state_remove_instance”h]”hŒcpuhp_state_remove_instance”…”�”}”(hj=6h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj96ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhj6h²hh³j*6h´MÛubjv)�”}”(hŒ1(enum cpuhp_state state, struct hlist_node *node)”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjY6h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjU6ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjf6h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjU6ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hjw6h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjt6ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jy6Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºj?6sbŒc.cpuhp_state_remove_instance”†”asbuh1hhjU6ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj—6h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjU6ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hj¥6h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjU6ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjQ6ubj|)�”}”(hŒstruct hlist_node *node”h]”(j‚)�”}”(hjz&h]”hŒstruct”…”�”}”(hj¾6h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjº6ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjË6h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjº6ubh)�”}”(hhh]”j])�”}”(hŒ hlist_node”h]”hŒ hlist_node”…”�”}”(hjÜ6h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjÙ6ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”jÞ6Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”j“6Œc.cpuhp_state_remove_instance”†”asbuh1hhjº6ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjú6h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjº6ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjº6ubj])�”}”(hŒnode”h]”hŒnode”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjº6ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hjQ6ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhj6h²hh³j*6h´MÛubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhj6h²hh³j*6h´MÛubah}”(h]”j6ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³j*6h´MÛhj6h²hubjå)�”}”(hhh]”hì)�”}”(hŒCRemove hotplug instance from state and invoke the teardown callback”h]”hŒCRemove hotplug instance from state and invoke the teardown callback”…”�”}”(hj?7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÛhj<7h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj6h²hh³j*6h´MÛubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jjW7jjW7j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hX**Parameters** ``enum cpuhp_state state`` The state from which the instance is removed ``struct hlist_node *node`` The node for this individual state. **Description** Removes the instance and invokes the teardown callback on the online cpus which have already reached **state**.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hja7h]”hŒ Parameters”…”�”}”(hjc7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj_7ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mßhj[7ubj )�”}”(hhh]”(j)�”}”(hŒH``enum cpuhp_state state`` The state from which the instance is removed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hj€7h]”hŒenum cpuhp_state state”…”�”}”(hj‚7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj~7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÝhjz7ubj0)�”}”(hhh]”hì)�”}”(hŒ,The state from which the instance is removed”h]”hŒ,The state from which the instance is removed”…”�”}”(hj™7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³j•7h´MÝhj–7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjz7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³j•7h´MÝhjw7ubj)�”}”(hŒ@``struct hlist_node *node`` The node for this individual state. ”h]”(j)�”}”(hŒ``struct hlist_node *node``”h]”j)�”}”(hj¹7h]”hŒstruct hlist_node *node”…”�”}”(hj»7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj·7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MÞhj³7ubj0)�”}”(hhh]”hì)�”}”(hŒ#The node for this individual state.”h]”hŒ#The node for this individual state.”…”�”}”(hjÒ7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jÎ7h´MÞhjÏ7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj³7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jÎ7h´MÞhjw7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hj[7ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hjô7h]”hŒ Description”…”�”}”(hjö7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjò7ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Màhj[7ubhì)�”}”(hŒoRemoves the instance and invokes the teardown callback on the online cpus which have already reached **state**.”h]”(hŒeRemoves the instance and invokes the teardown callback on the online cpus which have already reached ”…”�”}”(hj 8h²hh³Nh´Nubjò)�”}”(hŒ **state**”h]”hŒstate”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj 8ubhŒ.”…”�”}”(hj 8h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mßhj[7ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1jhjh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ0cpuhp_state_remove_instance_nocalls (C function)”Œ%c.cpuhp_state_remove_instance_nocalls”hNt”auh1jhjh²hh³Nh´Nubj#)�”}”(hhh]”(j()�”}”(hŒYint cpuhp_state_remove_instance_nocalls (enum cpuhp_state state, struct hlist_node *node)”h]”j.)�”}”(hŒXint cpuhp_state_remove_instance_nocalls(enum cpuhp_state state, struct hlist_node *node)”h]”(j4)�”}”(hŒint”h]”hŒint”…”�”}”(hjK8h²hh³Nh´Nubah}”(h]”h ]”j@ah"]”h$]”h&]”uh1j3hjG8h²hh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MêubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjZ8h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjG8h²hh³jY8h´MêubjW)�”}”(hŒ#cpuhp_state_remove_instance_nocalls”h]”j])�”}”(hŒ#cpuhp_state_remove_instance_nocalls”h]”hŒ#cpuhp_state_remove_instance_nocalls”…”�”}”(hjl8h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjh8ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”j·j¸uh1jVhjG8h²hh³jY8h´Mêubjv)�”}”(hŒ1(enum cpuhp_state state, struct hlist_node *node)”h]”(j|)�”}”(hŒenum cpuhp_state state”h]”(j‚)�”}”(hj…h]”hŒenum”…”�”}”(hjˆ8h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hj„8ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj•8h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj„8ubh)�”}”(hhh]”j])�”}”(hŒ cpuhp_state”h]”hŒ cpuhp_state”…”�”}”(hj¦8h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj£8ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j¨8Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÇ)�”}”jºjn8sbŒ%c.cpuhp_state_remove_instance_nocalls”†”asbuh1hhj„8ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÆ8h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhj„8ubj])�”}”(hŒstate”h]”hŒstate”…”�”}”(hjÔ8h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj„8ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hj€8ubj|)�”}”(hŒstruct hlist_node *node”h]”(j‚)�”}”(hjz&h]”hŒstruct”…”�”}”(hjí8h²hh³Nh´Nubah}”(h]”h ]”jŽah"]”h$]”h&]”uh1j�hjé8ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjú8h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjé8ubh)�”}”(hhh]”j])�”}”(hŒ hlist_node”h]”hŒ hlist_node”…”�”}”(hj 9h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hj9ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”j¸Œreftype”jºŒ reftarget”j 9Œmodname”NŒ classname”Nj¾jÁ)�”}”jÄ]”jÂ8Œ%c.cpuhp_state_remove_instance_nocalls”†”asbuh1hhjé8ubjF)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj)9h²hh³Nh´Nubah}”(h]”h ]”jRah"]”h$]”h&]”uh1jEhjé8ubj,)�”}”(hj“h]”hŒ*”…”�”}”(hj79h²hh³Nh´Nubah}”(h]”h ]”j7ah"]”h$]”h&]”uh1j+hjé8ubj])�”}”(hŒnode”h]”hŒnode”…”�”}”(hjD9h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j\hjé8ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj·j¸uh1j{hj€8ubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸uh1juhjG8h²hh³jY8h´Mêubeh}”(h]”h ]”h"]”h$]”h&]”j·j¸jÖˆuh1j-j×jØhjC8h²hh³jY8h´Mêubah}”(h]”j>8ah ]”(jÜjÝeh"]”h$]”h&]”jáˆjâ)jãhuh1j'h³jY8h´Mêhj@8h²hubjå)�”}”(hhh]”hì)�”}”(hŒIRemove hotplug instance from state without invoking the teardown callback”h]”hŒIRemove hotplug instance from state without invoking the teardown callback”…”�”}”(hjn9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mêhjk9h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj@8h²hh³jY8h´Mêubeh}”(h]”h ]”(j¸Œfunction”eh"]”h$]”h&]”jj¸jj†9jj†9j‰j‰j‰uh1j"h²hhjh³Nh´Nubj )�”}”(hŒë**Parameters** ``enum cpuhp_state state`` The state from which the instance is removed ``struct hlist_node *node`` The node for this individual state. **Description** Removes the instance without invoking the teardown callback.”h]”(hì)�”}”(hŒ**Parameters**”h]”jò)�”}”(hj�9h]”hŒ Parameters”…”�”}”(hj’9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŽ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MîhjŠ9ubj )�”}”(hhh]”(j)�”}”(hŒH``enum cpuhp_state state`` The state from which the instance is removed ”h]”(j)�”}”(hŒ``enum cpuhp_state state``”h]”j)�”}”(hj¯9h]”hŒenum cpuhp_state state”…”�”}”(hj±9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj­9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Mìhj©9ubj0)�”}”(hhh]”hì)�”}”(hŒ,The state from which the instance is removed”h]”hŒ,The state from which the instance is removed”…”�”}”(hjÈ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jÄ9h´MìhjÅ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj©9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jÄ9h´Mìhj¦9ubj)�”}”(hŒ@``struct hlist_node *node`` The node for this individual state. ”h]”(j)�”}”(hŒ``struct hlist_node *node``”h]”j)�”}”(hjè9h]”hŒstruct hlist_node *node”…”�”}”(hjê9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjæ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´Míhjâ9ubj0)�”}”(hhh]”hì)�”}”(hŒ#The node for this individual state.”h]”hŒ#The node for this individual state.”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³jý9h´Míhjþ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjâ9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³jý9h´Míhj¦9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjŠ9ubhì)�”}”(hŒ**Description**”h]”jò)�”}”(hj#:h]”hŒ Description”…”�”}”(hj%:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jñhj!:ubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³Œ`/var/lib/git/docbuild/linux/Documentation/core-api/cpu_hotplug:756: ./include/linux/cpuhotplug.h”h´MïhjŠ9ubhì)�”}”(hŒ8jC8uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.