From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh4cI-0002HO-U0 for qemu-devel@nongnu.org; Mon, 05 Sep 2016 20:51:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh4cH-0003aQ-1Y for qemu-devel@nongnu.org; Mon, 05 Sep 2016 20:51:57 -0400 Date: Tue, 6 Sep 2016 10:50:40 +1000 From: David Gibson Message-ID: <20160906005040.GD2900@voom.fritz.box> References: <1472661255-20160-1-git-send-email-clg@kaod.org> <1472661255-20160-3-git-send-email-clg@kaod.org> <20160905025835.GF2587@voom.fritz.box> <1473058763.2313.40.camel@kernel.crashing.org> <20160905074154.GA7143@voom.fritz.box> <4050eec0-523b-f8a4-eff0-a18e7eb56c4b@kaod.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Gf/FFewwPeBMqCJ" Content-Disposition: inline In-Reply-To: <4050eec0-523b-f8a4-eff0-a18e7eb56c4b@kaod.org> Subject: Re: [Qemu-devel] [PATCH v2 2/7] ppc/pnv: add a PnvChip object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?C=E9dric?= Le Goater Cc: Benjamin Herrenschmidt , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf --3Gf/FFewwPeBMqCJ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 05, 2016 at 11:10:05AM +0200, C=E9dric Le Goater wrote: > On 09/05/2016 09:41 AM, David Gibson wrote: > > On Mon, Sep 05, 2016 at 04:59:23PM +1000, Benjamin Herrenschmidt wrote: > >> On Mon, 2016-09-05 at 12:58 +1000, David Gibson wrote: > >>> > >>> With the new chip class per cpu class, does this chip_type field > >>> serve > >>> any purpose any more? > >>> > >>>> + k->chip_f000f =3D 0x120d304980000000ull; > >>> > >>> A comment somewhere explaining what this cryptic value is would be > >>> nice. > >> > >> It's snapshot from an actual chip ;-) Some of the fields we know about > >> such as the actual chip "type" and DD version but some are obscure even > >> to us :-) > >=20 > > Sorry, I actually meant what does "chip_f000f" mean, rather than what > > does the value inside there mean. >=20 > f000f is the xscom address of the register containing this CFAM=20 > chip id. I will add a chip_cfam_id attribute to the chip object.=20 > I guess it makes more sense. >=20 > Other chips (like the Centaur) have such an ID. Ok. --=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 --3Gf/FFewwPeBMqCJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXzhLgAAoJEGw4ysog2bOSxaoQAJOH6nj0lN1GLBYa8NIlsez0 wYik9VUS7Qz4oN7icT7wMVOZLnYxB70qa3EYpBl9nY+yCwPuLSYVpafXgVuKAp63 Tc7fSdf6fF1AugTnza/wG5Xy//W8V3NPCpVT9SqFBgbhvYxlcjQgpuLwLA+ITsAk WWVVls6JlFdMCHqaKrS55/vzVSC8It0lncXNYvpwyQCKH33nxeDyPzS3Bw++wDZ/ uPUpx/AKwIQ7nrq35jjhOOKxQjIcPMrkM4IcRfb+ujHd0F0PhQNxGuW0WRH+EEgq kIUxloqbwyNMYT28hmM+DoaL6xc9jGVWHGrVjVXL8jNjaaADRBzbZPki3gYn1YGB +at+GrlawbRehbYbBI99IQhnSF6Mj7IXf596KQsNfGflbRheneUiW4gcaLkny0+9 9B0P6ZvWjHu3vLjXMVm8LD69aljehOeAv7PZ2cCAiK02KKzPghX3guiaf56JVb78 00mg30Wm5qO1WkpvvFNM+u14p+L/zDSRV0GnWH/PDKiWtm7QO6s8FnNHVVovISOI zW2LPz5Np9ASvkWK542eJ3dv64TdX1NLxE9gn0Tju1738++nhp40s8alaUQBNixi +ZI/B0e9KyP4ZPOtjAFHJ6dYbSoXLB2SyOB+NyLPsOCVF5PgJ5t3l56RCcXoicrO 7Vn+Ykxc+MiQ1gMKy9uk =BRIM -----END PGP SIGNATURE----- --3Gf/FFewwPeBMqCJ--