linux/arch/powerpc/platforms/pseries
Tyrel Datwyler 1578cb76d4 powerpc/pseries: Do all node initialization in dlpar_parse_cc_node
Currently the OF_DYNAMIC and kref initialization for a node happens in
dlpar_attach_node. However, a node passed to dlpar_attach_node may be a tree
containing child nodes, and no initialization traversal is done on the
tree. Since the children never get their kref initialized or the OF_DYNAMIC
flag set these nodes are prevented from ever being released from memory
should they become detached. This initialization step is better done at the
time each node is allocated in dlpar_parse_cc_node.

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-08-27 14:45:13 +10:00
..
Kconfig powerpc/pseries: Drop "select HOTPLUG" 2013-07-24 14:18:44 +10:00
Makefile powerpc/eeh: Move common part to kernel directory 2013-06-20 17:05:35 +10:00
cmm.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
dlpar.c powerpc/pseries: Do all node initialization in dlpar_parse_cc_node 2013-08-27 14:45:13 +10:00
dtl.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
eeh_pseries.c powerpc/eeh: Introdce flag to protect sysfs 2013-07-24 14:18:49 +10:00
event_sources.c powerpc/pseries: Add WARN_ON() to request_event_sources_irqs() on irq allocation/request failure 2010-07-09 11:28:32 +10:00
firmware.c powerpc/pseries: Update CPU maps when device tree is updated 2013-04-26 16:08:23 +10:00
hotplug-cpu.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
hotplug-memory.c mm, hotplug: avoid compiling memory hotremove functions when disabled 2013-04-29 15:54:37 -07:00
hvCall.S powerpc: Merge STK_REG/PARAM/FRAMESIZE 2012-07-10 19:18:03 +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 trivial: powerpc: Fix typo in ioei_interrupt() description 2013-06-30 15:03:18 +10:00
iommu.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +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/pseries: Add a warning in the case of cross-cpu VPA registration 2013-08-27 14:44:28 +10:00
mobility.c powerpc/pseries: Fix parsing of initial node path in update_dt_node 2013-08-27 14:45:13 +10:00
msi.c powerpc/pseries: Make 32-bit MSI quirk work on systems lacking firmware support 2013-05-24 18:16:54 +10:00
nvram.c powerpc/pseries: Support compression of oops text via pstore 2013-07-01 18:10:49 +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: Perform proper max_bus_speed detection 2013-05-06 09:25:38 +10:00
pci_dlpar.c powerpc/eeh: Move common part to kernel directory 2013-06-20 17:05:35 +10:00
power.c [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
processor_idle.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
pseries.h pseries/cpuidle: Remove dependency of pseries.h file 2013-08-27 14:36:09 +10:00
pseries_energy.c powerpc: Fix a number of sparse warnings 2013-08-14 11:50:24 +10:00
ras.c powerpc: Fix the corrupt r3 error during MCE handling. 2013-07-24 14:18:45 +10:00
reconfig.c proc: Supply PDE attribute setting accessor functions 2013-05-01 17:29:18 -04:00
scanlog.c ppc: Clean up scanlog 2013-05-01 17:29:45 -04:00
setup.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
smp.c pseries: Move plpar_wrapper.h to powerpc common include/asm location. 2013-08-27 14:43:05 +10:00
suspend.c powerpc: Bring all threads online prior to migration/hibernation 2013-05-14 14:36:29 +10:00