linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5 v2] Update memory dlpar for dynamic reconfiguration memory
@ 2008-07-03  3:15 Nathan Fontenot
  2008-07-03  3:19 ` [PATCH 1/5 v2] Allow phandle to be specified in formats other than decimal Nathan Fontenot
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nathan Fontenot @ 2008-07-03  3:15 UTC (permalink / raw)
  To: linuxppc-dev

The following patchset corrects a set of issues for memory dlpar and the
representation of memory in the device tree under the 
ibm,dynamic-reconfiguration-memory node.

On newer hardware and kernels, the device tree has changed so that all
memory appears under the ibm,dynamic-reconfiguration-memory node in the
device tree.  This node has several properties that describe all possible
lmbs, lmb-size and numa affinity.

The ibm,dynamic-memory property is a list of all possible lmbs, where each
list entry contains the base address, drc index, associativity array index
and a set of flags.

The ibm,associativity-lookup-arrays property contains a list of associativity
arrays and the ibm,lmb-size property contains the size of the lmbs

For reference, each lmb available to the system was previously represented 
with a node in the device tree, of the form /proc/device-tree/memory@XXXXXXXX.
Each of these memory nodes had properties such as "ibm,my-drc-index" for the
drc index and "regs" which contained the base address and lmb size of the lmb.

With the new device tree layout, code associated with memory dlpar needs to
be updated to parse the new device tree layout and properly call the memory
hotplug notifier chains.  Additionally, numa associativity done during hotplug
add of memory needs an update for parsing the new device tree layout.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com> 

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

end of thread, other threads:[~2008-07-03  3:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03  3:15 [PATCH 0/5 v2] Update memory dlpar for dynamic reconfiguration memory Nathan Fontenot
2008-07-03  3:19 ` [PATCH 1/5 v2] Allow phandle to be specified in formats other than decimal Nathan Fontenot
2008-07-03  3:20 ` [PATCH 2/5 v2] Use base address to derive starting page frame number Nathan Fontenot
2008-07-03  3:22 ` [PATCH 3/5 v2] Update the device tree correctly for drconf memory add/remove Nathan Fontenot
2008-07-03  3:23 ` [PATCH 4/5 v2] Split code into helper routines for drconf memory Nathan Fontenot
2008-07-03  3:35   ` Nathan Fontenot
2008-07-03  3:25 ` [PATCH 5/5 v2] Update numa association of hotplug memory add " 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).