From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLDVc-0008Bo-J0 for qemu-devel@nongnu.org; Thu, 07 Jul 2016 13:54:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLDVX-0002Ky-LI for qemu-devel@nongnu.org; Thu, 07 Jul 2016 13:54:43 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:14528 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLDVX-0002Kp-Ef for qemu-devel@nongnu.org; Thu, 07 Jul 2016 13:54:39 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u67HrZvn037763 for ; Thu, 7 Jul 2016 13:54:38 -0400 Received: from e28smtp04.in.ibm.com (e28smtp04.in.ibm.com [125.16.236.4]) by mx0a-001b2d01.pphosted.com with ESMTP id 2415xmnc4j-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 07 Jul 2016 13:54:38 -0400 Received: from localhost by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 7 Jul 2016 23:24:33 +0530 From: Nikunj A Dadhania Date: Thu, 7 Jul 2016 23:24:14 +0530 Message-Id: <1467914058-30551-1-git-send-email-nikunj@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v3 0/4] sPAPR xics rework/cleanup (pending) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Cc: qemu-devel@nongnu.org, clg@kaod.org, benh@kernel.crashing.org, nikunj@linux.vnet.ibm.com sPAPR xics related changes required for powernv platform. This brings infrastructure to get the xics native mode for powernv. Tested pseries guests in KVM and TCG mode. These are the pending patches of the original set. Changelog v2: * Restore xirr_owner after migration * Call icp_resend after restoring all the ICP Changelog v1: * Change XICS to XICS_SPAPR and KVM_XICS to XICS_KVM_SPAPR * Added xics_ to function get_cpu_index_by_dt_id as this is a global symbol * Dropped server parameter from icp_check_ipi * Send HW_ERROR when ics is NULL * Remove redundant parameters in trace routines * Use type ICS_SIMPLE, ICS_BASE and ICS_KVM * Dropped xics-native and info pic patches for this version ToDo: + Use ICPNative and XICSNative in "native" implementation + xics_spapr_alloc - getting rid of that Benjamin Herrenschmidt (4): ppc/xics: Make the ICSState a list ppc/xics: An ICS with offset 0 is assumed to be uninitialized ppc/xics: Use a helper to add a new ICS ppc/xics: Split ICS into ics-base and ics class hw/intc/trace-events | 15 +-- hw/intc/xics.c | 281 ++++++++++++++++++++++++++++++++------------------ hw/intc/xics_kvm.c | 35 ++++--- hw/intc/xics_spapr.c | 112 ++++++++++++-------- hw/ppc/spapr_events.c | 2 +- hw/ppc/spapr_pci.c | 5 +- hw/ppc/spapr_vio.c | 2 +- include/hw/ppc/xics.h | 39 ++++--- 8 files changed, 310 insertions(+), 181 deletions(-) -- 2.7.4