On Mon, Mar 25, 2013 at 01:51:38PM -0500, Nathan Fontenot wrote: > From: Jesse Larrew <[email protected]> > > Newer firmware on Power systems can transparently reassign platform resources > (CPU and Memory) in use. For instance, if a processor or memory unit is > predicted to fail, the platform may transparently move the processing to an > equivalent unused processor or the memory state to an equivalent unused > memory unit. However, reassigning resources across NUMA boundaries may alter > the performance of the partition. When such reassignment is necessary, the > Platform Resource Reassignment Notification (PRRN) option provides a > mechanism to inform the Linux kernel of changes to the NUMA affinity of > its platform resources. > > 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 <[email protected]>
Acked-by: Paul Mackerras <[email protected]> _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
