[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH v4 0/8] sPAPR CPU hotplug pre-requisites

From: Bharata B Rao
Subject: [Qemu-ppc] [PATCH v4 0/8] sPAPR CPU hotplug pre-requisites
Date: Fri, 5 Jun 2015 09:55:50 +0530


These are the patches that are required to support CPU hotplug for sPAPR
guests. Until now these patches were carried as part of the combined
patchset for sPAPR CPU and Memory hotplug. Since some of these patches
are well reviewed and can be included before the core hotplug changes,
I am posting them as a separate series.

The last post of these patches were with the combined series version 3.


This split-out series starts with v4 which has the following minor changes:

- Using maxram_size from MachineState instead of sPAPREnvironment. (2/8)
- Added a patch to walk CPUs list in reverse order. (3/8)
- Walking CPUs list in reverse order to ensure CPU device tree entries
  are filled up in proper order in device tree. (4/8)
- Use of MSR_EP define instead of using direct number. (5/8)
- Don't set irq for those CPUs that are already removed during XICS reset. (8/8)
- Removed David Gibson's SoB from some patches as there were some
  minor changes in them.

This series applies against spapr-next branch of David Gibson's tree.

Bharata B Rao (8):
  spapr: Consider max_cpus during xics initialization
  spapr: Support ibm,lrdr-capacity device tree property
  cpus: Add a macro to walk CPUs in reverse
  spapr: Reorganize CPU dt generation code
  spapr: Consolidate cpu init code into a routine
  ppc: Update cpu_model in MachineState
  xics_kvm: Don't enable KVM_CAP_IRQ_XICS if already enabled
  xics_kvm: Add cpu_destroy method to XICS

 docs/specs/ppc-spapr-hotplug.txt |  18 ++
 hw/intc/xics.c                   |  14 ++
 hw/intc/xics_kvm.c               |  25 ++-
 hw/ppc/mac_newworld.c            |  10 +-
 hw/ppc/mac_oldworld.c            |   7 +-
 hw/ppc/ppc440_bamboo.c           |   7 +-
 hw/ppc/prep.c                    |   7 +-
 hw/ppc/spapr.c                   | 352 +++++++++++++++++++++------------------
 hw/ppc/spapr_rtas.c              |  16 ++
 hw/ppc/virtex_ml507.c            |   7 +-
 include/hw/ppc/spapr.h           |   2 +
 include/hw/ppc/xics.h            |   3 +
 include/qom/cpu.h                |   2 +
 13 files changed, 289 insertions(+), 181 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]