1. 07 3月, 2014 1 次提交
  2. 27 8月, 2013 6 次提交
  3. 26 4月, 2013 2 次提交
    • N
      powerpc/pseries: Correct buffer parsing in update_dt_node() · 2e9b7b02
      Nathan Fontenot 提交于
      Correct parsing of the buffer returned from ibm,update-properties. The first
      element is a length and the path to the property which is slightly different
      from the list of properties in the buffer so we need to specifically
      handle this.
      Signed-off-by: NNathan Fontenot <nfont@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      2e9b7b02
    • N
      powerpc/pseries: Expose pseries devicetree_update() · 762ec157
      Nathan Fontenot 提交于
      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_devicetree_update() routine used in partition migration.
      
      This patch exposes pseries_devicetree_update() to make it accessible
      to other pseries routines, this patch also updates pseries_devicetree_update()
      to take a 32-bit scope parameter. The scope value, which was previously hard
      coded to 1 for partition migration, is used for the RTAS calls
      ibm,update-nodes/properties to update the device tree.
      Signed-off-by: NNathan Fontenot <nfont@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      762ec157
  4. 15 11月, 2012 1 次提交
  5. 11 7月, 2012 1 次提交
  6. 01 11月, 2011 1 次提交
  7. 13 10月, 2010 1 次提交
    • N
      powerpc/pseries: Partition migration in the kernel · 410bccf9
      Nathan Fontenot 提交于
      Enable partition migration in the kernel.  To do this a new sysfs file,
      /sys/kernel/mobility/migration, is created.  In order to initiate a migration
      the stream id (generated by the HMC managing the system) is written to this
      file.
      
      After a migration occurs, and what is the majority of this code, the device
      tree needs to be updated for the new system the partition is running on. This
      is done via the ibm,update-nodes and ibm,update-properties rtas calls which
      return information regarding which nodes and properties of the device tree
      are to be added/removed/updated.
      Signed-off-by: NNathan Fontenot <nfont@austin.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      410bccf9