qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kurz <groug@kaod.org>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: Laurent Vivier <lvivier@redhat.com>,
	thuth@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v8 0/3] tests: add RTAS protocol
Date: Wed, 14 Sep 2016 11:07:59 +0200	[thread overview]
Message-ID: <20160914110759.7ae0fcbd@bahia> (raw)
In-Reply-To: <20160914032337.GG15077@voom.fritz.box>

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

On Wed, 14 Sep 2016 13:23:37 +1000
David Gibson <david@gibson.dropbear.id.au> wrote:

> On Tue, Sep 13, 2016 at 02:52:42PM +0200, Laurent Vivier wrote:
> > This series allows to call RTAS commands from the qtest framework,
> > and defines a first test to call RTAS command "get-time-of-day"
> > to validate the protocol and test RTAS.
> > 
> > RTAS command parameters are passed to the guest via the
> > guest memory, so we also need to implement the guest memory
> > management functions for SPAPR target.
> > 
> > RTAS commands will be needed later to test PCI from the qtest framework
> > with SPAPR virtual machines: PCI configuration is read/written with
> > RTAS commands "ibm,read-pci-config", "ibm,write-pci-config".  
> 
> I've applied the series to ppc-for-2.8, at least assuming no-one has
> any objections to this coming through my tree.
> 

BTW, should the new files introduced by this patchset be added to
MAINTAINERS ?

> > 
> > v8:
> > - exit if RTAS is not started with qemu-system-ppc64
> > 
> > v7:
> > - don't allocate twice the memory for the RTAS call
> > - add "-machine pseries" in rtas-test to be sure to use 
> >   the good machine type (with RTAS support).
> > 
> > v6:
> > - rebase
> > - remove useless include
> > 
> > v5:
> > - replace "ppc64" by "spapr"
> > - define and use qtest_spapr_vboot()/qtest_spapr_boot()/qtest_spapr_shutdown()
> > 
> > v4:
> > - use qemu_strtoXXX() instead strtoXX(),
> >   add a patch in the series to change all strtoXX() in qtest.c
> > 
> > v3:
> > - use mktimegm() instead of timegm()
> > 
> > v2:
> > - remove useless parenthesis, inline
> > - add a missing space in qrtas_call() prototype
> > 
> > Laurent Vivier (3):
> >   qtest: replace strtoXX() by qemu_strtoXX()
> >   libqos: define SPAPR libqos functions
> >   tests: add RTAS command in the protocol
> > 
> >  hw/ppc/spapr_rtas.c         | 19 ++++++++++++
> >  include/hw/ppc/spapr_rtas.h | 10 +++++++
> >  qtest.c                     | 66 ++++++++++++++++++++++++++---------------
> >  tests/Makefile.include      |  5 ++++
> >  tests/libqos/libqos-pc.c    |  2 ++
> >  tests/libqos/libqos-spapr.c | 30 +++++++++++++++++++
> >  tests/libqos/libqos-spapr.h | 10 +++++++
> >  tests/libqos/libqos.c       |  1 -
> >  tests/libqos/malloc-spapr.c | 38 ++++++++++++++++++++++++
> >  tests/libqos/malloc-spapr.h | 17 +++++++++++
> >  tests/libqos/rtas.c         | 71 +++++++++++++++++++++++++++++++++++++++++++++
> >  tests/libqos/rtas.h         | 11 +++++++
> >  tests/libqtest.c            | 10 +++++++
> >  tests/libqtest.h            | 15 ++++++++++
> >  tests/rtas-test.c           | 41 ++++++++++++++++++++++++++
> >  15 files changed, 322 insertions(+), 24 deletions(-)
> >  create mode 100644 include/hw/ppc/spapr_rtas.h
> >  create mode 100644 tests/libqos/libqos-spapr.c
> >  create mode 100644 tests/libqos/libqos-spapr.h
> >  create mode 100644 tests/libqos/malloc-spapr.c
> >  create mode 100644 tests/libqos/malloc-spapr.h
> >  create mode 100644 tests/libqos/rtas.c
> >  create mode 100644 tests/libqos/rtas.h
> >  create mode 100644 tests/rtas-test.c
> >   
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2016-09-14  9:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13 12:52 [Qemu-devel] [PATCH v8 0/3] tests: add RTAS protocol Laurent Vivier
2016-09-13 12:52 ` [Qemu-devel] [PATCH v8 1/3] qtest: replace strtoXX() by qemu_strtoXX() Laurent Vivier
2016-09-13 12:52 ` [Qemu-devel] [PATCH v8 2/3] libqos: define SPAPR libqos functions Laurent Vivier
2016-09-13 12:52 ` [Qemu-devel] [PATCH v8 3/3] tests: add RTAS command in the protocol Laurent Vivier
2016-09-14  3:22   ` David Gibson
2016-09-14  9:05     ` [Qemu-devel] [Qemu-ppc] " Greg Kurz
2016-09-14 10:51       ` David Gibson
2016-09-14  3:23 ` [Qemu-devel] [PATCH v8 0/3] tests: add RTAS protocol David Gibson
2016-09-14  9:07   ` Greg Kurz [this message]
2016-09-14 10:51     ` [Qemu-devel] [Qemu-ppc] " David Gibson

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=20160914110759.7ae0fcbd@bahia \
    --to=groug@kaod.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).