mbox series

[RFC,v9,0/4] powerpc/hotplug: Update affinity for migrated CPUs

Message ID 95c97180-37b7-85da-a82f-17dbc73f5ed6@linux.vnet.ibm.com (mailing list archive)
Headers show
Series powerpc/hotplug: Update affinity for migrated CPUs | expand

Message

Michael Bringmann June 3, 2018, 8:03 p.m. UTC
[Testing delayed due to internal SAN problems.]

The migration of LPARs across Power systems affects many attributes
including that of the associativity of CPUs.  The patches in this
set execute when a system is coming up fresh upon a migration target.
They are intended to,

* Recognize changes to the associativity of CPUs recorded in internal
  data structures when compared to the latest copies in the device tree.
* Generate calls to other code layers to reset the data structures
  related to associativity of the CPUs.
* Re-register the 'changed' entities into the target system.
  Re-registration of CPUs mostly entails acting as if they have been
  newly hot-added into the target system.

Signed-off-by: Michael Bringmann <mwb@linux.vnet.ibm.com>

Michael Bringmann (4):
  hotplug/cpu: Conditionally acquire/release DRC index
  hotplug/cpu: Add operation queuing function
  hotplug/dlpar/cpu: Provide CPU readd operation
  mobility/numa: Ensure numa update does not overlap
---
Changes in RFC:
  -- Restructure and rearrange content of patches to co-locate
     similar or related modifications
  -- Rename pseries_update_drconf_cpu to pseries_update_cpu
  -- Simplify code to update CPU nodes during mobility checks.
     Remove functions to generate extra HP_ELOG messages in favor
     of direct function calls to dlpar_cpu_readd_by_index.
  -- Revise code order in dlpar_cpu_readd_by_index() to present
     more appropriate error codes from underlying layers of the
     implementation.
  -- Add hotplug device lock around all property updates
  -- Schedule all CPU updates as workqueue operations
  -- Rebase to 4.17-rc5 kernel
  -- Various code cleanups and compaction