qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH] boot-serial-test: Add a test for the powernv mach


From: David Gibson
Subject: Re: [Qemu-ppc] [PATCH] boot-serial-test: Add a test for the powernv machine
Date: Thu, 10 Nov 2016 11:59:26 +1100
User-agent: Mutt/1.7.1 (2016-10-04)

On Wed, Nov 09, 2016 at 07:00:42AM +0100, Cédric Le Goater wrote:
> On 11/09/2016 02:02 AM, David Gibson wrote:
> > On Tue, Nov 08, 2016 at 02:05:35PM +0100, Cédric 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édric Le Goater <address@hidden>
> >>
> >>
> >>
> >> With very minimal changes (definition of some SPRs and the use 
> >> 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.
> 
> yes. qom-test is also starting a powernv guest.
> 
> skiboot has a cool little program called hello_kernel that can be 
> run in place of the real kernel, but that's beyond the qemu layer 
> I guess 
> 
> 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.

-- 
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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]