linux/arch/powerpc/platforms/pseries
Nathan Fontenot 162b8b6aaa powerpc/pseries: Correct cpu affinity for dlpar added cpus
commit f32393c943 upstream.

The incorrect ordering of operations during cpu dlpar add results in invalid
affinity for the cpu being added. The ibm,associativity property in the
device tree is populated with all zeroes for the added cpu which results in
invalid affinity mappings and all cpus appear to belong to node 0.

This occurs because rtas configure-connector is called prior to making the
rtas set-indicator calls. Phyp does not assign affinity information
for a cpu until the rtas set-indicator calls are made to set the isolation
and allocation state.

Correct the order of operations to make the rtas set-indicator
calls (done in dlpar_acquire_drc) before calling rtas configure-connector.

Fixes: 1a8061c46c ("powerpc/pseries: Add kernel based CPU DLPAR handling")

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-05-12 09:36:39 +01:00
..
cmm.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
dlpar.c powerpc/pseries: Correct cpu affinity for dlpar added cpus 2015-05-12 09:36:39 +01:00
dtl.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
eeh_pseries.c powerpc/eeh: Make the delay for PE reset unified 2014-04-28 17:34:48 +10:00
event_sources.c of/irq: simplify args to irq_create_of_mapping 2013-10-24 11:42:57 +01:00
firmware.c powerpc/pseries: Update CPU maps when device tree is updated 2013-04-26 16:08:23 +10:00
hotplug-cpu.c powerpc: Fix Oops in rtas_stop_self() 2014-04-28 13:08:47 +10:00
hotplug-memory.c powerpc/pseries: Failure on removing device node 2014-09-17 09:21:56 -07:00
hvCall.S powerpc/pseries: hcall functions are exported to modules, need _GLOBAL_TOC() 2014-06-05 13:21:28 +10:00
hvCall_inst.c new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
hvconsole.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
hvcserver.c powerpc/pseries/hvcserver: Fix strncpy buffer limit in location code 2013-03-05 16:56:27 +11:00
io_event_irq.c powerpc/le: Enable RTAS events support 2014-04-07 10:33:12 +10:00
iommu.c powerpc/iommu: Remove IOMMU device references via bus notifier 2015-03-30 11:11:49 +01:00
Kconfig powerpc/powernv: Enable POWER8 doorbell IPIs 2014-06-11 17:05:12 +10:00
kexec.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
lpar.c powerpc/thp: Don't recompute vsid and ssize in loop on invalidate 2014-09-17 09:21:56 -07:00
lparcfg.c powerpc/pseries: Fix endian issues in /proc/ppc64/lparcfg 2013-12-13 15:48:35 +11:00
Makefile powerpc/pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. 2014-01-29 17:02:22 +11:00
mobility.c powerpc/pseries: Little endian fixes for post mobility device tree update 2015-04-10 10:03:58 +01:00
msi.c powerpc/pseries: Honor the generic "no_64bit_msi" flag 2014-12-10 17:15:26 +00:00
nvram.c powerpc: Convert last uses of __FUNCTION__ to __func__ 2014-04-09 12:53:32 +10:00
offline_states.h powerpc/smp: soft-replugged CPUs must go back to start_secondary 2011-04-01 15:37:09 +11:00
pci.c powerpc/pseries: Add Gen3 definitions for PCIE link speed 2014-02-17 11:19:35 +11:00
pci_dlpar.c powerpc/pci: Reorder pci bus/bridge unregistration during PHB removal 2014-09-05 16:36:34 -07:00
power.c [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
pseries.h powerpc: Allow ppc_md platform hook to override memory_block_size_bytes 2014-06-05 13:20:39 +10:00
pseries_energy.c powerpc: Fix a number of sparse warnings 2013-08-14 11:50:24 +10:00
ras.c powerpc/le: Enable RTAS events support 2014-04-07 10:33:12 +10:00
reconfig.c powerpc/pseries: dynamically added OF nodes need to call of_node_init 2014-07-22 15:55:59 +10:00
rng.c powerpc/pseries: Fix SMP=n build of rng.c 2013-11-21 10:33:45 +11:00
scanlog.c ppc: Clean up scanlog 2013-05-01 17:29:45 -04:00
setup.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2014-06-10 18:54:22 -07:00
smp.c powerpc: Fix SMP issues with ppc64le ABIv2 2014-04-23 10:05:26 +10:00
suspend.c powerpc/pseries: Expose in kernel device tree update to drmgr 2014-03-07 15:54:50 +11:00