Thread (24 messages) 24 messages, 3 authors, 2013-03-22

Re: [PATCH 1/11] Expose pseries devicetree_update()

From: Paul Mackerras <hidden>
Date: 2013-03-14 08:49:39

On Fri, Mar 08, 2013 at 09:59:26PM -0600, Nathan Fontenot wrote:
From: Jesse Larrew <redacted>

When rtasd receives a PRRN event, it needs to make a series of RTAS
calls (ibm,update-nodes and ibm,update-properties) to retrieve the
updated device tree information. These calls are already handled in the
pseries_devtree_update() routine used in partition migration.

This patch simply exposes pseries_devicetree_update() so it can be
called by rtasd. pseries_devicetree_update() and supporting functions
are also modified to take a 32-bit 'scope' parameter. This parameter is
required by the ibm,update-nodes/ibm,update-properties RTAS calls, and
the appropriate value is contained within the RTAS event for PRRN
notifications. In pseries_devicetree_update() it was previously
hard-coded to 1, the scope value for partition migration.

Signed-off-by: Nathan Fontenot <redacted>
Patch looks fine, so:

Acked-by: Paul Mackerras <redacted>

However, you could usefully put some of the description from your 0/11
email into this patch description, since the 0/11 email doesn't get
preserved in git.

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help