linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Fontenot <nfont@austin.ibm.com>
To: linuxppc-dev@ozlabs.org
Subject: [PATCH 0/5] Updates for memory dlpar and dynamic reconfiguration memory
Date: Fri, 20 Jun 2008 16:25:07 -0500	[thread overview]
Message-ID: <485C2033.20101@austin.ibm.com> (raw)

The following patchset corrects a couple of issues with memory dlpar and
adds support for the new memory layout in the device tree on the latest Power
hardware and kernels.

On newer hardware and kernels, the device tree has changed so that all
memory appears under the node ibm,dynamic-reconfiguration-memory.  This node
has several properties that describe 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 contains the size of the lmbs

For reference, memory was previously represented with a node, of the form
memory@XXXXXXXX, for each lmb assigned the system.  Each of these memory
nodes had properties such as ibm,my-drc-index for the drc index and regs
for the base address and lmb size.

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, the numa associativity roiutine
called during hotplug add of memory needs a seperate version for parsing the
new device tree layout.

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

             reply	other threads:[~2008-06-20 21:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 21:25 Nathan Fontenot [this message]
2008-06-20 21:29 ` [PATCH 1/5] Allow drc indexes to be specified in formats other than decimal Nathan Fontenot
2008-06-20 23:18   ` Sergei Shtylyov
2008-06-23  2:58     ` Nathan Fontenot
2008-06-20 21:30 ` [PATCH 2/5] Use the base address of lmbs instead of drc index for dlpar Nathan Fontenot
2008-06-20 21:32 ` [PATCH 3/5] Update device tree correctly for drconf memory add/remove Nathan Fontenot
2008-06-20 21:34 ` [PATCH 4/5] Helper routines for parsing drconf memory Nathan Fontenot
2008-06-30 12:41   ` Paul Mackerras
2008-07-01 13:54     ` Nathan Fontenot
2008-06-20 21:36 ` [PATCH 5/5] Add ability to associate drconf memory sections in hotplug memory add Nathan Fontenot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=485C2033.20101@austin.ibm.com \
    --to=nfont@austin.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).