From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4LwP-0006Me-PX for qemu-devel@nongnu.org; Wed, 09 Nov 2016 01:00:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4LwL-000470-JH for qemu-devel@nongnu.org; Wed, 09 Nov 2016 01:00:56 -0500 Received: from 5.mo179.mail-out.ovh.net ([46.105.43.140]:48739) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4LwL-000464-Cj for qemu-devel@nongnu.org; Wed, 09 Nov 2016 01:00:53 -0500 Received: from player792.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id 6AF7D640F for ; Wed, 9 Nov 2016 07:00:48 +0100 (CET) References: <1478608613-486-1-git-send-email-thuth@redhat.com> <772707af-cde3-7425-c13f-1058fc76756f@kaod.org> <20161109010234.GA427@umbus.fritz.box> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: Date: Wed, 9 Nov 2016 07:00:42 +0100 MIME-Version: 1.0 In-Reply-To: <20161109010234.GA427@umbus.fritz.box> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: David Gibson Cc: Thomas Huth , Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org 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. yes. qom-test is also starting a powernv guest. 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 For qemu, maybe we could do xscom accesses to test some devices. C.