qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: qemu-devel@nongnu.org
Cc: thuth@redhat.com, qemu-ppc@nongnu.org,
	"Cédric Le Goater" <clg@kaod.org>,
	dgibson@redhat.com, "Gerd Hoffmann" <kraxel@redhat.com>,
	"Greg Kurz" <groug@kaod.org>,
	"Laurent Vivier" <lvivier@redhat.com>
Subject: [Qemu-devel] [PATCH v6 0/4] tests: enable ohci/uhci/xhci tests on PPC64
Date: Wed,  5 Oct 2016 23:50:21 +0200	[thread overview]
Message-ID: <1475704225-32210-1-git-send-email-lvivier@redhat.com> (raw)

This series enables USB tests on PPC64, and for
that implements libqos SPAPR PCI support.

v6:
- Remove Cédric's patch and use memread()/memwrite()
  + cpu_to_leXX()/leXX_to_cpu()

v5:
- Add Cédric's patch providing read/write accessors
  with a specific endianness, and use it
- don't duplicate usb-hcd-uhci-test machine parameters
  and exit gracefully for an unsupported machine

v4:
- rebase on ppc-for-2.8
- move endianness management in pci-spapr.c
  and remove the two useless patches managing that
- Add David's R-b

v3:
- rebase
- minor fixes (commas, comments)
- add Greg's R-b

v2:
- rebase
- revert order in qtest_common_shutdown() to release
  PCI and then memory allocator
- remove useless byte-swapping in qpci-spapr.c
- compute machine endianness on qtest_init()
- introduce target_cpu_to_leXX()/target_cpu_to_beXX()
            target_leXX_to_cpu()/target_beXX_to_cpu()

Laurent Vivier (4):
  libqos: add PPC64 PCI support
  libqos: add PCI management in qtest_vboot()/qtest_shutdown()
  libqos: use generic qtest_shutdown()
  tests: enable ohci/uhci/xhci tests on PPC64

 tests/Makefile.include      |   9 +-
 tests/e1000e-test.c         |   2 +-
 tests/i440fx-test.c         |   2 +-
 tests/ide-test.c            |   2 +-
 tests/ivshmem-test.c        |   2 +-
 tests/libqos/ahci.c         |   2 +-
 tests/libqos/libqos-pc.c    |   8 +-
 tests/libqos/libqos-spapr.c |   8 +-
 tests/libqos/libqos.c       |  32 +++++-
 tests/libqos/libqos.h       |  11 +-
 tests/libqos/pci-pc.c       |  24 +---
 tests/libqos/pci-pc.h       |   3 +-
 tests/libqos/pci-spapr.c    | 272 ++++++++++++++++++++++++++++++++++++++++++++
 tests/libqos/pci-spapr.h    |  17 +++
 tests/libqos/pci.c          |  22 +++-
 tests/libqos/rtas.c         |  45 ++++++++
 tests/libqos/rtas.h         |   4 +
 tests/q35-test.c            |   2 +-
 tests/rtas-test.c           |   2 +-
 tests/rtl8139-test.c        |   2 +-
 tests/tco-test.c            |   2 +-
 tests/usb-hcd-ehci-test.c   |   2 +-
 tests/usb-hcd-uhci-test.c   |  27 +++--
 tests/vhost-user-test.c     |   4 +-
 tests/virtio-9p-test.c      |   2 +-
 tests/virtio-blk-test.c     |   2 +-
 tests/virtio-net-test.c     |   2 +-
 tests/virtio-scsi-test.c    |   2 +-
 28 files changed, 452 insertions(+), 62 deletions(-)
 create mode 100644 tests/libqos/pci-spapr.c
 create mode 100644 tests/libqos/pci-spapr.h

-- 
2.7.4

             reply	other threads:[~2016-10-05 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 21:50 Laurent Vivier [this message]
2016-10-05 21:50 ` [Qemu-devel] [PATCH v6 1/4] libqos: add PPC64 PCI support Laurent Vivier
2016-10-05 21:50 ` [Qemu-devel] [PATCH v6 2/4] libqos: add PCI management in qtest_vboot()/qtest_shutdown() Laurent Vivier
2016-10-05 21:50 ` [Qemu-devel] [PATCH v6 3/4] libqos: use generic qtest_shutdown() Laurent Vivier
2016-10-05 21:50 ` [Qemu-devel] [PATCH v6 4/4] tests: enable ohci/uhci/xhci tests on PPC64 Laurent Vivier

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=1475704225-32210-1-git-send-email-lvivier@redhat.com \
    --to=lvivier@redhat.com \
    --cc=clg@kaod.org \
    --cc=dgibson@redhat.com \
    --cc=groug@kaod.org \
    --cc=kraxel@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).