The following changes since commit 28db64fce555a03b4ca256d5b6f4290abdfbd9e8:
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging (2020-01-31 17:37:00 +0000) are available in the Git repository at: git://github.com/dgibson/qemu.git tags/ppc-for-5.0-20200203 for you to fetch changes up to 63d57c8f91d0d0e62fc4d91db6340a662b36a3c0: tests: Silence various warnings with pseries (2020-02-03 11:33:11 +1100) ---------------------------------------------------------------- ppc patch queue 2020-02093 This pull request supersedes ppc-for-5.0-20200131. The only changes are one extra patch to suppress some irritating warnings during tests under TCG, and an extra Tested-by in one of the other patches. Here's the next batch of patches for ppc and associated machine types. Highlights includes: * Remove the deprecated "prep" machine type and its OpenHackware firmware * Add TCG emulation of the msgsndp etc. supervisor privileged doorbell instructions * Allow "pnv" machine type to run Hostboot style firmwares * Add a virtual TPM device for spapr machines * Implement devices for POWER8 PHB3 and POWER9 PHB4 host bridges for the pnv machine type * Use faster Spectre mitigation by default for POWER9 DD2.3 machines * Introduce Firmware Assisted NMI dump facility for spapr machines * Fix a performance regression with load/store multiple instructions in TCG as well as some other assorted cleanups and fixes. ---------------------------------------------------------------- Aravinda Prasad (7): Wrapper function to wait on condition for the main loop mutex ppc: spapr: Introduce FWNMI capability target/ppc: Handle NMI guest exit target/ppc: Build rtas error log upon an MCE ppc: spapr: Handle "ibm,nmi-register" and "ibm,nmi-interlock" RTAS calls migration: Include migration support for machine check handling ppc: spapr: Activate the FWNMI functionality BALATON Zoltan (1): target/ppc/cpu.h: Put macro parameter in parentheses Benjamin Herrenschmidt (1): ppc/pnv: Add models for POWER9 PHB4 PCIe Host bridge Cédric Le Goater (9): ppc/pnv: use QEMU unit definition MiB ppc/pnv: improve error logging when a PNOR update fails target/ppc: Add privileged message send facilities target/ppc: add support for Hypervisor Facility Unavailable Exception ppc/pnv: Add support for HRMOR on Radix host ppc/pnv: remove useless "core-pir" property alias. ppc/pnv: Add support for "hostboot" mode ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge ppc/pnv: change the PowerNV machine devices to be non user creatable David Gibson (1): spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine Fabiano Rosas (1): target/ppc: Clarify the meaning of return values in kvm_handle_debug Greg Kurz (3): spapr: Fail CAS if option vector table cannot be parsed spapr: Don't allow multiple active vCPUs at CAS tests: Silence various warnings with pseries Igor Mammedov (1): ppc:virtex_ml507: remove unused arguments Marc-André Lureau (1): docs/specs/tpm: reST-ify TPM documentation Richard Henderson (4): target/ppc: Use probe_access for LSW, STSW target/ppc: Use probe_access for LMW, STMW target/ppc: Remove redundant mask in DCBZ target/ppc: Use probe_write for DCBZ Stefan Berger (5): tpm: Move tpm_tis_show_buffer to tpm_util.c spapr: Implement get_dt_compatible() callback tpm_spapr: Support TPM for ppc64 using CRQ based interface tpm_spapr: Support suspend and resume hw/ppc/Kconfig: Enable TPM_SPAPR as part of PSERIES config Thomas Huth (1): hw/ppc/prep: Remove the deprecated "prep" machine and the OpenHackware BIOS .gitmodules | 3 - MAINTAINERS | 1 - Makefile | 2 +- cpus.c | 5 + docs/interop/firmware.json | 3 +- docs/specs/index.rst | 1 + docs/specs/tpm.rst | 503 ++++++++++++ docs/specs/tpm.txt | 427 ----------- hw/intc/xics.c | 14 +- hw/pci-host/Makefile.objs | 2 + hw/pci-host/pnv_phb3.c | 1197 +++++++++++++++++++++++++++++ hw/pci-host/pnv_phb3_msi.c | 349 +++++++++ hw/pci-host/pnv_phb3_pbcq.c | 358 +++++++++ hw/pci-host/pnv_phb4.c | 1439 +++++++++++++++++++++++++++++++++++ hw/pci-host/pnv_phb4_pec.c | 595 +++++++++++++++ hw/ppc/Kconfig | 2 + hw/ppc/pnv.c | 204 ++++- hw/ppc/pnv_core.c | 33 +- hw/ppc/pnv_homer.c | 1 + hw/ppc/pnv_lpc.c | 6 +- hw/ppc/pnv_occ.c | 1 + hw/ppc/pnv_pnor.c | 6 +- hw/ppc/ppc.c | 18 - hw/ppc/prep.c | 384 +--------- hw/ppc/spapr.c | 63 +- hw/ppc/spapr_caps.c | 49 +- hw/ppc/spapr_events.c | 269 +++++++ hw/ppc/spapr_hcall.c | 20 + hw/ppc/spapr_rtas.c | 87 +++ hw/ppc/spapr_vio.c | 11 +- hw/ppc/virtex_ml507.c | 7 +- hw/tpm/Kconfig | 6 + hw/tpm/Makefile.objs | 1 + hw/tpm/tpm_spapr.c | 429 +++++++++++ hw/tpm/tpm_tis.c | 32 +- hw/tpm/tpm_util.c | 25 + hw/tpm/tpm_util.h | 3 + hw/tpm/trace-events | 16 +- include/hw/pci-host/pnv_phb3.h | 164 ++++ include/hw/pci-host/pnv_phb3_regs.h | 450 +++++++++++ include/hw/pci-host/pnv_phb4.h | 230 ++++++ include/hw/pci-host/pnv_phb4_regs.h | 553 ++++++++++++++ include/hw/pci/pcie_port.h | 1 + include/hw/ppc/pnv.h | 13 + include/hw/ppc/pnv_core.h | 1 + include/hw/ppc/pnv_xscom.h | 20 + include/hw/ppc/ppc.h | 1 - include/hw/ppc/spapr.h | 25 +- include/hw/ppc/spapr_vio.h | 1 + include/hw/ppc/xics.h | 5 + include/qemu/main-loop.h | 8 + include/sysemu/tpm.h | 3 + pc-bios/README | 3 - pc-bios/ppc_rom.bin | Bin 1048576 -> 0 bytes qapi/tpm.json | 6 +- qemu-deprecated.texi | 6 - qemu-doc.texi | 15 +- roms/openhackware | 1 - target/ppc/cpu.h | 8 +- target/ppc/excp_helper.c | 79 +- target/ppc/helper.h | 4 + target/ppc/kvm.c | 43 +- target/ppc/kvm_ppc.h | 8 + target/ppc/mem_helper.c | 197 ++++- target/ppc/misc_helper.c | 63 ++ target/ppc/mmu-radix64.c | 6 + target/ppc/trace-events | 1 + target/ppc/translate.c | 26 + target/ppc/translate_init.inc.c | 20 +- tests/qtest/boot-order-test.c | 25 - tests/qtest/boot-serial-test.c | 3 +- tests/qtest/cdrom-test.c | 2 +- tests/qtest/endianness-test.c | 2 +- tests/qtest/libqos/libqos-spapr.h | 8 + tests/qtest/prom-env-test.c | 3 +- tests/qtest/pxe-test.c | 7 +- 76 files changed, 7565 insertions(+), 1018 deletions(-) create mode 100644 docs/specs/tpm.rst delete mode 100644 docs/specs/tpm.txt create mode 100644 hw/pci-host/pnv_phb3.c create mode 100644 hw/pci-host/pnv_phb3_msi.c create mode 100644 hw/pci-host/pnv_phb3_pbcq.c create mode 100644 hw/pci-host/pnv_phb4.c create mode 100644 hw/pci-host/pnv_phb4_pec.c create mode 100644 hw/tpm/tpm_spapr.c create mode 100644 include/hw/pci-host/pnv_phb3.h create mode 100644 include/hw/pci-host/pnv_phb3_regs.h create mode 100644 include/hw/pci-host/pnv_phb4.h create mode 100644 include/hw/pci-host/pnv_phb4_regs.h delete mode 100644 pc-bios/ppc_rom.bin delete mode 160000 roms/openhackware