Received: from eggs.gnu.org ([2001:4830:134:3::10]:58068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4jT4-00031H-Af for qemu-devel@nongnu.org; Tue, 16 Jun 2015 01:31:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4jT1-0005Bn-0O for qemu-devel@nongnu.org; Tue, 16 Jun 2015 01:31:26 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:45419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4jT0-0005Ad-CK for qemu-devel@nongnu.org; Tue, 16 Jun 2015 01:31:22 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 16 Jun 2015 15:31:18 +1000 From: Bharata B Rao Date: Tue, 16 Jun 2015 11:00:11 +0530 Message-Id: <1434432618-19035-1-git-send-email-bharata@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v5 0/7] sPAPR CPU hotplug pre-requisites List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: thuth@redhat.com, aik@ozlabs.ru, mdroth@linux.vnet.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org, tyreld@linux.vnet.ibm.com, Bharata B Rao , nfont@linux.vnet.ibm.com, david@gibson.dropbear.id.au Hi, This patchset carries the changes that are pre-requisites to support CPU hotplug for sPAPR guests. Changes in v5 ------------- - Fixed indentation issues pointed by Alexey. - Removed the user of MSR_EP with the understanding that this or an equivalent define can be used/introduced in a separate patch. - Dropped the last patch "xics_kvm: Add cpu_destroy method to XICS" since it wasn't being used in this series. v4 - http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg01653.html This series applies against spapr-next branch of David Gibson's tree. Bharata B Rao (7): 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 docs/specs/ppc-spapr-hotplug.txt | 18 ++ hw/intc/xics_kvm.c | 10 ++ 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 | 349 ++++++++++++++++++++++----------------- hw/ppc/spapr_rtas.c | 16 ++ hw/ppc/virtex_ml507.c | 7 +- include/hw/ppc/spapr.h | 2 + include/hw/ppc/xics.h | 1 + include/qom/cpu.h | 2 + 12 files changed, 259 insertions(+), 177 deletions(-) -- 2.1.0