From: David Gibson <david@gibson.dropbear.id.au>
To: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, clg@kaod.org,
benh@kernel.crashing.org
Subject: Re: [Qemu-devel] [PATCH v2 0/8] sPAPR xics rework/cleanup
Date: Wed, 29 Jun 2016 13:40:54 +1000 [thread overview]
Message-ID: <20160629034054.GJ8885@voom.fritz.box> (raw)
In-Reply-To: <1467140719-4701-1-git-send-email-nikunj@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]
On Wed, Jun 29, 2016 at 12:35:11AM +0530, Nikunj A Dadhania wrote:
> 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.
>
> 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
> + xirr_owner - how to reassign after migration
>
> Benjamin Herrenschmidt (8):
> ppc/xics: Rename existing xics to xics_spapr
> ppc/xics: Move SPAPR specific code to a separate file
> ppc/xics: Implement H_IPOLL using an accessor
> ppc/xics: Replace "icp" with "xics" in most places
> 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
>
> default-configs/ppc64-softmmu.mak | 1 +
> hw/intc/Makefile.objs | 1 +
> hw/intc/trace-events | 14 +-
> hw/intc/xics.c | 724 +++++++++++---------------------------
> hw/intc/xics_kvm.c | 92 +++--
> hw/intc/xics_spapr.c | 460 ++++++++++++++++++++++++
> hw/ppc/spapr.c | 19 +-
> hw/ppc/spapr_cpu_core.c | 4 +-
> hw/ppc/spapr_events.c | 8 +-
> hw/ppc/spapr_pci.c | 12 +-
> hw/ppc/spapr_vio.c | 2 +-
> include/hw/pci-host/spapr.h | 2 +-
> include/hw/ppc/spapr.h | 2 +-
> include/hw/ppc/spapr_vio.h | 2 +-
> include/hw/ppc/xics.h | 79 +++--
> 15 files changed, 803 insertions(+), 619 deletions(-)
> create mode 100644 hw/intc/xics_spapr.c
I've put 1-4/8 into ppc-for-2.7. 5/8, unfortunately will break
migration and 6-8/8 don't make much sense without 5/8, so I've left
them for now.
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-06-29 3:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-28 19:05 [Qemu-devel] [PATCH v2 0/8] sPAPR xics rework/cleanup Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 1/8] ppc/xics: Rename existing xics to xics_spapr Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 2/8] ppc/xics: Move SPAPR specific code to a separate file Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 3/8] ppc/xics: Implement H_IPOLL using an accessor Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 4/8] ppc/xics: Replace "icp" with "xics" in most places Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 5/8] ppc/xics: Make the ICSState a list Nikunj A Dadhania
2016-06-29 3:37 ` David Gibson
2016-06-29 4:05 ` Benjamin Herrenschmidt
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 6/8] ppc/xics: An ICS with offset 0 is assumed to be uninitialized Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 7/8] ppc/xics: Use a helper to add a new ICS Nikunj A Dadhania
2016-06-28 19:05 ` [Qemu-devel] [PATCH v2 8/8] ppc/xics: Split ICS into ics-base and ics class Nikunj A Dadhania
2016-06-30 8:24 ` Cédric Le Goater
2016-06-30 9:54 ` Nikunj A Dadhania
2016-06-29 3:40 ` David Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160629034054.GJ8885@voom.fritz.box \
--to=david@gibson.dropbear.id.au \
--cc=benh@kernel.crashing.org \
--cc=clg@kaod.org \
--cc=nikunj@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).