From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Hrw-0008Dk-QB for qemu-devel@nongnu.org; Tue, 08 Nov 2016 20:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Hrt-00032L-Fl for qemu-devel@nongnu.org; Tue, 08 Nov 2016 20:40:04 -0500 Date: Wed, 9 Nov 2016 12:02:34 +1100 From: David Gibson Message-ID: <20161109010234.GA427@umbus.fritz.box> References: <1478608613-486-1-git-send-email-thuth@redhat.com> <772707af-cde3-7425-c13f-1058fc76756f@kaod.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <772707af-cde3-7425-c13f-1058fc76756f@kaod.org> 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 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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". >=20 > and we see the minimum : >=20 > [8450016,6] CPU: P9 generation processor(max 4 threads/core) >=20 > Reviewed-by: C=E9dric Le Goater >=20 >=20 >=20 > With very minimal changes (definition of some SPRs and the use=20 > of the SHV mode), the guest would load the kernel. Applied to ppc-for-2.8. Good to have this basic smoke test for powernv. >=20 > Thanks, >=20 > C. >=20 >=20 > > Signed-off-by: Thomas Huth > > --- > > tests/boot-serial-test.c | 1 + > > 1 file changed, 1 insertion(+) > >=20 > > diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c > > index d98c564..44c82e5 100644 > > --- a/tests/boot-serial-test.c > > +++ b/tests/boot-serial-test.c > > @@ -29,6 +29,7 @@ static testdef_t tests[] =3D { > > { "ppc64", "ppce500", "", "U-Boot" }, > > { "ppc64", "prep", "", "Open Hack'Ware BIOS" }, > > { "ppc64", "pseries", "", "Open Firmware" }, > > + { "ppc64", "powernv", "-cpu POWER9", "SkiBoot" }, > > { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" }, > > { "i386", "pc", "-device sga", "SGABIOS" }, > > { "i386", "q35", "-device sga", "SGABIOS" }, > >=20 >=20 --=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 --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYInWnAAoJEGw4ysog2bOSry0P/3XrrKaiP+5OqCMr9lFaRGlZ 0+g5YL0vDNI1WqoNxYBwX4OBwcqu7bTuX9UmEN7TBLZu31e3nRVIXNMC2I9qGpFd FILmRAe4R0V6x9FzRUtij6Q7vKlGjijzQz0AMubl+We+7orAhwNAIu1sBe8owGvR aNXibDOgvhX26hA0qQ6/2ZGTOOLA1vA92//DDQhHlzUO3+Hrxv9Z+OwSDxhCdR3y nb36Xf/vFaB0eNwfnl+aCczW1kPx+Viu17EWtJOjWHZain+drhvRrSjw0quT8nYb CAGfTaQuWSVPW7iCjYAioEPUQ8X9/yKnBOJGaIv8UsbglHOVHoN2vrztBwSdSlGS pTaPSXtaMEXpk/86si29l0fLKxR901oK7AiO90TJVVvDTYeKfrcXRbQ1rUee3pVg oOK9NNA7F3znFoz7kX0p5vZpCSwhZ6DDVrtqVtVgIWsQDgpFM16ndGxzTMDoILMr LTIQ+XF2vkXb9DaFhTctOmZKePOZiXhtmgT4T/D40IFt4yy9azaXINNC1NxCbVPe FPEWREuoCMeKBGspjr6rA5Enm+gMhKw6NhpbinQCmKTUxOTNHDWxKCgs1BqRTJJD ZErGeFn+ws4KK0XYZCf58wDo7gDHbGdhMKZLluX0QQeA5sW8wTLvLpjbKqGzoT8Z oXFMLLa4FhBShjQQ2CpW =85+n -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--