From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4ege-0001nK-V2 for qemu-devel@nongnu.org; Wed, 09 Nov 2016 21:01:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4egb-000087-Tx for qemu-devel@nongnu.org; Wed, 09 Nov 2016 21:01:57 -0500 Date: Thu, 10 Nov 2016 11:59:26 +1100 From: David Gibson Message-ID: <20161110005926.GC18060@umbus.fritz.box> References: <1478608613-486-1-git-send-email-thuth@redhat.com> <772707af-cde3-7425-c13f-1058fc76756f@kaod.org> <20161109010234.GA427@umbus.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f+W+jCU1fRNres8c" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] boot-serial-test: Add a test for the powernv machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?C=E9dric?= Le Goater Cc: Thomas Huth , Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org --f+W+jCU1fRNres8c Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 09, 2016 at 07:00:42AM +0100, C=E9dric Le Goater wrote: > On 11/09/2016 02:02 AM, David Gibson wrote: > > On Tue, Nov 08, 2016 at 02:05:35PM +0100, C=E9dric Le Goater wrote: > >> On 11/08/2016 01:36 PM, Thomas Huth wrote: > >>> The new powernv machine ships with a firmware that outputs > >>> some text to the serial console, so we can automatically > >>> test this machine type in the boot-serial tester, too. > >>> And to get some (very limited) test coverage for the new > >>> POWER9 CPU emulation, too, this test is also started with > >>> "-cpu POWER9". > >> > >> and we see the minimum : > >> > >> [8450016,6] CPU: P9 generation processor(max 4 threads/core) > >> > >> Reviewed-by: C=E9dric Le Goater > >> > >> > >> > >> With very minimal changes (definition of some SPRs and the use=20 > >> of the SHV mode), the guest would load the kernel. > >=20 > > Applied to ppc-for-2.8. Good to have this basic smoke test for > > powernv. >=20 > yes. qom-test is also starting a powernv guest. >=20 > skiboot has a cool little program called hello_kernel that can be=20 > run in place of the real kernel, but that's beyond the qemu layer=20 > I guess=20 >=20 > For qemu, maybe we could do xscom accesses to test some devices. That would be good - the qtest framework is basically made for this sort of thing. --=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 --f+W+jCU1fRNres8c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYI8ZsAAoJEGw4ysog2bOSLhoP/iEeRjQnek8Ae4Ggz3z3+Bxe 7sMsO6FejMd49DVsIrCutIEWxKDMgsd8/Zff1c0O687xnro4QG8dgtYVg4S8ybPM Oo42yEdEh7yFirV3khsTLrMm/LE8FOst+77N/sqCUhkK6rWckIaHfl3MSC8qid6V 6NsTlh6QzSKlWCn7OBvm/K/9jb4nQ6dkFU99+ND3yBH0J2k9+iSCESpGQQ/PBU0O DgSOi9HRuxTnLhOo+IZKz0uh5myvWrhZVxKY0Z7py3gnY3tX+cY8wkSsa2JOeTo4 sIX48u3MumY8FJeeNLW8Kwv0YV/KP28wCG0NurUvgGCyMnSK5qSE9XJxAvEwmn/p fIyPnSG8ms9GbV/vuxSMTDsfaralzAQfda6SfP5h8UoT/6bz7UkIuGbRt5bwLlP3 qi4U6by9egsr47KjUfD3xjJLiCxrmsqNNWByrxNab/kD66LDmbgsM7JFdHo+9v2I Oy0LWHn3bIeyn1/l8rJY15V7Q+420Ov0B8zMqKN/A0f7GdhKcP4/7aaRh0qbMkdW +O2p5QI7Q1uiR50AjIJH9Yb/7Z8IJEisDEn+Z5DMjWIew2utaogfRF2jqkOh+Yge UHFCJ3EvnuAp4SxFq95Al8674mhV05/OIYKxLcZpYG+j+EEzB2/yVRqiAmGfZnfP MdabimsMAyqGvLdjaEI8 =dXlF -----END PGP SIGNATURE----- --f+W+jCU1fRNres8c--