summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/opal-calls.S
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-06-29 09:12:54 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 06:26:51 +0200
commitdf52f6714071c49a1fb1f541d4c4ff929bd4594d (patch)
tree6433af245d729eaac3a6c38d65c7b1dcd917a6df /arch/powerpc/boot/opal-calls.S
parentpowerpc/smp: Use cpu_to_chip_id() to find core siblings (diff)
downloadlinux-df52f6714071c49a1fb1f541d4c4ff929bd4594d.tar.xz
linux-df52f6714071c49a1fb1f541d4c4ff929bd4594d.zip
powerpc/smp: Rework CPU topology construction
The CPU scheduler topology is constructed from a number of per-cpu cpumasks which describe which sets of logical CPUs are related in some fashion. Current code that handles constructing these masks when CPUs are hot(un)plugged can be simplified a bit by exploiting the fact that the scheduler requires higher levels of the toplogy (e.g package level groupings) to be supersets of the lower levels (e.g. threas in a core). This patch reworks the cpumask construction to be simpler and easier to extend with extra topology levels. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> [mpe: Fix CONFIG_HOTPLUG_CPU=n build] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/boot/opal-calls.S')
0 files changed, 0 insertions, 0 deletions