summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMete Durlu <meted@linux.ibm.com>2026-07-23 15:36:43 +0200
committerVasily Gorbik <gor@linux.ibm.com>2026-07-31 13:31:30 +0200
commitfaa39c2eca192c369686a0b8d3b936e9554236ef (patch)
tree0e0fd1589bbdc827d4b6736f258c24fd12a56fb5 /scripts/objdiff
parent753b3873ce4af5c8c73e1a61a998780772ef8324 (diff)
downloadlinux-faa39c2eca192c369686a0b8d3b936e9554236ef.tar.gz
linux-faa39c2eca192c369686a0b8d3b936e9554236ef.zip
s390/smp: Reflect (de)configured CPUs to cpu_enabled_mask
On s390, CPUs can be in a state where it is not possible to hotplug them online before certain prequisite steps. For example the CPUs which get introduced during runtime of a system can posses a "deconfigured" state which prevents them from being hotplugged online before they get configured. Another case is when users set the configured state of CPUs themselves via "chcpu" or sysfs attributes. On s390 available CPUs are being registered as new devices via smp_add_core() either during boot or after a CPU rescan (for newly added CPUs during runtime). Registered CPUs are marked as enabled without considering the configure states. Add necessary checks to smp_add_core() and userspace configure attribute handler. Reflect the configured CPUs to cpu_enabled_mask to correctly represent which CPUs can be hotplugged online. Signed-off-by: Mete Durlu <meted@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions