[Qemu-devel] [PATCH 0/3] spapr: fix cpu core hotunplug call flow

Igor Mammedov posted 3 patches 7 years, 2 months ago
Failed in applying to current master (apply log)
include/hw/ppc/spapr_cpu_core.h |   6 --
hw/ppc/spapr.c                  | 150 +++++++++++++++++++++++++++++++++++++++-
hw/ppc/spapr_cpu_core.c         | 137 +-----------------------------------
3 files changed, 151 insertions(+), 142 deletions(-)
[Qemu-devel] [PATCH 0/3] spapr: fix cpu core hotunplug call flow
Posted by Igor Mammedov 7 years, 2 months ago
Make cpu core hotunplug use the same (expected)
unplug_request/unplug call flow like spapr memory unplug
and mem/cpu unplug on x86.

While doing it separate internal cpu core handling and
machine wiring code and move machine related callbacks
close to related machine code in spapr.c.

Series applies on top of tags/ppc-for-2.9-20170202 pull req.

repo for testing:
  git@github.com:imammedo/qemu.git spapr_cpu_unplug_cleanup

CC: David Gibson <david@gibson.dropbear.id.au> (supporter:sPAPR)
CC: Alexander Graf <agraf@suse.de> (supporter:sPAPR)
CC: qemu-ppc@nongnu.org 
CC: Bharata B Rao <bharata@linux.vnet.ibm.com>

Igor Mammedov (3):
  spapr: cpu core: separate child threads destruction from machine state
    operations
  spapr: move spapr_core_[foo]plug() callbacks close to machine code in
    spapr.c
  spapr: make cpu core unplug follow expected hotunplug call flow

 include/hw/ppc/spapr_cpu_core.h |   6 --
 hw/ppc/spapr.c                  | 150 +++++++++++++++++++++++++++++++++++++++-
 hw/ppc/spapr_cpu_core.c         | 137 +-----------------------------------
 3 files changed, 151 insertions(+), 142 deletions(-)

-- 
2.7.4


Re: [Qemu-devel] [PATCH 0/3] spapr: fix cpu core hotunplug call flow
Posted by David Gibson 7 years, 2 months ago
On Thu, Feb 02, 2017 at 04:02:32PM +0100, Igor Mammedov wrote:
> Make cpu core hotunplug use the same (expected)
> unplug_request/unplug call flow like spapr memory unplug
> and mem/cpu unplug on x86.
> 
> While doing it separate internal cpu core handling and
> machine wiring code and move machine related callbacks
> close to related machine code in spapr.c.
> 
> Series applies on top of tags/ppc-for-2.9-20170202 pull req.
> 
> repo for testing:
>   git@github.com:imammedo/qemu.git spapr_cpu_unplug_cleanup
> 
> CC: David Gibson <david@gibson.dropbear.id.au> (supporter:sPAPR)
> CC: Alexander Graf <agraf@suse.de> (supporter:sPAPR)
> CC: qemu-ppc@nongnu.org 
> CC: Bharata B Rao <bharata@linux.vnet.ibm.com>

Merged to ppc-for-2.9.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson