From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSYdF-0005rk-Ja for qemu-devel@nongnu.org; Wed, 27 Jul 2016 19:52:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSYdD-00058p-4O for qemu-devel@nongnu.org; Wed, 27 Jul 2016 19:52:56 -0400 Date: Thu, 28 Jul 2016 09:33:03 +1000 From: David Gibson Message-ID: <20160727233303.GA29626@voom.fritz.box> References: <146918576946.26293.7740314135850382852.stgit@bahia.lan> <20160725060131.GJ24621@voom.fritz.box> <20160727120617.7c3eb34d@kaod.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <20160727120617.7c3eb34d@kaod.org> Subject: Re: [Qemu-devel] [PATCH RFC] spapr: disintricate core-id from DT semantics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: Igor Mammedov , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Bharata B Rao --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 27, 2016 at 12:06:17PM +0200, Greg Kurz wrote: > Le Mon, 25 Jul 2016 16:01:31 +1000, > David Gibson a =E9crit : >=20 > > On Fri, Jul 22, 2016 at 01:10:36PM +0200, Greg Kurz wrote: > > > The goal of this patch is to have a stable core-id which does not dep= end > > > on any DT related semantics, which involve non-obvious computations on > > > modern PowerPC server cpus. > > >=20 > > > With this patch, the DT core id is computed on-demand as: > > >=20 > > > (core-id / smp_threads) * smt > > >=20 > > > where smt is the number of threads per core in the host. > > >=20 > > > This formula should be consolidated in a helper since it is needed in > > > several places. =20 > >=20 > > It's a little odd you node this but don't do so. > >=20 >=20 > I was too busy packing for holidays already :) and I think the consolidat= ion > work can be addressed in followup patches. Heh, fair enough. > Cheers from Brittany, under the rain. Have fun. Eat some chocolate pancakes for me. --=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 --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXmUSvAAoJEGw4ysog2bOSBWAP/0uAwka2JtHAGz8E5Mbs9yYr hLnj21Q/3tfA/BifzUpZ4ncU5yDFgj6FIrb1EVkXpQmwj6npcktcVoiKu2SS7su+ rDmTWqHRrjLXikOBgpGbWL+yGmbFPYe6vH5SYxQxMcfFB7nowlWL3FrfnBSKLYsB aWyvWseJbBMRmGm6zAEuah3OX6liePQVaQTrI+axbe44DsYuGAYVQPV5kGOweobF cIifXSjuFGAcjz35iamLbb1F0mo+lsDRWanxMoGh2Vb+qWv6Wm5gqs5vQOkUdP0E qA5ibIRb1zhuhgUtSR2buhuTmQ61v/klOMMULDb0Xwb9Hk4BLWJPBa22m5yUlNGb /Bl2jwyqA1DYgp7bzyIIwXjaedzcOZfH0XXFOcCspKTnvd7C1k39MO6e5xQ5RGP/ AvmgnMAXn4o/KBzSYUGSUBy1ITPKHSkWQMyx6sZT1qNsnyPo3uhK8LaPk7TePiUE mEjRFS91KAmI3pJJg/3hy/nb3VbGWga4ULPZ0on0MH7fAUdKmp5gpBZeTR6acXzm eCJrTxNjADbQ8B/yoOC7XK6hw7aOr2+bG5wpscOjZwYNgl7yUvXf1Z723n21fZUv 4EcDn+yCneyA59FiRvqvwD61r+stZ9/oES/2FD32DZIbpE30DTtossOkiYorChur gRchzCa7R555KbgNphJr =pbOi -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--