MAINTAINERS | 6 + default-configs/ppcemb-softmmu.mak | 1 + hw/display/sm501.c | 30 +++ hw/i2c/ppc4xx_i2c.c | 198 +++++++++++++++++--- hw/ide/Makefile.objs | 1 + hw/ide/sii3112.c | 368 +++++++++++++++++++++++++++++++++++++ hw/ide/trace-events | 5 + hw/ppc/Makefile.objs | 2 +- hw/ppc/pnv.c | 94 +++++----- hw/ppc/pnv_bmc.c | 2 +- hw/ppc/pnv_core.c | 8 +- hw/ppc/pnv_lpc.c | 6 +- hw/ppc/pnv_psi.c | 4 +- hw/ppc/pnv_xscom.c | 10 +- hw/ppc/spapr.c | 47 +++-- hw/ppc/spapr_caps.c | 341 ++++++++++++++++++++++++++++++++++ hw/ppc/spapr_pci.c | 6 +- hw/ppc/spapr_pci_vfio.c | 2 +- include/hw/i2c/ppc4xx_i2c.h | 3 + include/hw/ppc/pnv.h | 10 +- include/hw/ppc/pnv_xscom.h | 4 +- include/hw/ppc/spapr.h | 46 +++++ pc-bios/README | 2 +- pc-bios/slof.bin | Bin 905200 -> 913880 bytes roms/SLOF | 2 +- target/ppc/kvm.c | 27 +-- target/ppc/kvm_ppc.h | 2 - target/ppc/translate.c | 29 ++- 28 files changed, 1095 insertions(+), 161 deletions(-) create mode 100644 hw/ide/sii3112.c create mode 100644 hw/ppc/spapr_caps.c
The following changes since commit eaefea537b476cb853e2edbdc68e969ec777e4bb: Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging (2017-12-18 14:17:42 +0000) are available in the Git repository at: git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20171219 for you to fetch changes up to eec745d4366076dee068750ea80245e1a46e9c13: hw/ide: Emulate SiI3112 SATA controller (2017-12-19 15:24:28 +1100) ---------------------------------------------------------------- ppc patch queue 2017-12-19 Here's a second batch of patches for qemu-2.12. Highlights are: * Optional capabilities for the "pseries" machine. This removes some places where we were changing guest visible properties based on host capabilities, which makes life very bad for migration. * SLOF update * Significant TCG speedup from Paolo * Several new devices for embedded platforms * Some minor cleanups ---------------------------------------------------------------- Alexey Kardashevskiy (1): pseries: Update SLOF firmware image to qemu-slof-20171214 BALATON Zoltan (4): sm501: Add panel hardware cursor registers also to read function sm501: Add some more unimplemented registers ppc4xx_i2c: Implement basic I2C functions hw/ide: Emulate SiI3112 SATA controller Cédric Le Goater (1): ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency David Gibson (6): spapr: Capabilities infrastructure spapr: Treat Hardware Transactional Memory (HTM) as an optional capability spapr: Validate capabilities on migration target/ppc: Clean up probing of VMX, VSX and DFP availability on KVM spapr: Handle VMX/VSX presence as an spapr capability flag spapr: Handle Decimal Floating Point (DFP) as an optional capability Greg Kurz (1): spapr_pci: use warn_report() pbonzini@redhat.com (1): target-ppc: optimize cmp translation MAINTAINERS | 6 + default-configs/ppcemb-softmmu.mak | 1 + hw/display/sm501.c | 30 +++ hw/i2c/ppc4xx_i2c.c | 198 +++++++++++++++++--- hw/ide/Makefile.objs | 1 + hw/ide/sii3112.c | 368 +++++++++++++++++++++++++++++++++++++ hw/ide/trace-events | 5 + hw/ppc/Makefile.objs | 2 +- hw/ppc/pnv.c | 94 +++++----- hw/ppc/pnv_bmc.c | 2 +- hw/ppc/pnv_core.c | 8 +- hw/ppc/pnv_lpc.c | 6 +- hw/ppc/pnv_psi.c | 4 +- hw/ppc/pnv_xscom.c | 10 +- hw/ppc/spapr.c | 47 +++-- hw/ppc/spapr_caps.c | 341 ++++++++++++++++++++++++++++++++++ hw/ppc/spapr_pci.c | 6 +- hw/ppc/spapr_pci_vfio.c | 2 +- include/hw/i2c/ppc4xx_i2c.h | 3 + include/hw/ppc/pnv.h | 10 +- include/hw/ppc/pnv_xscom.h | 4 +- include/hw/ppc/spapr.h | 46 +++++ pc-bios/README | 2 +- pc-bios/slof.bin | Bin 905200 -> 913880 bytes roms/SLOF | 2 +- target/ppc/kvm.c | 27 +-- target/ppc/kvm_ppc.h | 2 - target/ppc/translate.c | 29 ++- 28 files changed, 1095 insertions(+), 161 deletions(-) create mode 100644 hw/ide/sii3112.c create mode 100644 hw/ppc/spapr_caps.c
On 19 December 2017 at 04:29, David Gibson <david@gibson.dropbear.id.au> wrote: > The following changes since commit eaefea537b476cb853e2edbdc68e969ec777e4bb: > > Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging (2017-12-18 14:17:42 +0000) > > are available in the Git repository at: > > git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20171219 > > for you to fetch changes up to eec745d4366076dee068750ea80245e1a46e9c13: > > hw/ide: Emulate SiI3112 SATA controller (2017-12-19 15:24:28 +1100) > > ---------------------------------------------------------------- > ppc patch queue 2017-12-19 > > Here's a second batch of patches for qemu-2.12. Highlights are: > > * Optional capabilities for the "pseries" machine. This removes > some places where we were changing guest visible properties based > on host capabilities, which makes life very bad for migration. > * SLOF update > * Significant TCG speedup from Paolo > * Several new devices for embedded platforms > * Some minor cleanups > Migration test hangs on aarch32 host/ppc guest: peter.m+ 3942 0.0 0.0 1452 412 pts/0 S+ Dec19 0:00 | \_ /bin/sh -c QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 QTEST_QEMU_IMG=qemu-img MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} gtester -k --verbose -m=quick tests/spapr-phb-test tests/endianness-test tests/boot-order-test tests/prom-env-test tests/pnv-xscom-test tests/drive_del-test tests/migration-test tests/boot-serial-test tests/rtas-test tests/pxe-test tests/usb-hcd-ohci-test tests/usb-hcd-uhci-test tests/usb-hcd-xhci-test tests/virtio-net-test tests/virtio-balloon-test tests/virtio-blk-test tests/virtio-rng-test tests/virtio-scsi-test tests/virtio-9p-test tests/virtio-serial-test tests/virtio-console-test tests/test-netfilter tests/test-filter-mirror tests/test-filter-redirector tests/display-vga-test tests/numa-test tests/ivshmem-test tests/qmp-test tests/device-introspect-test tests/qom-test tests/test-hmp peter.m+ 3943 0.0 0.0 11984 1828 pts/0 Sl+ Dec19 0:00 | \_ gtester -k --verbose -m=quick tests/spapr-phb-test tests/endianness-test tests/boot-order-test tests/prom-env-test tests/pnv-xscom-test tests/drive_del-test tests/migration-test tests/boot-serial-test tests/rtas-test tests/pxe-test tests/usb-hcd-ohci-test tests/usb-hcd-uhci-test tests/usb-hcd-xhci-test tests/virtio-net-test tests/virtio-balloon-test tests/virtio-blk-test tests/virtio-rng-test tests/virtio-scsi-test tests/virtio-9p-test tests/virtio-serial-test tests/virtio-console-test tests/test-netfilter tests/test-filter-mirror tests/test-filter-redirector tests/display-vga-test tests/numa-test tests/ivshmem-test tests/qmp-test tests/device-introspect-test tests/qom-test tests/test-hmp peter.m+ 4041 99.9 0.0 3460 824 pts/0 R+ Dec19 809:16 | \_ tests/migration-test --quiet --keep-going -m=quick --GTestLogFD=6 peter.m+ 4042 99.9 0.4 607804 72924 pts/0 Sl+ Dec19 809:50 | \_ ppc64-softmmu/qemu-system-ppc64 -qtest unix:/tmp/qtest-4041.sock,nowait -qtest-log /dev/null -qmp unix:/tmp/qtest-4041.qmp,nowait -machine accel=qtest -display none -machine accel=tcg -m 256M -name pcsource,debug-threads=on -serial file:/tmp/migration-test-vxvkIZ/src_serial -drive file=/tmp/migration-test-vxvkIZ/bootsect,if=pflash,format=raw peter.m+ 4046 0.0 0.3 596596 49696 pts/0 Sl+ Dec19 0:01 | \_ ppc64-softmmu/qemu-system-ppc64 -qtest unix:/tmp/qtest-4041.sock,nowait -qtest-log /dev/null -qmp unix:/tmp/qtest-4041.qmp,nowait -machine accel=qtest -display none -machine accel=tcg -m 256M -name pcdest,debug-threads=on -serial file:/tmp/migration-test-vxvkIZ/dest_serial -incoming unix:/tmp/migration-test-vxvkIZ/migsocket Process 4041/4042 are using 100% CPU. $ QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 gtester -k --verbose -m=quick tests/migration-test TEST: tests/migration-test... (pid=5441) /ppc64/migration/postcopy/unix: [hangs] My first guess is that this is a general 32-bit host issue rather than an arm-host specific one; arm just happens to be the only 32-bit system in my test set. thanks -- PMM
On Wed, Dec 20, 2017 at 11:29:36AM +0000, Peter Maydell wrote: > On 19 December 2017 at 04:29, David Gibson <david@gibson.dropbear.id.au> wrote: > > The following changes since commit eaefea537b476cb853e2edbdc68e969ec777e4bb: > > > > Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging (2017-12-18 14:17:42 +0000) > > > > are available in the Git repository at: > > > > git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20171219 > > > > for you to fetch changes up to eec745d4366076dee068750ea80245e1a46e9c13: > > > > hw/ide: Emulate SiI3112 SATA controller (2017-12-19 15:24:28 +1100) > > > > ---------------------------------------------------------------- > > ppc patch queue 2017-12-19 > > > > Here's a second batch of patches for qemu-2.12. Highlights are: > > > > * Optional capabilities for the "pseries" machine. This removes > > some places where we were changing guest visible properties based > > on host capabilities, which makes life very bad for migration. > > * SLOF update > > * Significant TCG speedup from Paolo > > * Several new devices for embedded platforms > > * Some minor cleanups > > > > Migration test hangs on aarch32 host/ppc guest: > > peter.m+ 3942 0.0 0.0 1452 412 pts/0 S+ Dec19 0:00 | > \_ /bin/sh -c > QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 > QTEST_QEMU_IMG=qemu-img MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( > ${RANDOM:-0} % 255 + 1))} gtester -k --verbose -m=quick > tests/spapr-phb-test tests/endianness-test tests/boot-order-test > tests/prom-env-test tests/pnv-xscom-test tests/drive_del-test > tests/migration-test tests/boot-serial-test tests/rtas-test > tests/pxe-test tests/usb-hcd-ohci-test tests/usb-hcd-uhci-test > tests/usb-hcd-xhci-test tests/virtio-net-test > tests/virtio-balloon-test tests/virtio-blk-test tests/virtio-rng-test > tests/virtio-scsi-test tests/virtio-9p-test tests/virtio-serial-test > tests/virtio-console-test tests/test-netfilter > tests/test-filter-mirror tests/test-filter-redirector > tests/display-vga-test tests/numa-test tests/ivshmem-test > tests/qmp-test tests/device-introspect-test tests/qom-test > tests/test-hmp > peter.m+ 3943 0.0 0.0 11984 1828 pts/0 Sl+ Dec19 0:00 | > \_ gtester -k --verbose -m=quick > tests/spapr-phb-test tests/endianness-test tests/boot-order-test > tests/prom-env-test tests/pnv-xscom-test tests/drive_del-test > tests/migration-test tests/boot-serial-test tests/rtas-test > tests/pxe-test tests/usb-hcd-ohci-test tests/usb-hcd-uhci-test > tests/usb-hcd-xhci-test tests/virtio-net-test > tests/virtio-balloon-test tests/virtio-blk-test tests/virtio-rng-test > tests/virtio-scsi-test tests/virtio-9p-test tests/virtio-serial-test > tests/virtio-console-test tests/test-netfilter > tests/test-filter-mirror tests/test-filter-redirector > tests/display-vga-test tests/numa-test tests/ivshmem-test > tests/qmp-test tests/device-introspect-test tests/qom-test > tests/test-hmp > peter.m+ 4041 99.9 0.0 3460 824 pts/0 R+ Dec19 809:16 | > \_ tests/migration-test --quiet > --keep-going -m=quick --GTestLogFD=6 > peter.m+ 4042 99.9 0.4 607804 72924 pts/0 Sl+ Dec19 809:50 | > \_ ppc64-softmmu/qemu-system-ppc64 > -qtest unix:/tmp/qtest-4041.sock,nowait -qtest-log /dev/null -qmp > unix:/tmp/qtest-4041.qmp,nowait -machine accel=qtest -display none > -machine accel=tcg -m 256M -name pcsource,debug-threads=on -serial > file:/tmp/migration-test-vxvkIZ/src_serial -drive > file=/tmp/migration-test-vxvkIZ/bootsect,if=pflash,format=raw > peter.m+ 4046 0.0 0.3 596596 49696 pts/0 Sl+ Dec19 0:01 | > \_ ppc64-softmmu/qemu-system-ppc64 > -qtest unix:/tmp/qtest-4041.sock,nowait -qtest-log /dev/null -qmp > unix:/tmp/qtest-4041.qmp,nowait -machine accel=qtest -display none > -machine accel=tcg -m 256M -name pcdest,debug-threads=on -serial > file:/tmp/migration-test-vxvkIZ/dest_serial -incoming > unix:/tmp/migration-test-vxvkIZ/migsocket > > > Process 4041/4042 are using 100% CPU. > > $ QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 gtester -k > --verbose -m=quick tests/migration-test > TEST: tests/migration-test... (pid=5441) > /ppc64/migration/postcopy/unix: > [hangs] > > My first guess is that this is a general 32-bit host issue > rather than an arm-host specific one; arm just happens to > be the only 32-bit system in my test set. Oh :(. I ran make check SPEED=slow in a 32-bit x86 container before sending the pull request, and I just retried it now, so that doesn't appear to be the case. I haven't the foggiest what could be broken in an arm host specific way, though. Nor do I have easy access to an arm system to track it down on. -- 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
On Thu, Dec 21, 2017 at 12:45:50AM +1100, David Gibson wrote: > On Wed, Dec 20, 2017 at 11:29:36AM +0000, Peter Maydell wrote: > > On 19 December 2017 at 04:29, David Gibson <david@gibson.dropbear.id.au> wrote: > > > The following changes since commit eaefea537b476cb853e2edbdc68e969ec777e4bb: > > > > > > Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging (2017-12-18 14:17:42 +0000) > > > > > > are available in the Git repository at: > > > > > > git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20171219 > > > > > > for you to fetch changes up to eec745d4366076dee068750ea80245e1a46e9c13: > > > > > > hw/ide: Emulate SiI3112 SATA controller (2017-12-19 15:24:28 +1100) > > > > > > ---------------------------------------------------------------- > > > ppc patch queue 2017-12-19 > > > > > > Here's a second batch of patches for qemu-2.12. Highlights are: > > > > > > * Optional capabilities for the "pseries" machine. This removes > > > some places where we were changing guest visible properties based > > > on host capabilities, which makes life very bad for migration. > > > * SLOF update > > > * Significant TCG speedup from Paolo > > > * Several new devices for embedded platforms > > > * Some minor cleanups > > > > > > > Migration test hangs on aarch32 host/ppc guest: > > > > peter.m+ 3942 0.0 0.0 1452 412 pts/0 S+ Dec19 0:00 | > > \_ /bin/sh -c > > QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 > > QTEST_QEMU_IMG=qemu-img MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( > > ${RANDOM:-0} % 255 + 1))} gtester -k --verbose -m=quick > > tests/spapr-phb-test tests/endianness-test tests/boot-order-test > > tests/prom-env-test tests/pnv-xscom-test tests/drive_del-test > > tests/migration-test tests/boot-serial-test tests/rtas-test > > tests/pxe-test tests/usb-hcd-ohci-test tests/usb-hcd-uhci-test > > tests/usb-hcd-xhci-test tests/virtio-net-test > > tests/virtio-balloon-test tests/virtio-blk-test tests/virtio-rng-test > > tests/virtio-scsi-test tests/virtio-9p-test tests/virtio-serial-test > > tests/virtio-console-test tests/test-netfilter > > tests/test-filter-mirror tests/test-filter-redirector > > tests/display-vga-test tests/numa-test tests/ivshmem-test > > tests/qmp-test tests/device-introspect-test tests/qom-test > > tests/test-hmp > > peter.m+ 3943 0.0 0.0 11984 1828 pts/0 Sl+ Dec19 0:00 | > > \_ gtester -k --verbose -m=quick > > tests/spapr-phb-test tests/endianness-test tests/boot-order-test > > tests/prom-env-test tests/pnv-xscom-test tests/drive_del-test > > tests/migration-test tests/boot-serial-test tests/rtas-test > > tests/pxe-test tests/usb-hcd-ohci-test tests/usb-hcd-uhci-test > > tests/usb-hcd-xhci-test tests/virtio-net-test > > tests/virtio-balloon-test tests/virtio-blk-test tests/virtio-rng-test > > tests/virtio-scsi-test tests/virtio-9p-test tests/virtio-serial-test > > tests/virtio-console-test tests/test-netfilter > > tests/test-filter-mirror tests/test-filter-redirector > > tests/display-vga-test tests/numa-test tests/ivshmem-test > > tests/qmp-test tests/device-introspect-test tests/qom-test > > tests/test-hmp > > peter.m+ 4041 99.9 0.0 3460 824 pts/0 R+ Dec19 809:16 | > > \_ tests/migration-test --quiet > > --keep-going -m=quick --GTestLogFD=6 > > peter.m+ 4042 99.9 0.4 607804 72924 pts/0 Sl+ Dec19 809:50 | > > \_ ppc64-softmmu/qemu-system-ppc64 > > -qtest unix:/tmp/qtest-4041.sock,nowait -qtest-log /dev/null -qmp > > unix:/tmp/qtest-4041.qmp,nowait -machine accel=qtest -display none > > -machine accel=tcg -m 256M -name pcsource,debug-threads=on -serial > > file:/tmp/migration-test-vxvkIZ/src_serial -drive > > file=/tmp/migration-test-vxvkIZ/bootsect,if=pflash,format=raw > > peter.m+ 4046 0.0 0.3 596596 49696 pts/0 Sl+ Dec19 0:01 | > > \_ ppc64-softmmu/qemu-system-ppc64 > > -qtest unix:/tmp/qtest-4041.sock,nowait -qtest-log /dev/null -qmp > > unix:/tmp/qtest-4041.qmp,nowait -machine accel=qtest -display none > > -machine accel=tcg -m 256M -name pcdest,debug-threads=on -serial > > file:/tmp/migration-test-vxvkIZ/dest_serial -incoming > > unix:/tmp/migration-test-vxvkIZ/migsocket > > > > > > Process 4041/4042 are using 100% CPU. > > > > $ QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64 gtester -k > > --verbose -m=quick tests/migration-test > > TEST: tests/migration-test... (pid=5441) > > /ppc64/migration/postcopy/unix: > > [hangs] > > > > My first guess is that this is a general 32-bit host issue > > rather than an arm-host specific one; arm just happens to > > be the only 32-bit system in my test set. > > Oh :(. I ran make check SPEED=slow in a 32-bit x86 container before > sending the pull request, and I just retried it now, so that doesn't > appear to be the case. > > I haven't the foggiest what could be broken in an arm host specific > way, though. Nor do I have easy access to an arm system to track it > down on. After I sent that I remembered my Raspberry Pi. Unfortunately, after spending most of the day getting it compiled, I wasn't able to reproduce the problem. The migration-test completed just fine with my ppc-for-2.12 tree. I'm not sure where to go from here, I don't even have a guess as to which patch in the series might be causing the problem, since none of them seem likely candidates. -- 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
On 21 December 2017 at 08:40, David Gibson <david@gibson.dropbear.id.au> wrote: > On Thu, Dec 21, 2017 at 12:45:50AM +1100, David Gibson wrote: >> Oh :(. I ran make check SPEED=slow in a 32-bit x86 container before >> sending the pull request, and I just retried it now, so that doesn't >> appear to be the case. >> >> I haven't the foggiest what could be broken in an arm host specific >> way, though. Nor do I have easy access to an arm system to track it >> down on. > > After I sent that I remembered my Raspberry Pi. Unfortunately, after > spending most of the day getting it compiled, I wasn't able to > reproduce the problem. The migration-test completed just fine with my > ppc-for-2.12 tree. > > I'm not sure where to go from here, I don't even have a guess as to > which patch in the series might be causing the problem, since none of > them seem likely candidates. I can have another look with the setup that failed, but that won't be until the new year, I'm afraid. thanks -- PMM
© 2016 - 2024 Red Hat, Inc.