Received: from eggs.gnu.org ([2001:4830:134:3::10]:33132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1betRl-0002Xv-CQ for qemu-devel@nongnu.org; Tue, 30 Aug 2016 20:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1betRg-0001lO-6s for qemu-devel@nongnu.org; Tue, 30 Aug 2016 20:32:04 -0400 Date: Tue, 30 Aug 2016 02:28:20 -0400 From: David Gibson Message-ID: <20160830062820.GB1753@littlecatz> References: <1470388537-2908-1-git-send-email-clg@kaod.org> <1470388537-2908-4-git-send-email-clg@kaod.org> <20160816023900.GC14530@voom.fritz.box> <330ecf9d-6750-4b5f-ea5d-660e3f6a11d0@kaod.org> <20160829143021.GF2166@littlecatz> <1472537735.2388.32.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <1472537735.2388.32.camel@kernel.crashing.org> Subject: Re: [Qemu-devel] [PATCH 3/3] ppc/pnv: add a PowerNVCPUCore object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: =?iso-8859-1?Q?C=E9dric?= Le Goater , qemu-ppc@nongnu.org, Alexander Graf , qemu-devel@nongnu.org --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 30, 2016 at 04:15:35PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2016-08-29 at 10:30 -0400, David Gibson wrote: > >=20 > > Possibly.=A0 In fact, I'm planning to eliminate cpu->cpu_dt_id at some > > point, in favour of having the machine type construct the id when it > > actually builds the dt.=A0 It's not really a cpu level construct. >=20 > On PowerNV it is as it's equal to the PIR, the HW interrupt server, > etc... No.. the PIR itself is a cpu level construct (and we already have a place for that in the cpu state). The DT id as such isn't, although it happens to have the same value. The fact it has the same value is itself a machine type property. [Aside: removing dt_id from the cpu will require disentangling it from the kvm vcpu id] --=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 --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXxSeEAAoJEGw4ysog2bOSHv8P/jyi5/3kk2MCzBglYzJ+AutS piAnrgMtibAOmkeAKuh1i2SXfOxG77ahC3r6x3U3TigB/eKmXpo3wGWp0HfPGjdo 96wki+DSj8Z2VIifVDhp8W4QEDxDyQierMzb1jochPnUd5i9r/4rfwDnkYtSzv4Y ZkVUOOyix+HEehWaMjKrOQf+QWo9H2JGy6oiZe+s2CQoQjrwfzKs2w9kWPI4A5+4 wQ+3ZEcKY5oruSb2WpS40xixGDv4BECus0GHGQFwSdWQUzoSeVTlYl1n/pX5QjdW mdz8iRzuIMRlOI9zcl4iBeANLhAc4VNJcSHXozvzrXCHDu5pSsHGkbB4qhShxaeW Mms/uKKIRzTmyFDY3gz0V+9qECsIfl6qFWczeI5IVQ0yikzNPfqDdeBjRE6O8QSM G/dkOuX7OdAUSSDEi0eiWmToq6rW4CSEhWoNCGAV1EBLW0fwm/iBLT/fLk2u++me lhaD41+7bYrsAktfQaKVn48ZLK0QZthUEoD563GzMvO6GXsD9Zs+kPI/uQXjErZ7 aOqGjWsLB2eWzLG4zDI/AQfQ/MKz7E/qXP/SLM1zKG/19/WUvTomeFzMJkG8hHUB SX2unxIH9xrwMnQhJU+qaHjJIUg4UB9OZuRD5TPYZ4fSpx+MdQmmogEPN4ODpIB8 oYHx6B+x0mdIK90mvaBu =eVMM -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--