From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bI6QM-00023p-6s for qemu-devel@nongnu.org; Tue, 28 Jun 2016 23:44:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bI6QK-0000N7-4r for qemu-devel@nongnu.org; Tue, 28 Jun 2016 23:44:25 -0400 Date: Wed, 29 Jun 2016 13:40:54 +1000 From: David Gibson Message-ID: <20160629034054.GJ8885@voom.fritz.box> References: <1467140719-4701-1-git-send-email-nikunj@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEkEgRdBLZYkpbX2" Content-Disposition: inline In-Reply-To: <1467140719-4701-1-git-send-email-nikunj@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v2 0/8] sPAPR xics rework/cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, clg@kaod.org, benh@kernel.crashing.org --PEkEgRdBLZYkpbX2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 gu= ests > in KVM and TCG mode. >=20 > 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 sym= bol > * 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 >=20 > ToDo: > + Use ICPNative and XICSNative in "native" implementation > + xics_spapr_alloc - getting rid of that > + xirr_owner - how to reassign after migration >=20 > 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 >=20 > 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. --=20 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 --PEkEgRdBLZYkpbX2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXc0NGAAoJEGw4ysog2bOSCiAQANBlp9HnEfvIVPnlzbQ1/afk +L2ks8UiUtDzRGRpmEJLtVDBg8PrAZzdKimfQr6zdNYIS9WRO/Dk4uYb51RtHpN/ uupeoyDmlpVpVJRRwCLwvqbRfef4Cv6a55lcAoQCd3AX28TvOe4ffwT3z9Tc/hKb /byNMHLlJS8aSQ6MN9EG6HWnyeP53X7Tw46h+Pg52WY0Rov/LdvZF/4xBX/RxWfC c5+TRRXNcXe+zIm5AIqwMX6Sto1mVMjqWIHumhi8WMkZ4SZqdWNL2P8zki/Ip8bS ATbzifYgHdXAknytjCMgKij3ANcmkufJ/aBQtD4HNBX8TXRKFnPYVtaOKuEgFlcp 1x9Pw5tdDthQbGnCLguciHMo5saNmKCXlGNTnVst3+bkC3mRCJuMolpXYAGgfWJk kSL5B/cqCJwr2B7Pv1PrWNjOVSAkmdUdrBIoSZ7oGccWGcHfbhfEmJcEtXNfjK0R YayVU4Gske9GLRSyCtOpXNEZkQIg3dJgdDe+FDNAWVWzyYa0Bot85jxRLgrAjrAF mhvg5shZhe5txD3uYykTuDoixf6bTgBhFnLHuxHPkyOejMBAwcpcdmMhtwHyFinV zZjP2v399XMMxYRmIa/uBGUFNVUMOIE/f35YbgXP/2xHgamVf/O0ed1a1E9peHZ2 Ak3yQHzESDr6EOkG89MD =DZdI -----END PGP SIGNATURE----- --PEkEgRdBLZYkpbX2--