All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: "Cédric Le Goater" <clg@kaod.org>
Cc: Thomas Huth <thuth@redhat.com>, Alexander Graf <agraf@suse.de>,
	qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] boot-serial-test: Add a test for the powernv machine
Date: Thu, 10 Nov 2016 11:59:26 +1100	[thread overview]
Message-ID: <20161110005926.GC18060@umbus.fritz.box> (raw)
In-Reply-To: <f4adeb61-8fea-33b1-eaf2-e0784a41acfe@kaod.org>

[-- Attachment #1: Type: text/plain, Size: 1546 bytes --]

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 <clg@kaod.org>
> >>
> >>
> >>
> >> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-11-10  2:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 12:36 [Qemu-devel] [PATCH] boot-serial-test: Add a test for the powernv machine Thomas Huth
2016-11-08 13:05 ` Cédric Le Goater
2016-11-09  1:02   ` David Gibson
2016-11-09  6:00     ` Cédric Le Goater
2016-11-10  0:59       ` David Gibson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161110005926.GC18060@umbus.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=agraf@suse.de \
    --cc=clg@kaod.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.