From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bru5D-0008Sf-3x for qemu-devel@nongnu.org; Wed, 05 Oct 2016 17:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bru58-0000mc-TM for qemu-devel@nongnu.org; Wed, 05 Oct 2016 17:50:35 -0400 From: Laurent Vivier Date: Wed, 5 Oct 2016 23:50:21 +0200 Message-Id: <1475704225-32210-1-git-send-email-lvivier@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v6 0/4] tests: enable ohci/uhci/xhci tests on PPC64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: thuth@redhat.com, qemu-ppc@nongnu.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , dgibson@redhat.com, Gerd Hoffmann , Greg Kurz , Laurent Vivier This series enables USB tests on PPC64, and for that implements libqos SPAPR PCI support. v6: - Remove C=C3=A9dric's patch and use memread()/memwrite() + cpu_to_leXX()/leXX_to_cpu() v5: - Add C=C3=A9dric'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 --=20 2.7.4