linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] powerpc/pseries: Perform PRRN topology updates in kernel
@ 2016-12-15 22:14 John Allen
  2016-12-15 22:16 ` [PATCH v2 1/3] powerpc/pseries: Make the acquire/release of the drc for memory a seperate step John Allen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: John Allen @ 2016-12-15 22:14 UTC (permalink / raw)
  To: linuxppc-dev, Nathan Fontenot

Formerly, when we received a PRRN rtas event, device tree updating was
performed in the kernel and the actual topology updating was performed in
userspace. This was necessary as in order to update the topology for memory,
we must perform a hot remove and a subsequent hot add and until recently,
memory hotplug was not included in the kernel. Since memory hotplug is now
available, this patchset moves the PRRN topology updating into the kernel.

Changes from v1:
-Introduce patch to separate the acquire and release drc from existing
 memory hotplug
-Create new function "dlpar_memory_readd_by_index" that consolidates the
 necessary steps of memory hot remove and hot add into a single function
-Remove conversion of phandle to BE
-Since error messages are already generated in the memory hotplug code,
 remove redundant error messages in pseries_prrn_update_node. Since we no
 longer use the return code from the hotplug event, remove the
 wait_for_completion infrastructure.

John Allen (3):
      powerpc/pseries: Make the acquire/release of the drc for memory a seperate step
      powerpc/pseries: Introduce memory hotplug READD operation
      powerpc/pseries: Update affinity for memory and cpus specified in a PRRN event

 arch/powerpc/include/asm/rtas.h                 |    1
 arch/powerpc/kernel/rtasd.c                     |    7 ++
 arch/powerpc/platforms/pseries/hotplug-memory.c |   75 +++++++++++++++++++----
 arch/powerpc/platforms/pseries/mobility.c       |   32 ++++++++++
 4 files changed, 102 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-04 19:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15 22:14 [PATCH v2 0/3] powerpc/pseries: Perform PRRN topology updates in kernel John Allen
2016-12-15 22:16 ` [PATCH v2 1/3] powerpc/pseries: Make the acquire/release of the drc for memory a seperate step John Allen
2016-12-15 22:18 ` [PATCH v2 2/3] powerpc/pseries: Introduce memory hotplug READD operation John Allen
2016-12-15 22:22 ` [PATCH v2 3/3] powerpc/pseries: Update affinity for memory and cpus specified in a PRRN event John Allen
2017-01-04 19:39   ` Nathan Fontenot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).